Increase max resolution for jitter from 1min to 2min#5862
Closed
saponifi3d wants to merge 5 commits intomasterfrom
Closed
Increase max resolution for jitter from 1min to 2min#5862saponifi3d wants to merge 5 commits intomasterfrom
saponifi3d wants to merge 5 commits intomasterfrom
Conversation
…e load for any resolution of 15min or less
Member
|
We can have up to 30 minute resolutions when using comparison intervals, so maybe bump to 30? |
|
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time. ❌ Failed Test Results:Completed 640 tests with View the full list of failed tests
|
nhsiehgit
approved these changes
May 3, 2024
… increase teh value further in the future
Author
|
Updated the max resolution based on this convo: https://sentry.slack.com/archives/CLTE78L73/p1714771659170539 -- will see how 2min affects things and increase to size. I'm still looking into the test failures. |
wedamija
approved these changes
May 6, 2024
Member
|
@saponifi3d @wedamija is this PR still relevant? |
Author
|
@MeredithAnya i think so, we are still seeing some sawtooth in the graph for processing, this should help smooth when we execute snuba subscriptions I can try to revive this PR and get it green, if it looks okay otherwise. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The goal of this PR is to enable the jitter code path here:
snuba/snuba/subscriptions/scheduler.py
Lines 118 to 135 in 40d2510
Here's what the load profile on metric alert subscriptions looks like that we're trying to fix: https://app.datadoghq.com/dashboard/byg-ici-a72/snuba-subscriptions?fromUser=true&fullscreen_end_ts=1714765439441&fullscreen_paused=false&fullscreen_refresh_mode=sliding&fullscreen_section=overview&fullscreen_start_ts=1714751039441&fullscreen_widget=3556554584510136&tpl_var_consumer_group%5B0%5D=*&tpl_var_sentry_region%5B0%5D=us&view=spans&from_ts=1714750247173&to_ts=1714764647173&live=true
Technical Spec: https://www.notion.so/sentry/Metric-Alert-Load-Shedding-cba94dd0fa434f3bb56a23f920586eb2