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

Add support for --web.route-prefix/external-url #475

Closed
agrrh opened this issue May 7, 2019 · 0 comments · Fixed by #515
Closed

Add support for --web.route-prefix/external-url #475

agrrh opened this issue May 7, 2019 · 0 comments · Fixed by #515

Comments

@agrrh
Copy link

agrrh commented May 7, 2019

Host operating system:

Not applicable.

blackbox_exporter version: output of blackbox_exporter -version

Current v0.14.0 version is affected:
https://github.com/prometheus/blackbox_exporter/blob/e7e450c/main.go#L283-L286

What is the blackbox.yml module config.

Not applicable.

What is the prometheus.yml scrape config.

Not applicable.

What logging output did you get from adding &debug=true to the probe URL?

Not applicable.

What did you do that produced an error?

I'm running blackbox_exporter under following address:

http://example.org/exporters/blackbox/

What did you expect to see?

I would like index page links lead me to correct URLs, like:

http://example.org/exporters/blackbox/metrics

What did you see instead?

Broken URLs:

http://example.org/metrics

@brian-brazil brian-brazil changed the title Index page URLs are broken when running sevice with some prefix Add support for --web.route-prefix/external-url Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants