From a0c32093cb6cf7a2b9e0b845d43341c46d1a64c3 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Sun, 4 Dec 2022 23:12:00 +0100 Subject: [PATCH] oops --- _data/rules.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_data/rules.yml b/_data/rules.yml index 654423e..f5647d4 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -1743,6 +1743,8 @@ groups: description: CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is taking more than 1h to complete. query: 'time() - kube_cronjob_next_schedule_time > 3600' severity: warning + comments: | + Threshold should be customized for each cronjob name. - name: Kubernetes job slow completion description: Kubernetes Job {{ $labels.namespace }}/{{ $labels.job_name }} did not complete in time. query: 'kube_job_spec_completions - kube_job_status_succeeded > 0'