-
Notifications
You must be signed in to change notification settings - Fork 341
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
Error when defining scrape uri #2
Comments
Hi @r4j4h I've been unable to recreate this issue. Can you give me some more details about how exactly you are running this?
Issue appears to be that the flag is adding a set of quotes to the url. Perhaps try the alternate go flag syntax?: |
Hi there, You were right, it was with quotations. FWIW though, I am running this in a Kubernetes Pod as a sidecar to an nginxinc nginx Ingress exporter. Using the alternate syntax didn't seem to work:
gives
But
indeed works! Versus my prior
Thanks! |
Glad I could help! Thanks for all this extra detail. I'll take some steps to investigate if we can make this less error prone |
My pleasure, and mega thanks to ya'll for starting this exporter!! |
When running
the README states
http://127.0.0.1:8080/stub_status
is the default scrape URI. Running it without changing it seems to confirm.However, if I try to define it as that via
-nginx.scrape-uri="http://127.0.0.1:8080/stub_status"
, when I run it I get:The text was updated successfully, but these errors were encountered: