Skip to content

Commit c512085

Browse files
authored
Merge pull request #982 from stackhpc/grafana-ceph-objects
Fix Ceph "Objects in the Cluster" dashboard panel
2 parents fcfff10 + 2ae28e0 commit c512085

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

etc/kayobe/kolla/config/grafana/dashboards/ceph/ceph_overview.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,23 +1924,25 @@
19241924
}
19251925
],
19261926
"spaceLength": 10,
1927-
"stack": true,
1927+
"stack": false,
19281928
"steppedLine": false,
19291929
"targets": [
19301930
{
1931-
"expr": "ceph_cluster_total_objects",
1931+
"datasource": {
1932+
"uid": "$datasource"
1933+
},
1934+
"expr": "ceph_pool_objects * on(pool_id) group_left(instance,name) ceph_pool_metadata",
19321935
"format": "time_series",
19331936
"interval": "$interval",
19341937
"intervalFactor": 1,
1935-
"legendFormat": "Total",
1938+
"legendFormat": "{{name}}",
1939+
"range": true,
19361940
"refId": "A",
19371941
"step": 300
19381942
}
19391943
],
19401944
"thresholds": [],
1941-
"timeFrom": null,
19421945
"timeRegions": [],
1943-
"timeShift": null,
19441946
"title": "Objects in the Cluster",
19451947
"tooltip": {
19461948
"msResolution": false,

0 commit comments

Comments
 (0)