Skip to content
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

Merged
merged 3 commits into from
Jun 18, 2018
Merged

Basic cron job alerts. #32

merged 3 commits into from
Jun 18, 2018

Conversation

tomwilkie
Copy link
Member

Part of #24; haven't tried the more advanced alerts mentioned in the blog yet.

Signed-off-by: Tom Wilkie [email protected]

@tomwilkie
Copy link
Member Author

/cc @StevenACoffman

@StevenACoffman
Copy link
Contributor

StevenACoffman commented Jun 17, 2018

For other people's reference, this is the blog article and the rules are here in this repository

@StevenACoffman
Copy link
Contributor

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.

Copy link
Member

@brancz brancz left a 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.

severity: 'warning',
},
annotations: {
description: 'CronJob {{ $labels.namespaces }}/{{ $labels.cronjob }} is taking more than 1h to complete.',
Copy link
Member

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.

Copy link
Member Author

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]>
@tomwilkie tomwilkie merged commit 5dd0f7c into master Jun 18, 2018
@tomwilkie tomwilkie deleted the cronjobs branch June 18, 2018 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants