You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: cortex-mixin/docs/playbooks.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Playbooks
2
2
3
-
This document contains playbooks, or at least a checklist of what to look for, for alerts in the cortex-mixin. This document assumes that you are running a Cortex cluster:
3
+
This document contains playbooks, or at least a checklist of what to look for, for alerts in the cortex-mixin and logs from Cortex. This document assumes that you are running a Cortex cluster:
4
4
5
5
1. Using this mixin config
6
6
2. Using GCS as object store (but similar procedures apply to other backends)
@@ -362,3 +362,14 @@ A PVC can be manually deleted by an operator. When a PVC claim is deleted, what
362
362
363
363
- `Retain`: the volume will not be deleted until the PV resource will be manually deleted from Kubernetes
364
364
- `Delete`: the volume will be automatically deleted
365
+
366
+
367
+
## Log lines
368
+
369
+
### Log line containing 'sample with repeated timestamp but different value'
370
+
371
+
This means a sample with the same timestamp as the latest one was received with a different value. The number of occurrences is recorded in the `cortex_discarded_samples_total` metric with the label `reason="new-value-for-timestamp"`.
372
+
373
+
Possible reasons for this are:
374
+
- Incorrect relabelling rules can cause a label to be dropped from a series so that multiple series have the same labels. If these series were collected from the same target they will have the same timestamp.
375
+
- The exporter being scraped sets the same timestamp on every scrape. Note that exporters should generally not set timestamps.
0 commit comments