diff --git a/be/src/util/metrics.h b/be/src/util/metrics.h index ac7e69a4ef8ab4b..0b2eb905c5dcc02 100644 --- a/be/src/util/metrics.h +++ b/be/src/util/metrics.h @@ -140,6 +140,7 @@ class LockSimpleMetric : public Metric { T _value; }; +// TODO: Remove this class and related code. template class CoreLocalCounter : public Metric { public: @@ -234,9 +235,9 @@ class LockGauge : public LockSimpleMetric { virtual ~LockGauge() {} }; -using IntCounter = CoreLocalCounter; +using IntCounter = AtomicCounter; using IntAtomicCounter = AtomicCounter; -using UIntCounter = CoreLocalCounter; +using UIntCounter = AtomicCounter; using DoubleCounter = LockCounter; using IntGauge = AtomicGauge; using UIntGauge = AtomicGauge;