Add new alert for samples rejected due ti duplicate timestamp (#1148)

Signed-off-by: Sébastien GLON <sebastien.glon@akeneo.com>
This commit is contained in:
Sébastien GLON
2018-03-26 18:11:40 +02:00
committed by Giancarlo Rubio
parent 22513e0475
commit 2c10f81102
2 changed files with 18 additions and 0 deletions

View File

@@ -634,3 +634,12 @@ data:
annotations:
description: "Prometheus {{ $labels.namespace }}/{{ $labels.pod}} isn't ingesting samples."
summary: "Prometheus isn't ingesting samples"
- alert: PrometheusTargetScapesDuplicate
expr: increase(prometheus_target_scrapes_sample_duplicate_timestamp_total[5m]) > 0
for: 10m
labels:
severity: warning
annotations:
description: "{{$labels.namespace}}/{{$labels.pod}} has many samples rejected due to duplicate timestamps but different values"
summary: Prometheus has many samples rejected