Commit d460fc0
authored
feat(grafana): wire Prometheus datasource to main Grafana instance (#24)
## Summary
The main Grafana CR has been login-functional but had no datasources, so
the home dashboard is empty. Add a \`GrafanaDatasource\` pointing at the
kube-prometheus-stack Prometheus, selected onto the main instance via
the matching \`dashboards: grafana\` label (the \`status-grafana\`
instance already has its own analogous datasource).
Loki / Tempo / Alertmanager / Pyroscope are not installed — those
datasources are out of scope here and can be added once the backends
are.
## Test plan
- [x] After merge: \`kubectl -n grafana get grafanadatasource
grafana-prometheus\` is Synced
- [x] After merge: in Grafana UI → Connections → Data sources,
"Prometheus" appears as the default
- [x] After merge: a panel with \`up\` query shows live data
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent f7297c9 commit d460fc0
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments