With multiple instances of prometheus-ceph-exporter, the Ceph graphs report multiple series error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
Wishlist
|
Zachary Zehring |
Bug Description
We have a site where there are two Ceph clusters (regrettably both named 'ceph'). The Ceph applications in Juju are named, e.g. CephA and CephB, and the exporter applications are named cephA-prometheu
These both send metrics to the same Prometheus, which aggregates both sets of data. When the Ceph Cluster dashboard loads, we want to know the stats for each Ceph application cephA and CephB, separately, however the queries are not written to do that. The various panels simply report N/A and "Multiple Series Error".
We can edit the dash to get a good result, using queries such as:
ceph_osd_
This affects all the Ceph dashboards in Grafana.
It would be good if we could split this out, to have a set of Dashboards for each Ceph in use - i.e. in this example a list of dashboards rather than "[Juju] Ceph - Cluster" we have "[Juju] Ceph - Cluster - CephA" and "[Juju] Ceph - Cluster - CephB"
Related branches
- James Hebden (community): Approve
- Xav Paice (community): Approve
-
Diff: 573 lines (+114/-54)3 files modifiedtemplates/dashboards/prometheus/CephCluster.json.j2 (+56/-36)
templates/dashboards/prometheus/CephOSD.json.j2 (+32/-12)
templates/dashboards/prometheus/CephPools.json.j2 (+26/-6)
Changed in charm-grafana: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: field-medium |
Changed in charm-grafana: | |
assignee: | nobody → Zachary Zehring (zzehring) |
status: | Confirmed → In Progress |
Changed in charm-grafana: | |
status: | Fix Committed → Fix Released |
milestone: | none → 20.08 |
I have an environment with 3 ceph clusters, and I have applied the patch that was in the MP, and successfully the Ceph dashboards are now showing multi-ceph cluster metrics.
I have attached the screenshots of ceph-cluster, ceph-osd and ceph-pools.