Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus doesn't appear to actually scrape pushgateway #4709
Comments
This comment has been minimized.
This comment has been minimized.
|
You can check the status of the target in the Targets page of the Prometheus UI. You can also check the |
simonpasquier
added
kind/question
component/scraping
labels
Oct 9, 2018
smd1000
changed the title
Prometheus scrape of pushgateway connection refused
Prometheus doesn't appear to actually scrape pushgateway
Oct 9, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Oct 10, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
KyleFromOhio
commented
Dec 28, 2018
|
This "but report" was extremely helpful for me... The following example worked for me... EDIT: /opt/prometheus/prometheus.yml (must have correct indentation) job_name: 'pushgateway' Restart prometheus service to load new scrape config. Then send a curl request from remote server to gateway (make sure firewall is correct first)... Then check if scraping ok: http://YOURPROMETHEUS:9090/targets |




smd1000 commentedOct 8, 2018
•
edited
Bug Report
What did you do?
We have a set of ephemeral batch jobs that push their metrics to a pushgateway (v0.5.2). The jobs successfully push to the pushgateway and we can see them on the pushgateway gui and when we scrape the endpoint manually (localhost:9091/metrics).
What did you expect to see?
We expected prometheus (v2.4.0) to scrape the pushgateway.
What did you see instead? Under which circumstances?
Nothing.
Environment
Prometheus/alertmanager/pushgateway all on the same host.
I see no relevant messages or errors in prometheus log with debug on regarding pushgateway or scraping.