Skip to content
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

No results in Prometheus URL #2

Open
megatr0n28 opened this issue Jun 22, 2023 · 1 comment
Open

No results in Prometheus URL #2

megatr0n28 opened this issue Jun 22, 2023 · 1 comment

Comments

@megatr0n28
Copy link

megatr0n28 commented Jun 22, 2023

I get metrics sent on Prometheus PushGateway at "http://localhost:9091/metrics/job/selenium"

1 passed, 2 warnings in 17.08s

Nothing in my Prometheus PushGateway

@treussart
Copy link
Owner

treussart commented Jun 23, 2023

Hi just put hostname:port into env PROMETHEUS_PUSHGATEWAY_URL
and put job name into env : PROMETHEUS_PUSHGATEWAY_JOB
https://github.com/prometheus/client_python#exporting-to-a-pushgateway
in your case : PROMETHEUS_PUSHGATEWAY_URL=localhost:9091 PROMETHEUS_PUSHGATEWAY_JOB=selenium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants