This is an automated email from the ASF dual-hosted git repository.

w41ter pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 3082951c917 [fix](metrics) Fix doris compaction deltas total #42071 
(#42960)
3082951c917 is described below

commit 3082951c917289d3d387253b3b207648168236b9
Author: walter <w41te...@gmail.com>
AuthorDate: Thu Oct 31 14:17:37 2024 +0800

    [fix](metrics) Fix doris compaction deltas total #42071 (#42960)
    
    cherry pick from #42071
---
 be/src/util/doris_metrics.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/util/doris_metrics.cpp b/be/src/util/doris_metrics.cpp
index 3fe6b92c923..e9d4f31e5ca 100644
--- a/be/src/util/doris_metrics.cpp
+++ b/be/src/util/doris_metrics.cpp
@@ -91,13 +91,13 @@ 
DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(base_compaction_deltas_total, MetricUnit::R
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(cumulative_compaction_deltas_total, 
MetricUnit::ROWSETS, "",
                                      compaction_deltas_total, Labels({{"type", 
"cumulative"}}));
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(full_compaction_deltas_total, 
MetricUnit::ROWSETS, "",
-                                     compaction_deltas_total, Labels({{"type", 
"base"}}));
+                                     compaction_deltas_total, Labels({{"type", 
"full"}}));
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(base_compaction_bytes_total, 
MetricUnit::BYTES, "",
                                      compaction_bytes_total, Labels({{"type", 
"base"}}));
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(cumulative_compaction_bytes_total, 
MetricUnit::BYTES, "",
                                      compaction_bytes_total, Labels({{"type", 
"cumulative"}}));
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(full_compaction_bytes_total, 
MetricUnit::BYTES, "",
-                                     compaction_bytes_total, Labels({{"type", 
"base"}}));
+                                     compaction_bytes_total, Labels({{"type", 
"full"}}));
 
 DEFINE_COUNTER_METRIC_PROTOTYPE_5ARG(segment_read_total, 
MetricUnit::OPERATIONS,
                                      "(segment_v2) total number of segments 
read", segment_read,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to