-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic cron job alerts. #32
Conversation
/cc @StevenACoffman |
For other people's reference, this is the blog article and the rules are here in this repository |
Nice. This might be a good opportunity to add descriptions of these to the runbook page and link them, if it's convenient. Otherwise, we don't need to hold this up waiting for perfection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment, the expressions otherwise look good.
alerts/apps_alerts.libsonnet
Outdated
severity: 'warning', | ||
}, | ||
annotations: { | ||
description: 'CronJob {{ $labels.namespaces }}/{{ $labels.cronjob }} is taking more than 1h to complete.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use message
everywhere else, either we make this configurable in the first place or just stick with message
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah lets stick with message for now, this was a mistake.
Signed-off-by: Tom Wilkie <[email protected]>
Signed-off-by: Tom Wilkie <[email protected]>
Signed-off-by: Tom Wilkie <[email protected]>
Part of #24; haven't tried the more advanced alerts mentioned in the blog yet.
Signed-off-by: Tom Wilkie [email protected]