public Builder registerClientMetrics(Object registry, String name) {
            this.metricRegistry = registry;
            this.configuration.put(ClientConfigProperties.METRICS_GROUP_NAME.getKey(), name);
            return this;
        }
Registers http client metrics with MeterRegistry.

@param registry - metrics registry
@param name - name of metrics group
@return same instance of the builder
client-v2/src/main/java/com/clickhouse/client/api/Client.java