addValue -> set for gauge metric.
@@ -416,7 +416,7 @@ MergeThrottler::enqueueMerge(
if (!validateNewMerge(mergeCmd, nodeSeq, msgGuard)) {
return;
}
- _metrics->queueSize.addValue(_queue.size());
+ _metrics->queueSize.set(_queue.size());
_queue.insert(MergePriorityQueue::value_type(msg, _queueSequence++));
}
