Skip to content

Add configurable Cloud Run Job failure alert policy #747

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rawlingsj
Copy link
Member

This commit adds a new optional alert policy for Cloud Run Jobs that triggers when job executions fail. Key changes:

  • Added failure_alert_enabled variable (defaults to false)
  • Added configuration variables for alignment period and duration
  • Uses condition_threshold for immediate alerting on failures
  • Keeps existing success alert policy unchanged

The failure alert is opt-in and complements the existing success alert by providing immediate notification when jobs fail rather than waiting for expected successes.

@rawlingsj
Copy link
Member Author

Marked as draft to gather some feedback and while I test

This commit adds a new optional alert policy for Cloud Run Jobs that triggers when
job executions fail. Key changes:

- Added failure_alert_enabled variable (defaults to false)
- Added configuration variables for alignment period and duration
- Uses condition_threshold for immediate alerting on failures
- Keeps existing success alert policy unchanged

The failure alert is opt-in and complements the existing success alert by providing
immediate notification when jobs fail rather than waiting for expected successes.

Signed-off-by: rawlingsj <[email protected]>
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.

1 participant