# Prometheus Exporter: Supporto per whitelist URL

**URL:** https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626
**Category:** Feature
**Tags:** prometheus
**Created:** [15 Agosto 2020, 8:56am UTC](https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626 "2020-08-15T08:56:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [15 Agosto 2020, 8:56am UTC](https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626/1 "2020-08-15T08:56:47Z")

</div>

> **[Grafana IP addresses](https://community.grafana.com/t/grafana-ip-addresses/21571)**
>
> We are using Hosted Grafana instance, and own Prometheus as data source. We would like to restrict access to the Prometheus server only from Grafana. Which IP’s we can add to the firewall in order to Grafana successfully get metrics from...

Come impostare DISCOURSE\_PROMETHEUS\_TRUSTED\_IP\_WHITELIST\_REGEX su più indirizzi IP, dato che Grafana + Prometheus utilizzano vari indirizzi IP che vengono aggiornati costantemente?

> Se la tua rete aziendale richiede che i servizi esterni siano inseriti in una whitelist per consentire l’accesso, puoi utilizzare le seguenti liste per aggiornare i tuoi ACL.
> 
> Formato JSON: [https://grafana.com/api/hosted-grafana/source-ips](https://grafana.com/api/hosted-grafana/source-ips)  
> Formato testo: [https://grafana.com/api/hosted-grafana/source-ips.txt](https://grafana.com/api/hosted-grafana/source-ips.txt)  
> Ricerca DNS: [src-ips.hosted-grafana.grafana.net](http://src-ips.hosted-grafana.grafana.net/)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [16 Agosto 2020, 9:32pm UTC](https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626/2 "2020-08-16T21:32:40Z")

</div>

Supporto l’aggiunta di una PR che consenta di configurare la allowlist degli indirizzi IP tramite un URL

Al momento non esiste alcun modo per farlo

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [16 Agosto 2020, 10:00pm UTC](https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626/4 "2020-08-16T22:00:08Z")

</div>

Sembra fantastico, allora aspetto questo aggiornamento.

---

<div class="post-metadata">

### Author: ![kris.kotlarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kris.kotlarek/32/176919_2.png) [@kris.kotlarek](https://meta.discourse.org/u/kris.kotlarek)
#### Post date: [28 Settembre 2020, 9:24am UTC](https://meta.discourse.org/t/prometheus-exporter-support-for-url-whitelist/163626/8 "2020-09-28T09:24:26Z")

</div>


