public void setMetrics(final Boolean metrics) {
            this.metrics = metrics;
        }
sets metrics.

@param metrics the metrics
shenyu-plugin/shenyu-plugin-httpclient/src/main/java/org/apache/shenyu/plugin/httpclient/config/HttpClientProperties.java