From f774adfd3bd70b2add89261eea0bf8a32f02b698 Mon Sep 17 00:00:00 2001 From: wine93 Date: Mon, 20 Jul 2026 23:57:40 +0800 Subject: [PATCH] Revert "[fix] Fix remote cache metric names in fs stats." This reverts commit 17bbf0f796a7dff1fe0fd59eea63b554f94aecf0. --- cli/command/fs/stats.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/command/fs/stats.go b/cli/command/fs/stats.go index f769312..5586a83 100644 --- a/cli/command/fs/stats.go +++ b/cli/command/fs/stats.go @@ -194,9 +194,9 @@ func (w *statsWatcher) buildSchema(schema string, verbose bool) { } case 'r': s.name = "remotecache" - s.items = append(s.items, &item{"load", "dingofs_remote_cache_cluster_range_total_bytes", metricByte | metricCounter}) - s.items = append(s.items, &item{"stage", "dingofs_remote_cache_cluster_put_total_bytes", metricByte | metricCounter}) - s.items = append(s.items, &item{"cache", "dingofs_remote_cache_cluster_cache_total_bytes", metricByte | metricCounter}) + s.items = append(s.items, &item{"load", "dingofs_remote_node_group_range_total_bytes", metricByte | metricCounter}) + s.items = append(s.items, &item{"stage", "dingofs_remote_node_group_put_total_bytes", metricByte | metricCounter}) + s.items = append(s.items, &item{"cache", "dingofs_remote_node_group_cache_total_bytes", metricByte | metricCounter}) s.items = append(s.items, &item{"hit", "dingofs_remote_cache", metricHit}) default: fmt.Printf("Warning: no item defined for %c\n", r)