default dashboards provided to grafana assume data source name "Prometheus" resulting in null graphs

Bug #1965185 reported by Drew Freiberger
12
This bug affects 2 people
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://opendev.org/openstack/charm-ceph-dashboard/src/branch/master/src/dashboards/pool-overview.json#L1501
https://opendev.org/openstack/charm-ceph-dashboard/src/branch/master/src/dashboards/rbd-details.json#L326

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.