Browse Source

Merge branch 'main' into export-labelsToLabelsProto

pull/14316/head
Marco Pracucci 5 months ago committed by GitHub
parent
commit
b6dc9c1817
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      documentation/prometheus-mixin/alerts.libsonnet

14
documentation/prometheus-mixin/alerts.libsonnet

@ -34,6 +34,20 @@
description: 'Prometheus %(prometheusName)s has failed to refresh SD with mechanism {{$labels.mechanism}}.' % $._config,
},
},
{
alert: 'PrometheusKubernetesListWatchFailures',
expr: |||
increase(prometheus_sd_kubernetes_failures_total{%(prometheusSelector)s}[5m]) > 0
||| % $._config,
'for': '15m',
labels: {
severity: 'warning',
},
annotations: {
summary: 'Requests in Kubernetes SD are failing.',
description: 'Kubernetes service discovery of Prometheus %(prometheusName)s is experiencing {{ printf "%%.0f" $value }} failures with LIST/WATCH requests to the Kubernetes API in the last 5 minutes.' % $._config,
},
},
{
alert: 'PrometheusNotificationQueueRunningFull',
expr: |||

Loading…
Cancel
Save