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/07330f44-1457-4ac3-8983-cd6fb1162c14n%40googlegroups.com.

Reply via email to