getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
36.96k stars 3.97k forks source link

feat(crons): Add broken monitor recovery event #69259

Closed davidenwang closed 1 week ago

davidenwang commented 1 week ago

Add a new analytic event that is meant to track the case in which a user received a broken cron detection and then recovered their monitor status

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.71%. Comparing base (fcacb0a) to head (bf91420). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #69259 +/- ## =========================================== + Coverage 58.24% 79.71% +21.47% =========================================== Files 6421 6431 +10 Lines 285564 285943 +379 Branches 49240 49291 +51 =========================================== + Hits 166314 227929 +61615 + Misses 118808 57577 -61231 + Partials 442 437 -5 ``` | [Files](https://app.codecov.io/gh/getsentry/sentry/pull/69259?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) | Coverage Δ | | |---|---|---| | [src/sentry/analytics/events/\_\_init\_\_.py](https://app.codecov.io/gh/getsentry/sentry/pull/69259?src=pr&el=tree&filepath=src%2Fsentry%2Fanalytics%2Fevents%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-c3JjL3NlbnRyeS9hbmFseXRpY3MvZXZlbnRzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [...tics/events/cron\_monitor\_broken\_status\_recovery.py](https://app.codecov.io/gh/getsentry/sentry/pull/69259?src=pr&el=tree&filepath=src%2Fsentry%2Fanalytics%2Fevents%2Fcron_monitor_broken_status_recovery.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-c3JjL3NlbnRyeS9hbmFseXRpY3MvZXZlbnRzL2Nyb25fbW9uaXRvcl9icm9rZW5fc3RhdHVzX3JlY292ZXJ5LnB5) | `100.00% <100.00%> (ø)` | | ... and [1911 files with indirect coverage changes](https://app.codecov.io/gh/getsentry/sentry/pull/69259/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry)