Collection<String> getHostsAllowlist() {
    return Collections.unmodifiableCollection(this.hostsAllowlist);
  }
Gets hosts allowlist.

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