Kubernetes CronJob too long warning
CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is taking more than 1h to complete.
>>>
> 0 and
absent
(
) and (
time
() -
) > 3600
The alert fires when a CronJob has a Job with kube_job_status_start_time > 0, no kube_job_status_completion_time (i.e., the Job is still running), and the elapsed time (time() - kube_job_status_start_time) exceeds 3600 seconds (1 hour). In that case the CronJob is considered to be taking too long.
Get Alert✕
Download
Copy to Clipboard