use harmony::{ inventory::Inventory, modules::monitoring::{ alert_channel::discord_alert_channel::DiscordWebhook, okd::cluster_monitoring::OpenshiftClusterAlertScore, }, topology::K8sAnywhereTopology, }; use harmony_macros::hurl; #[tokio::main] async fn main() { harmony_cli::run( Inventory::autoload(), K8sAnywhereTopology::from_env(), vec![Box::new(OpenshiftClusterAlertScore { receivers: vec![Box::new(DiscordWebhook { name: "discord-webhook-example".to_string(), url: hurl!("http://something.o"), })], })], None, ) .await .unwrap(); }