Rename prometheus metric

The metric ceph_pool_bytes_used has changed to ceph_pool_stored.

https: //tracker.ceph.com/issues/39932
Change-Id: Iab5cf2b318ce538e72b4592dedd8f0e489741797
This commit is contained in:
Ritchie, Frank (fr801x) 2022-02-08 10:10:41 -06:00
parent ea2c0115c4
commit c0282d430c
3 changed files with 5 additions and 4 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v7.4.5 appVersion: v7.4.5
description: OpenStack-Helm Grafana description: OpenStack-Helm Grafana
name: grafana name: grafana
version: 0.1.12 version: 0.1.13
home: https://grafana.com/ home: https://grafana.com/
sources: sources:
- https://github.com/grafana/grafana - https://github.com/grafana/grafana

View File

@ -2988,7 +2988,7 @@ conf:
"step": 60 "step": 60
}, },
{ {
"expr": "ceph_pool_bytes_used{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"}", "expr": "ceph_pool_stored{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"}",
"interval": "$interval", "interval": "$interval",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "Used - {{ $pool }}", "legendFormat": "Used - {{ $pool }}",
@ -2996,7 +2996,7 @@ conf:
"step": 60 "step": 60
}, },
{ {
"expr": "ceph_pool_max_avail{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"} - ceph_pool_bytes_used{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"}", "expr": "ceph_pool_max_avail{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"} - ceph_pool_stored{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"}",
"interval": "$interval", "interval": "$interval",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "Available - {{ $pool }}", "legendFormat": "Available - {{ $pool }}",
@ -3120,7 +3120,7 @@ conf:
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "(ceph_pool_bytes_used{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"} / ceph_pool_max_avail{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"})", "expr": "(ceph_pool_stored{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"} / ceph_pool_max_avail{pool_id=~\"$pool\",application=\"ceph\",release_group=\"$ceph_cluster\"})",
"format": "time_series", "format": "time_series",
"interval": "$interval", "interval": "$interval",
"intervalFactor": 1, "intervalFactor": 1,

View File

@ -13,4 +13,5 @@ grafana:
- 0.1.10 Helm 3 - Fix Job labels - 0.1.10 Helm 3 - Fix Job labels
- 0.1.11 Update htk requirements - 0.1.11 Update htk requirements
- 0.1.12 Add iDRAC dashboard to Grafana - 0.1.12 Add iDRAC dashboard to Grafana
- 0.1.13 Update prometheus metric name
... ...