Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ Alerts (with `metrics.prometheusRule.enabled=true`):
- CronJob has scheduled but no Job has finished
- Missed CronJob schedule (needs kube-state-metrics)

The Grafana dashboard (`charts/karkive/dashboards/karkive.json`) opens with a health row (failed last jobs, not ready, stale, size drops, oldest success, no finished job) whose tiles show a green check at zero and turn amber or red with a count. Below it: inventory counts, one table row per CR (outcome, duration, success age, last stored object), job outcome timelines, backup size with each Backup's share of its 7-day maximum, and duration and age trends. Blue marks Backups and orange marks Restores everywhere; green, amber and red only mean status. Every color passes 3:1 contrast on both the light and dark Grafana themes.

When one Prometheus holds several KArkive installs (for example clusters sending remote_write with an external label), set `metrics.grafanaDashboard.sourceLabel` to the label that tells them apart (`cluster`, `k8s_cluster`, `region`; empty by default). The dashboard then gets a variable titled after the label and keeps it in every aggregation, so a Backup with the same name in two sources shows as two rows. Series without the label still show. `metrics.grafanaDashboard.folder` sets the Grafana sidecar folder.

## Webhooks
Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
- [x] Custom metrics per Backup/Restore (last success, duration, failures)
- [x] Alerts for missed schedules and failed Jobs
- [x] Grafana dashboard
- [x] Dashboard redesign: health row of status tiles (size drops and no-finished-job added), last stored object in the table, a backup size row (size over time and share of the 7-day max), and one color set that passes 3:1 on Grafana's light and dark themes (blue Backup, orange Restore, green/amber/red status only)

### MariaDB

Expand Down
Loading