alertmanager pain
This commit is contained in:
parent
62ad1df154
commit
c0241036c6
8 changed files with 413 additions and 94 deletions
|
@ -0,0 +1,15 @@
|
|||
# wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/master/dist/rules/grafana-alloy/embedded-exporter.yml
|
||||
groups:
|
||||
|
||||
- name: EmbeddedExporter
|
||||
|
||||
rules:
|
||||
|
||||
- alert: GrafanaAlloyServiceDown
|
||||
expr: 'count by (instance) (alloy_build_info) unless count by (instance) (alloy_build_info offset 2m) '
|
||||
for: 0m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: Grafana Alloy service down (instance {{ $labels.instance }})
|
||||
description: "Alloy on (instance {{ $labels.instance }}) is not responding or has stopped running.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
Loading…
Add table
Add a link
Reference in a new issue