Skip to content
Snippets Groups Projects
Commit 2c10f811 authored by Sébastien GLON's avatar Sébastien GLON Committed by Giancarlo Rubio
Browse files

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

parent 22513e04
Branches
No related tags found
No related merge requests found
...@@ -90,3 +90,12 @@ groups: ...@@ -90,3 +90,12 @@ groups:
annotations: annotations:
description: "Prometheus {{ $labels.namespace }}/{{ $labels.pod}} isn't ingesting samples." description: "Prometheus {{ $labels.namespace }}/{{ $labels.pod}} isn't ingesting samples."
summary: "Prometheus 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
...@@ -634,3 +634,12 @@ data: ...@@ -634,3 +634,12 @@ data:
annotations: annotations:
description: "Prometheus {{ $labels.namespace }}/{{ $labels.pod}} isn't ingesting samples." description: "Prometheus {{ $labels.namespace }}/{{ $labels.pod}} isn't ingesting samples."
summary: "Prometheus 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment