You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The failure_issue_threshold does not take effect #12217
I would expect the failure issue threshold to be 2.
On a side note, I would expect the failure_issue_threshold key to be named failureIssueThreshold instead, to be consistent with the other keys, like checkinMargin and maxRuntime.
Actual Result
The "failure tolerance" setting in the UI remains 1 (the default):
Activity
AbhiPrasad commentedon May 24, 2024
@WesCossick - we aren't passing this in properly 🤦
I'll make a PR to fix this! Sorry for the trouble - thank you for reporting!
AbhiPrasad commentedon May 27, 2024
Opened #12248 to fix, and getsentry/sentry-docs#10168 to document this.
fix(core): Pass in cron monitor config correctly (#12248)
AbhiPrasad commentedon May 29, 2024
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/8.7.0!
New options:
failureIssueThreshold:requires SDK version
8.7.0or higherThe number of consecutive failed check-ins required before an issue can be created. Optional.
recoveryThreshold:requires SDK version
8.7.0or higherThe number of consecutive successful check-ins required for an issue to be considered resolved. Optional.
WesCossick commentedon May 29, 2024
Thanks for the quick fix!