Skip to content

Allow saving a default chart interval on dashboards #130604

Open

Description

@sentry-junior

Dashboard time-series widgets can't keep a chosen interval. The interval comes only from the interval URL param. Without it, the dashboard picks one from the time range (6h for a 30d range), and saving the dashboard doesn't store it.

  • Current behavior: the interval picker in the dashboard filter bar only writes ?interval= to the URL. Saved dashboard filters keep the period, environment, projects, releases, and global filters, but not the interval. Widgets do have a stored interval field, but the dashboard view doesn't appear to use it for time-series queries.
  • Gap: sparse data, like a nightly CI or device-farm run that sends metrics once a day, leaves about 3 of every 4 buckets empty in a 30d view with 6h buckets. Those buckets are zero-filled, so the line drops to 0 between runs. Switching to a 1d interval fixes the chart, but only for people who open a link that includes ?interval=1d. Anyone who opens the dashboard normally sees the zero-filled spikes.
  • Proposal (from the requester): let a dashboard save a default interval, or at least let each widget set its own.

Related: #122732 (per-widget time ranges, a different setting) and #113096 (weekly intervals).

via ADV.

--

View Session [Sentry]

Activity

  1. linear-code commented on Nov 10, 2026

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions