There is proxy_url setting in the scrape_config 
<https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config>
 
section (at the top level of the job), and a separate proxy_url setting in 
the eureka_sd_config 
<https://prometheus.io/docs/prometheus/latest/configuration/configuration/#eureka_sd_config>
 
section.

IIUC, the first is for scraping targets and the second is for talking to 
the service discovery API.

On Tuesday, 14 September 2021 at 10:41:56 UTC+1 [email protected] wrote:

> Hi,
>
> I want to scrape Eureka Services, providing the Eureka SD Config.
> Problem - the services I need to scrape reside in a different network 
> segment, 
> so I have to use a proxy only for Eureka.
>
> I can configure the "proxy_url", but this is only used to access Eureka 
> itself, not the targets.
> Any way to work around this?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/aab77cc4-5ab0-400b-a40c-c42a2cfde019n%40googlegroups.com.

Reply via email to