Repository navigation
feat(dashboard): redesign the Grafana dashboard around health and backup size - #7
Merged
Merged
Conversation
…kup size The first row is now six status tiles (failed last jobs, not ready, stale, size drops, oldest success, no finished job) that show a green check at zero and turn amber or red with a count. Inventory counts follow, then one table row per CR with the size of the last stored object, the outcome timelines, a new backup size row (last stored object over time and each Backup's share of its 7-day maximum, the KArkiveBackupSizeDrop signal) and the duration and age trends with aging and stale bands. Colors carry one meaning each and pass 3:1 on both Grafana themes: blue Backup and orange Restore (validated for color-vision deficiency), green, amber and red only for status, gray for neutral counts. Every query keeps the label sets the chart's sourceLabel rewrite relies on. The landing page preview gains the size-drop tile, a last object column and the new alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Redesigns
charts/karkive/dashboards/karkive.jsonfor the 0.7.0 size metrics and makes it readable in both Grafana themes.status.lastObject); outcome cells carry an icon and a status color, kind cells a ▲/▼ marker in the kind color.KArkiveBackupSizeDrop.#257de0Backup, orange#e0621fRestore (CVD-validated pair), green#14983a/ amber#bf7a00/ red#dc3c3donly for status, gray#858d9cfor neutral values. Each clears 3:1 on Grafana light#ffffffand dark#181b1f.Every query was run against a live Prometheus with 44 CRs on three clusters, and the chart was rendered with and without
sourceLabelto confirm every selector and aggregation keeps the source label. The landing page preview gains the size-drop tile, a last object column and the size alert.