This commit is contained in:
parent
9f0c276240
commit
a4c703b185
2 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
global:
|
global:
|
||||||
scrape_interval: 60s
|
scrape_interval: 60s
|
||||||
scrape_timeout: 10s
|
scrape_timeout: 15s
|
||||||
evaluation_interval: 15s
|
evaluation_interval: 30s
|
||||||
|
|
||||||
alerting:
|
alerting:
|
||||||
alertmanagers:
|
alertmanagers:
|
||||||
- scheme: http
|
- scheme: http
|
||||||
timeout: 10s
|
timeout: 15s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- "alertmanager:9093"
|
- "alertmanager:9093"
|
||||||
|
|
|
@ -627,7 +627,7 @@ groups:
|
||||||
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 }}"
|
description: "Prometheus encountered {{ $value }} TSDB WAL truncation failures\n VALUE = {{ $value }}"
|
||||||
- alert: PrometheusTimeseriesCardinality
|
- alert: PrometheusTimeseriesCardinality
|
||||||
expr: label_replace(count by(__name__) ({__name__=~".+"}), "name", "$1", "__name__", "(.+)") > 15000
|
expr: label_replace(count by(__name__) ({__name__=~".+"}), "name", "$1", "__name__", "(.+)") > 20000
|
||||||
for: 0m
|
for: 0m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue