Skysheepwang commented on a change in pull request #5148:
URL: https://github.com/apache/incubator-doris/pull/5148#discussion_r548828806



##########
File path: be/src/util/metrics.h
##########
@@ -159,6 +160,35 @@ class CoreLocalCounter : public Metric {
     CoreLocalValue<T> _value;
 };
 
+class HistogramMetric : public Metric {
+public:
+    HistogramMetric() { clear(); }

Review comment:
       Yes, the `_stat.clear()` will be called in `HistogramStat` 's 
constructor. I will remove it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to