@Deprecated
  Collection<String> getHostsWhitelist() {
    return Collections.unmodifiableCollection(this.hostsAllowlist);
  }
Gets hosts whitelist.

@return the hosts whitelist
metrics/core/src/main/java/org/hyperledger/besu/metrics/prometheus/MetricsConfiguration.java