public Builder metricCategories(final Set<MetricCategory> metricCategories) {
      this.metricCategories = metricCategories;
      return this;
    }
Metric categories.

@param metricCategories the metric categories
@return the builder
metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/MetricsConfiguration.java