diff --git a/charts/authentik/templates/prometheusrule.yaml b/charts/authentik/templates/prometheusrule.yaml index 1059fa6..3815674 100644 --- a/charts/authentik/templates/prometheusrule.yaml +++ b/charts/authentik/templates/prometheusrule.yaml @@ -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