public void setMetricsConfiguration(final MetricsConfiguration metricsConfiguration) {
    this.metricsConfiguration = metricsConfiguration;
  }
Set the metric configuration via a method since it is still not available when creating this
object

@param metricsConfiguration the metrics configuration
metrics/core/src/main/java/org/hyperledger/besu/metrics/MetricCategoryRegistryImpl.java