Skip to content

Conversation

jwbron
Copy link
Contributor

@jwbron jwbron commented Aug 21, 2025

Summary:

This PR adds comprehensive Slack alerting functionality to the scheduled-job module. The alerting system uses Google Cloud Monitoring's native Slack webhook integration to send notifications when jobs fail.

Key features:

  • Slack alerting enabled by default for all scheduled jobs
  • Monitors Cloud Function failures, Cloud Run Job failures, and Cloud Scheduler failures
  • Uses native Google Cloud Monitoring Slack webhook integration (no custom functions needed)
  • Default channel set to #1s-and-0s
  • Configurable webhook URL and channel
  • Optional separate project for alerting resources
  • Comprehensive monitoring policies for different failure scenarios

Issue: INFRA-10729

Test plan:

  • Deploy the culture-cron with alerting enabled
  • Verify monitoring policies are created in Google Cloud Console
  • Test by simulating a job failure and confirming Slack notifications are received

@jwbron jwbron self-assigned this Aug 21, 2025
@jwbron jwbron force-pushed the scheduled-job-alerts branch from 9ad7064 to 49f84d2 Compare August 21, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant