feat/monitoring_alerting #61
| @ -2,10 +2,7 @@ use harmony::{ | |||||||
|     data::Version, |     data::Version, | ||||||
|     inventory::Inventory, |     inventory::Inventory, | ||||||
|     maestro::Maestro, |     maestro::Maestro, | ||||||
|     modules::{ |     modules::lamp::{LAMPConfig, LAMPScore}, | ||||||
|         lamp::{LAMPConfig, LAMPScore}, |  | ||||||
|         monitoring::monitoring_alerting::MonitoringAlertingStackScore, |  | ||||||
|     }, |  | ||||||
|     topology::{K8sAnywhereTopology, Url}, |     topology::{K8sAnywhereTopology, Url}, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| @ -43,10 +40,7 @@ async fn main() { | |||||||
|     .await |     .await | ||||||
|     .unwrap(); |     .unwrap(); | ||||||
| 
 | 
 | ||||||
|     let mut monitoring_stack_score = MonitoringAlertingStackScore::new(); |     maestro.register_all(vec![Box::new(lamp_stack)]); | ||||||
|     monitoring_stack_score.namespace = Some(lamp_stack.config.namespace.clone()); |  | ||||||
| 
 |  | ||||||
|     maestro.register_all(vec![Box::new(lamp_stack), Box::new(monitoring_stack_score)]); |  | ||||||
|     // Here we bootstrap the CLI, this gives some nice features if you need them
 |     // Here we bootstrap the CLI, this gives some nice features if you need them
 | ||||||
|     harmony_cli::init(maestro, None).await.unwrap(); |     harmony_cli::init(maestro, None).await.unwrap(); | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,6 +1,5 @@ | |||||||
| use harmony::{ | use harmony::{ | ||||||
|     inventory::Inventory, |     inventory::Inventory, maestro::Maestro, | ||||||
|     maestro::Maestro, |  | ||||||
|     modules::monitoring::monitoring_alerting::MonitoringAlertingScore, |     modules::monitoring::monitoring_alerting::MonitoringAlertingScore, | ||||||
|     topology::K8sAnywhereTopology, |     topology::K8sAnywhereTopology, | ||||||
| }; | }; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user