Skip to content

Commit

Permalink
Add hostname to generic prometheus exporter alert
Browse files Browse the repository at this point in the history
  • Loading branch information
daaang committed Jan 26, 2024
1 parent 6c0603f commit 1961344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/profile/prometheus/rules.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ groups:
severity: page
- alert: PrometheusExporterDown
annotations:
summary: '{{$labels.job}} exporter isn''t responding to Prometheus.'
summary: '{{$labels.hostname}} {{$labels.job}} exporter isn''t responding to Prometheus.'
expr: 'up{job!="node"} == 0'
for: 30m
labels:
Expand Down

0 comments on commit 1961344

Please sign in to comment.