default dashboards provided to grafana assume data source name "Prometheus" resulting in null graphs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Dashboard Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When deploying ceph-mon, ceph-dashboard, prometheus2, and grafana, we find that the dashboards imported into grafana have a default datasource query of "Prometheus".
i.e.:
https:/
https:/
This lends a confusion to the grafana end-user who must drop-down the datasource selection to "prometheus - Juju generated source" to view the data imported into the default prometheus datasource. I believe there's a way to leave jinja templating variables in your dashboard for this to be auto-populated by the grafana charm upon relation to the dashboards interface.