Otherwise, are there any logs I can find regarding which endpoints are 
effectively scrapped, or if there is an error scrapping them ? Though I 
suspect there is no error since my prometheus gateway is not showing up in 
targets list.

On Friday, 2 July 2021 at 10:39:19 UTC+2 Bastien Moyet wrote:

> Hi,
>
> I deployed a prometheus instance using prometheus operator (8.16.1) 
> alongside a pushgateway (1.4.3) in a kubernetes cluster. But I cannot 
> access my pushgateway metrics from prometheus.
>
> My pushgateway is correctly deployed, accessible and its data can be 
> viewed on its UI.
>
> Prometheus is up and running too. However I cannot find the pushgateway in 
> the listed target on http://prometheus:9090/targets . That seemed logic 
> at first since the http://prometheus:9090/config page does not show any 
> pushgateway either. 
>
> However if I go check the config file I can find in 
> http://prometheus:9090/flags 
> (/etc/prometheus/config_out/prometheus.env.yaml) it gives me differents 
> values than the one I can find on the UI.
>
> Notably in my pod the config file contains :
>
> - honor_labels: true
>   job_name: pushgateway
>   static_configs:
>   - targets:
>     - prometheus-pushgateway:9091
>
> So i'm wondering why the config files differs from the config displayed on 
> the UI. Is it a normal behavior or does it explain my issue ?
>
> 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/8b19a767-c1d8-4190-8e37-cb9e16822dc2n%40googlegroups.com.

Reply via email to