Skip to content

Conversation

@malwilley
Copy link
Member

@malwilley malwilley commented Nov 26, 2025

This takes a slightly different approach to the max buckets problem. Previously, we were:

  1. limiting the time range options that you can select (e.g. 7 days, 3 days, 1 day)
  2. adjusting the statsPeriod for 7 days to 9998m for some datasets to avoid hitting the maximum of 10k data points

After this PR, we will adjust the interval to be higher for time ranges that exceed the maximum number of points for the given dataset. This allows us to use the default page filters.

IMO it's better if we adjust the interval based on the time range to keep things consistent and give users flexibility to query wider ranges. This also gets metric detector charts working for issue details without needing to add a custom time range selector there.

Before:

CleanShot 2025-11-25 at 17 07 38@2x

After:

CleanShot 2025-11-25 at 17 06 44@2x

@malwilley malwilley requested a review from a team as a code owner November 26, 2025 01:06
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 26, 2025
@scttcper
Copy link
Member

scttcper commented Nov 26, 2025

picked 90 days on this one now that its available and it used 15m buckets instead of 5 https://sentry-pn5kwbqoj.sentry.dev/monitors/2809015/?statsPeriod=90d

prod link

@malwilley malwilley marked this pull request as draft November 26, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants