|
|
|
@ -267,9 +267,9 @@
|
|
|
|
|
alert: 'PrometheusErrorSendingAlertsToAnyAlertmanager', |
|
|
|
|
expr: ||| |
|
|
|
|
min without (alertmanager) ( |
|
|
|
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m]) |
|
|
|
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s,alertmanager!~`%(nonNotifyingAlertmanagerRegEx)s`}[5m]) |
|
|
|
|
/ |
|
|
|
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m]) |
|
|
|
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s,alertmanager!~`%(nonNotifyingAlertmanagerRegEx)s`}[5m]) |
|
|
|
|
) |
|
|
|
|
* 100 |
|
|
|
|
> 3 |
|
|
|
@ -289,9 +289,9 @@
|
|
|
|
|
alert: 'PrometheusErrorSendingAlertsToAnyAlertmanager', |
|
|
|
|
expr: ||| |
|
|
|
|
min by (%(prometheusHAGroupLabels)s) ( |
|
|
|
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s}[5m]) |
|
|
|
|
rate(prometheus_notifications_errors_total{%(prometheusSelector)s,alertmanager!~`%(nonNotifyingAlertmanagerRegEx)s`}[5m]) |
|
|
|
|
/ |
|
|
|
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s}[5m]) |
|
|
|
|
rate(prometheus_notifications_sent_total{%(prometheusSelector)s,alertmanager!~`%(nonNotifyingAlertmanagerRegEx)s`}[5m]) |
|
|
|
|
) |
|
|
|
|
* 100 |
|
|
|
|
> 3 |
|
|
|
|