Skip to content

Commit 04cb8f2

Browse files
authored
fix: trim duplicated metrics suffix (#18908)
1 parent e484cc8 commit 04cb8f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/storage/src/operator_cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ use crate::operator::init_operator_uncached;
3232

3333
// Internal metrics for monitoring cache effectiveness
3434
static CACHE_HIT_COUNT: LazyLock<Counter> =
35-
LazyLock::new(|| register_counter("storage_operator_cache_hit_total"));
35+
LazyLock::new(|| register_counter("storage_operator_cache_hit"));
3636
static CACHE_MISS_COUNT: LazyLock<Counter> =
37-
LazyLock::new(|| register_counter("storage_operator_cache_miss_total"));
37+
LazyLock::new(|| register_counter("storage_operator_cache_miss"));
3838
static CACHE_SIZE: LazyLock<Gauge> =
3939
LazyLock::new(|| register_gauge("storage_operator_cache_size"));
4040

0 commit comments

Comments
 (0)