mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-10 01:37:29 +00:00
Merge pull request #848 from ViBiOh/patch-1
Exclude deleted resources on prometheus alerting query
This commit is contained in:
commit
27d1833854
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ groups:
|
|||
- name: GitOpsToolkit
|
||||
rules:
|
||||
- alert: ReconciliationFailure
|
||||
expr: gotk_reconcile_condition{type="Ready",status="False"} == 1
|
||||
expr: max(gotk_reconcile_condition{status="False",type="Ready"}) by (namespace, name, kind) + on(namespace, name, kind) (max(gotk_reconcile_condition{status="Deleted"}) by (namespace, name, kind)) * 2 == 1
|
||||
for: 10m
|
||||
labels:
|
||||
severity: page
|
||||
|
|
|
|||
Loading…
Reference in a new issue