mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
Update rules.yml
This commit is contained in:
parent
67cf6892a4
commit
4b1b8242cb
1 changed files with 1 additions and 1 deletions
|
|
@ -2201,7 +2201,7 @@ groups:
|
|||
- name: Kubernetes CronJob too long
|
||||
summary: Kubernetes CronJob too long ({{ $labels.namespace }}/{{ $labels.cronjob }})
|
||||
description: CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is taking more than 1h to complete.
|
||||
query: "time() - kube_cronjob_next_schedule_time > 3600"
|
||||
query: "kube_job_status_start_time > 0 and absent(kube_job_status_completion_time) and (time() - kube_job_status_start_time) > 3600"
|
||||
severity: warning
|
||||
comments: |
|
||||
Threshold should be customized for each cronjob name.
|
||||
|
|
|
|||
Loading…
Reference in a new issue