mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 03:17:07 +08:00
Query fails if instance names are not unique across jobs. This fixes it.
This commit is contained in:
parent
51d0484bb4
commit
54e2b09b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ groups:
|
|||
severity: critical
|
||||
- name: Prometheus target missing with warmup time
|
||||
description: Allow a job time to start up (10 minutes) before alerting that it's down.
|
||||
query: "sum by (instance, job) ((up == 0) * on (instance) group_right(job) (node_time_seconds - node_boot_time_seconds > 600))"
|
||||
query: "sum by (instance, job) ((up == 0) * on (instance) group_left (__name__) (node_time_seconds - node_boot_time_seconds > 600))"
|
||||
severity: critical
|
||||
- name: Prometheus configuration reload failure
|
||||
description: Prometheus configuration reload error
|
||||
|
|
|
|||
Loading…
Reference in a new issue