Repository navigation
chore: increase max timeseries buckets - #7482
Merged
Merged
Conversation
shruthilayaj
marked this pull request as ready for review
October 27, 2025 18:18
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
shruthilayaj
commented
Oct 27, 2025
| [ | ||
| (BASE_TIME, BASE_TIME + timedelta(hours=1), 1), | ||
| (BASE_TIME, BASE_TIME + timedelta(hours=24), 15), | ||
| (BASE_TIME, BASE_TIME + timedelta(hours=24 * 3), 15), |
Member
Author
There was a problem hiding this comment.
This is the only relevant change, rest is all auto-commit code
phacops
approved these changes
Oct 29, 2025
nikkikapadia
added a commit
that referenced
this pull request
Jan 15, 2026
We initially increased the max timeseries buckets in this PR: #7482 But the number of buckets was still higher than this value and is throwing errors on alerts/monitors like [this one](https://sentry.sentry.io/monitors/2809118/?project=-1&statsPeriod=7d). This was the error snuba was throwing: https://sentry.sentry.io/issues/7084207705/?project=1&query=is%3Aunresolved%20user.email%3Awilliam.mak%40sentry.io&referrer=issue-stream Seems like the quantizing the timeseries range is resulting in varying bucket numbers. We're increasing the max buckets a little more to account for any of these quantizing discrepancies.
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.
We're migrating transaction alerts to spans. Transaction alerts supported 1 min intervals so we need to be able to plot a 1 week query with this interval (example). We don't intend to open this option up to new span alerts though. This is just to ensure old transaction alerts can be migrated to spans correctly.