Skip to content

series: dense grids with explicit null gaps - #1132

Merged
Flotapponnier merged 5 commits into
devfrom
fix/dense-series-gaps
Jul 12, 2026
Merged

series: dense grids with explicit null gaps#1132
Flotapponnier merged 5 commits into
devfrom
fix/dense-series-gaps

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Prometheus.series() silently dropped empty buckets and consumers assumed dense arrays anchored at now: any historical gap (like the Jul 10-11 outage) shifted the whole chart right and truncated the left edge (aggregator-head-lag 7d started at -6d6h instead of -7d). Series are now mapped onto the dense evaluation grid with null per empty bucket; the time-series chart breaks the line at gaps, sparklines and OG cards filter nulls, /api/series emits a dense timestamp grid, and the video payload bridges gaps by interpolation to keep the external renderer contract. Old blobs parse unchanged; cache keys bumped. Verified live: 85 points with 9 nulls exactly spanning the outage.

@Flotapponnier
Flotapponnier merged commit 4e9d78a into dev Jul 12, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/dense-series-gaps branch July 17, 2026 14:42
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