public void updateMetric(ServerMetrics metric, long value) {
        metrics.put(metric.getKey(), new Gauge(value));
    }
Complete counting metrics on operation and stop all stopwatches.
Multiple calls may have side effects.
Note: should not be called by user code, except when created by user code.
client-v2/src/main/java/com/clickhouse/client/api/metrics/OperationMetrics.java