From eefcb0aeedd398d2785a003c86d48c81e0fa36cb Mon Sep 17 00:00:00 2001 From: Tatjana Dehler Date: Wed, 19 Jan 2022 15:15:15 +0100 Subject: [PATCH] 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 --- doc/mgr/prometheus.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mgr/prometheus.rst b/doc/mgr/prometheus.rst index f36d8c77c4faa..35d7f83b30712 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", -- 2.39.5