From 8d8023b39aed1c1709aad0425ad556442fa296f1 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Thu, 26 Jan 2023 17:32:02 +0000 Subject: [PATCH] rpc/system_metrics.rs: Adjusted disk space metric names to match node_exporter filesystem ones. --- src/rpc/system_metrics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/system_metrics.rs b/src/rpc/system_metrics.rs index 9c3d039b..7a3a84cf 100644 --- a/src/rpc/system_metrics.rs +++ b/src/rpc/system_metrics.rs @@ -22,11 +22,11 @@ impl SystemMetrics { .with_description("Garage replication factor setting") .init(), _disk_avail: meter - .u64_observable_gauge("garage_local_disk_avail") + .u64_observable_gauge("garage_local_disk_avail_bytes") .with_description("Garage available disk space on each node") .init(), _disk_total: meter - .u64_observable_gauge("garage_local_disk_total") + .u64_observable_gauge("garage_local_size_bytes") .with_description("Garage total disk space on each node") .init(), }