Skip to content

feat(statistical-detectors): Integrate detector with breakpoint detection #56384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Zylphrex
Copy link
Member

Using the filtered list of project + functions, we now want to apply breakpoint detection to validate the regression. If there is a recent regression in the timeseries, these are what's seen as a regressed function.

…tion

Using the filtered list of project + functions, we now want to apply breakpoint
detection to validate the regression. If there is a recent regression in the
timeseries, these are what's seen as a regressed function.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 18, 2023
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Merging #56384 (cf42f9f) into master (f1361a8) will increase coverage by 0.00%.
Report is 70 commits behind head on master.
The diff coverage is 94.73%.

❗ Current head cf42f9f differs from pull request most recent head dd457ca. Consider uploading reports for the commit dd457ca to get more accurate results

@@           Coverage Diff            @@
##           master   #56384    +/-   ##
========================================
  Coverage   78.64%   78.64%            
========================================
  Files        5075     5078     +3     
  Lines      218067   218396   +329     
  Branches    36905    36970    +65     
========================================
+ Hits       171490   171751   +261     
- Misses      41044    41100    +56     
- Partials     5533     5545    +12     
Files Changed Coverage
src/sentry/tasks/statistical_detectors.py 92.50%
src/sentry/seer/utils.py 100.00%
src/sentry/snuba/referrer.py 100.00%

@Zylphrex Zylphrex requested review from narsaynorath, udameli and a team September 19, 2023 18:03
@Zylphrex Zylphrex marked this pull request as ready for review September 19, 2023 18:03
"statistical_detectors.breakpoint.functions",
amount=breakpoint_count,
sample_rate=1.0,
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think it also makes sense to record a percentage of timeseries that actually had breakpoints

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can derive the percentage by dividing this metric with the existing metrics so just having this count will suffice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Zylphrex Zylphrex merged commit 5e25926 into master Sep 20, 2023
@Zylphrex Zylphrex deleted the txiao/feat/integrate-detector-with-breakpoint-detection branch September 20, 2023 15:06
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants