This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix/msp/jobs: do not provision job absence alert for crons over 23h30m (
#64502) Closes https://linear.app/sourcegraph/issue/CORE-237/error-creating-alertpolicy-with-an-invalid-duration-value-of-24h10m GCP no longer allows alert policies on missing metrics for durations > 23h30m. Since the introduction of the MSP job runtime, jobs can depend on Sentry execution check-ins instead to be notified on missing job runs. ## Test plan ``` go build -o ./sg ./dev/sg && ./sg install -f -p=false sg msp generate -all ```
- Loading branch information
Showing
2 changed files
with
38 additions
and
25 deletions.
There are no files selected for viewing
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
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