grafana-dashboard interface is missing so no dashboard out of the box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Confirmed
|
Wishlist
|
Joe Guo |
Bug Description
Thanks to the following commit, we can scrape metrics of Ceph from ceph-mon units directly into Prometheus.
https:/
However, there is no dashboard defined in the charm so Grafana is still empty and users have to set it up by creating an own dashboard or importing from somewhere.
It would be nice if the charm has a grafana-dashboard interface defined, and inject the definitions of dashboards to Grafana out of the box. The procedure is available at:
https:/
The definitions of dashboards can be found in:
https:/
or
https:/
Changed in charm-ceph-mon: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in charm-ceph-mon: | |
assignee: | nobody → Joe Guo (guoqiao) |
As a short-term solution, you can download those dashboards you've referenced and loop through them using the import-dashboard action on grafana:
for dashboard in *.json; do
juju run-action --wait grafana/0 import-dashboard dashboard="$(base64 $dashboard)"
done