Skip to content

feat(grafana): wire Prometheus datasource to main Grafana instance#24

Merged
xnoto merged 1 commit intomainfrom
feat/grafana-prometheus-datasource
Apr 30, 2026
Merged

feat(grafana): wire Prometheus datasource to main Grafana instance#24
xnoto merged 1 commit intomainfrom
feat/grafana-prometheus-datasource

Conversation

@xnoto
Copy link
Copy Markdown
Contributor

@xnoto xnoto commented Apr 30, 2026

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

  • After merge: `kubectl -n grafana get grafanadatasource grafana-prometheus` is Synced
  • After merge: in Grafana UI → Connections → Data sources, "Prometheus" appears as the default
  • After merge: a panel with `up` query shows live data

🤖 Generated with Claude Code

Add a GrafanaDatasource selected onto the main Grafana CR (via the
`dashboards: grafana` label) pointing at kube-prometheus-stack's
in-cluster Prometheus, so the main dashboard has metrics out of the box.
Mirrors the existing status-grafana datasource.

Loki / Tempo / Alertmanager aren't installed; those datasources can be
added once those backends are wired up.
@xnoto xnoto self-assigned this Apr 30, 2026
@xnoto xnoto merged commit d460fc0 into main Apr 30, 2026
2 checks passed
@xnoto xnoto deleted the feat/grafana-prometheus-datasource branch April 30, 2026 04:31
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