Skip to content

feat: add failure_issue_threshold and recovery_threshold to cron monitor config - #3086

Open
niukanen1 wants to merge 1 commit into
getsentry:masterfrom
niukanen1:feat/cron-tolerances
Open

niukanen1 wants to merge 1 commit into
getsentry:masterfrom
niukanen1:feat/cron-tolerances

Conversation

@niukanen1

Copy link
Copy Markdown

Adds failure_issue_threshold and recovery_threshold to Cron::MonitorConfig, settable per monitor or globally through config.cron.default_failure_issue_threshold / default_recovery_threshold

Field names follow the Sentry API and the other SDKs (sentry-python MonitorConfig, sentry-javascript checkin.ts)

Fixes #2668

Tested with rspec spec/sentry/cron/: 41 examples, 0 failures

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.

Support setting cron monitor tolerances

1 participant