-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to scrape metrics from not /metrics endpoint? #159
Comments
Hey, I had the same issue, I wanted to scrape gotenberg metrics which default endpoint is In the variables declaration part: In the
Then you just have to add the following flag to your client entrypoint: Hope it can help you |
Hi, You can test it manually with curl shell cmd: to reach node_exporter landing page on "client" host curl -v --proxy http://pushproxy:8080 \
-H "X-Prometheus-Scrape-Timeout-Seconds: 5" \
http://client:9100/ to reach node_exporter status page curl -v --proxy http://pushproxy:8080 \
-H "X-Prometheus-Scrape-Timeout-Seconds: 5" \
http://client:9100/status to reach node_exporter metrics page curl -v --proxy http://pushproxy:8080 \
-H "X-Prometheus-Scrape-Timeout-Seconds: 5" \
http://client:9100/metrics So if you have trouble to reach the target, it is not the proxy but the config in prometheus ! |
Hey,
I implemented
prometheus-pve-exporter
in my proxmox server. But my entire monitoring is run in external cloud configuration. To provide one endpoint to scrape all metrics from all services run in proxmox in decided to use PushProx. The all configuration works quite well.. but I realised that when I use this this tool then I can not scrape metrics from extra endpoint/pve
but i must use only endpoint/metrics
.It is possible to configure more endpoints to scrape metrics?
when I tried change
metrics_path
to use/pve
then it not works.. any Idea how I can fix this issue?The text was updated successfully, but these errors were encountered: