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

--web.route-prefix is not propagated to UI #162

Open
Ghabi-ISC opened this issue Nov 25, 2024 · 0 comments
Open

--web.route-prefix is not propagated to UI #162

Ghabi-ISC opened this issue Nov 25, 2024 · 0 comments

Comments

@Ghabi-ISC
Copy link

I wanted to run promlens under a subpath as it is possible with prometheus. It is not officially documented. But checking the code I was able to figure out the option --web.route-prefix which is supposed to solve this requirement. Goal is simply to run promlens under a URL like: "https://my.host.com/**supath/to/promlens**"

Unfortunately the configuration is set only in the backend (Go Part) and the Frontend (React) doesn't get the configuration delivered. Debugging it showed that the Variable GLOBAL_PATH_PREFIX doesn't get set correctly and it is always empty. The UI tries to load configuration from "https://my.host.com/", a completly different machine, where nothing could be found.

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

1 participant