mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 17:37:19 +08:00
Publish
This commit is contained in:
parent
b49a49c920
commit
f217fabb69
1 changed files with 9 additions and 0 deletions
|
|
@ -237,3 +237,12 @@ groups:
|
||||||
annotations:
|
annotations:
|
||||||
summary: Prometheus TSDB WAL truncations failed (instance {{ $labels.instance }})
|
summary: Prometheus TSDB WAL truncations failed (instance {{ $labels.instance }})
|
||||||
description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
|
- alert: PrometheusTimeserieCardinality
|
||||||
|
expr: 'label_replace(count by(__name__) ({__name__=~".+"}), "name", "$1", "__name__", "(.+)") > 10000'
|
||||||
|
for: 0m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: Prometheus timeserie cardinality (instance {{ $labels.instance }})
|
||||||
|
description: "The \"{{ $label.name }}\" timeserie cardinality is getting very high: {{ $value }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue