Skip to content

chore(dashboard): size the runs-by-conclusion bars to the time range - #29

Merged
JustMaris merged 1 commit into
mainfrom
chore/runs-panel-interval
Oct 4, 2026
Merged

JustMaris merged 1 commit into
mainfrom
chore/runs-panel-interval

Conversation

@JustMaris

Copy link
Copy Markdown
Member

The runs panel used increase(...[1d]) with a 1-day step. Prometheus lines those points up at 00:00 UTC, so the panel showed No data until the first midnight after a deploy, and only one or two bars on the default 24h view.

It now uses [$__interval] with a 1h minimum and maxDataPoints: 30, so there are about 30 bars whatever the range: hourly on 24h, ~6h on 7d, daily on 30d. The title drops "per day", and the README wording follows. Dashboard only, so no release.

A fixed 1d step lines points up at 00:00 UTC, so the panel showed nothing
for most of a day and only a bar or two on the default 24h view. Use
$__interval with a 1h floor and ~30 bars instead.
@JustMaris
JustMaris enabled auto-merge (squash) October 4, 2026 17:53
@JustMaris
JustMaris merged commit 525cbad into main Oct 4, 2026
8 checks passed
@JustMaris
JustMaris deleted the chore/runs-panel-interval branch October 4, 2026 17:54
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