Skip to content

feat(eap): Allow 30 day granularity for time series requests - #8686

Closed
sentry-junior[bot] wants to merge 1 commit into
masterfrom
dominikbuszowiecki/eng-9009-30d-granularity
Closed

sentry-junior[bot] wants to merge 1 commit into
masterfrom
dominikbuszowiecki/eng-9009-30d-granularity

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Adds a 30 day (2592000s) granularity to the TimeSeries RPC allowlist so Sentry dashboards can offer a 30 day interval on 90 day charts (ENG-9009). Today the largest allowed bucket is 1 day.

Bucketing (start + intDiv(ts - start, g) * g), zero-filling, and the reliability calculator already work with any granularity. The granularity= set on the EAP query isn't read by any processor or validator, and tier routing depends on the time range rather than granularity, so the allowlist was the only blocker. Buckets are fixed 30 day windows anchored to the request start, not calendar months.

Sentry's VALID_GRANULARITIES mirrors this set and will be updated in a follow-up once this deploys.

via @DominikB2014.

--

View Session [Sentry]

Co-Authored-By: Dominik Buszowiecki <44422760+DominikB2014@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested review from a team as code owners November 9, 2026 14:33
@linear-code

linear-code Bot commented Nov 9, 2026

Copy link
Copy Markdown

ENG-9009

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant