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:
parent
ea2c0115c4
commit
c0282d430c
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v7.4.5
|
||||
description: OpenStack-Helm Grafana
|
||||
name: grafana
|
||||
version: 0.1.12
|
||||
version: 0.1.13
|
||||
home: https://grafana.com/
|
||||
sources:
|
||||
- https://github.com/grafana/grafana
|
||||
|
@ -2988,7 +2988,7 @@ conf:
|
||||
"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",
|
||||
"intervalFactor": 1,
|
||||
"legendFormat": "Used - {{ $pool }}",
|
||||
@ -2996,7 +2996,7 @@ conf:
|
||||
"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",
|
||||
"intervalFactor": 1,
|
||||
"legendFormat": "Available - {{ $pool }}",
|
||||
@ -3120,7 +3120,7 @@ conf:
|
||||
"tableColumn": "",
|
||||
"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",
|
||||
"interval": "$interval",
|
||||
"intervalFactor": 1,
|
||||
|
@ -13,4 +13,5 @@ grafana:
|
||||
- 0.1.10 Helm 3 - Fix Job labels
|
||||
- 0.1.11 Update htk requirements
|
||||
- 0.1.12 Add iDRAC dashboard to Grafana
|
||||
- 0.1.13 Update prometheus metric name
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user