Skip to content

Commit

Permalink
fix failed system tasks alert rule
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Nov 13, 2024
1 parent cae41c7 commit 418e5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/authentik/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ spec:
- alert: FailedSystemTasks
labels:
severity: critical
expr: sum(increase(authentik_system_tasks{status="error"}[2h])) > 0
expr: sum(increase(authentik_system_tasks{status="error"}[2h])) by (task_name, task_uid) > 0
for: 2h
annotations:
{{`
summary: Failed system tasks
message: System task {{ $labels.task_name }} has failed
message: System task {{ $labels.task_name }}:{{ $labels.task_uid }} has failed
`}}
- alert: DisconnectedOutposts
Expand Down

0 comments on commit 418e5de

Please sign in to comment.