feat: deploys kube-prometheus with discord alert receiver

This commit is contained in:
2025-06-20 15:48:54 -04:00
committed by tahahawa
parent b1755c183d
commit 2cb95151ae
8 changed files with 151 additions and 66 deletions

View File

@@ -12,7 +12,7 @@ use harmony::{
async fn main() {
let discord_receiver = DiscordWebhook {
name: "test-discord".to_string(),
url: Url::Url(url::Url::parse("https://discord.i.dont.exist.com").unwrap()),
url: Url::Url(url::Url::parse("discord.doesnt.exist.com").unwrap()),
};
let alerting_score = HelmPrometheusAlertingScore {
receivers: vec![Box::new(discord_receiver)],