Skip to content
Snippets Groups Projects
Commit 407aaa5e authored by Matthias Loibl's avatar Matthias Loibl
Browse files

contrib/kube-prometheus: Alert in 10% erros when reconciling Prom & Alertmanager

parent 8965c3e7
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{ {
alert: 'PrometheusOperatorAlertmanagerReconcileErrors', alert: 'PrometheusOperatorAlertmanagerReconcileErrors',
expr: ||| expr: |||
rate(prometheus_operator_alertmanager_reconcile_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.01 rate(prometheus_operator_alertmanager_reconcile_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.1
||| % $._config, ||| % $._config,
labels: { labels: {
severity: 'warning', severity: 'warning',
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{ {
alert: 'PrometheusOperatorPrometheusReconcileErrors', alert: 'PrometheusOperatorPrometheusReconcileErrors',
expr: ||| expr: |||
rate(prometheus_operator_prometheus_reconcile_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.01 rate(prometheus_operator_prometheus_reconcile_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.1
||| % $._config, ||| % $._config,
labels: { labels: {
severity: 'warning', severity: 'warning',
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
{ {
alert: 'PrometheusOperatorNodeLookupErrors', alert: 'PrometheusOperatorNodeLookupErrors',
expr: ||| expr: |||
rate(prometheus_operator_node_address_lookup_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.01 rate(prometheus_operator_node_address_lookup_errors_total{%(prometheusOperatorSelector)s}[5m]) > 0.1
||| % $._config, ||| % $._config,
labels: { labels: {
severity: 'warning', severity: 'warning',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment