From d91bd710d5651f5ad10763183a30be132f16d632 Mon Sep 17 00:00:00 2001 From: grzegorz-ciezkowski Date: Mon, 25 Nov 2024 14:46:54 +0100 Subject: [PATCH] feat(plugins) Show alert in 15 minutes (#439) --- charts/manager/alerts/operator.alerts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/manager/alerts/operator.alerts b/charts/manager/alerts/operator.alerts index 0c711d83..d5544fa3 100644 --- a/charts/manager/alerts/operator.alerts +++ b/charts/manager/alerts/operator.alerts @@ -74,10 +74,10 @@ groups: expr: greenhouse_cluster_k8s_versions_total{version=~"v1\\.(1[0-9]|2[0-1])\\..*"} == 1 labels: severity: warning - - alert: GreenhousePluginTooManyErrors + - alert: GreenhousePluginHasErrors annotations: - summary: "Plugin has too mane errors" + summary: "Plugin has errors" description: "Plugin {{ $labels.plugin }} in organization {{ $labels.organization }} has more then 10 errors" - expr: increase(greenhouse_plugin_reconcile_total{result="error"}[1h] > 10) by (plugin, organization) + expr: increase(greenhouse_plugin_reconcile_total{result="error"}[15m] > 0) by (plugin, organization) labels: severity: warning \ No newline at end of file