awesome-prometheus-alerts/dist/rules/thanos/embedded-exporter.yml
Samuel Berthe ccf24bcf03 Publish
2022-06-15 00:08:51 +00:00

32 lines
1.2 KiB
YAML

groups:
- name: EmbeddedExporter
rules:
- alert: ThanosCompactionHalted
expr: 'thanos_compact_halted == 1'
for: 0m
labels:
severity: critical
annotations:
summary: Thanos compaction halted (instance {{ $labels.instance }})
description: "Thanos compaction has failed to run and is now halted.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: ThanosCompactBucketOperationFailure
expr: 'rate(thanos_objstore_bucket_operation_failures_total[1m]) > 0'
for: 0m
labels:
severity: critical
annotations:
summary: Thanos compact bucket operation failure (instance {{ $labels.instance }})
description: "Thanos compaction has failing storage operations\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: ThanosCompactNotRun
expr: '(time() - thanos_objstore_bucket_last_successful_upload_time) > 24*60*60'
for: 0m
labels:
severity: critical
annotations:
summary: Thanos compact not run (instance {{ $labels.instance }})
description: "Thanos compaction has not run in 24 hours.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"