From: Tatjana Dehler Date: Wed, 19 Jan 2022 14:15:15 +0000 (+0100) Subject: doc/mgr/prometheus: correct metric name X-Git-Tag: v18.0.0~1112^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eefcb0aeedd398d2785a003c86d48c81e0fa36cb;p=ceph.git doc/mgr/prometheus: correct metric name Replace the metric name `node_disk_bytes_written` by `node_disk_written_bytes_total` to reflect changes made in node exporter version 0.16.0 https://github.com/prometheus/node_exporter/releases/tag/v0.16.0 / https://github.com/prometheus/node_exporter/blob/v0.16.0/docs/example-16-compatibility-rules.yml . Fixes: https://tracker.ceph.com/issues/53932 Signed-off-by: Tatjana Dehler --- diff --git a/doc/mgr/prometheus.rst b/doc/mgr/prometheus.rst index f36d8c77c4f..35d7f83b307 100644 --- a/doc/mgr/prometheus.rst +++ b/doc/mgr/prometheus.rst @@ -253,7 +253,7 @@ The goal is to run a query like :: - rate(node_disk_bytes_written[30s]) and + rate(node_disk_written_bytes_total[30s]) and on (device,instance) ceph_disk_occupation_human{ceph_daemon="osd.0"} Out of the box the above query will not return any metrics since the ``instance`` labels of @@ -284,7 +284,7 @@ To correlate an OSD and its disks write rate, the following query can be used: :: label_replace( - rate(node_disk_bytes_written[30s]), + rate(node_disk_written_bytes_total[30s]), "exported_instance", "$1", "instance",