Created
November 25, 2020 16:30
-
-
Save iamsudip/dc32387c73279ae30dec0667dbc2e477 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- alert: CronJobStatusFailed | |
expr: | | |
job_cronjob:kube_job_status_failed:sum | |
* ON(cronjob) GROUP_RIGHT() | |
kube_cronjob_labels | |
> 0 | |
for: 1m | |
annotations: | |
description: '{{ $labels.cronjob }} last run has failed {{$value }} times.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment