-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Compact Web: Missing --web.route-prefix and --web.external-prefix wrong #2727
Comments
We plan on fixing this soon. cc @prmsrswt |
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Hello 👋 Looks like there was no activity on this issue for last 30 days. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Still valid, and help wanted! |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Same here... go to http://domain/tools/thanos-bucket -- won't work Looking into HTTP response, seems like the /static is pointing to tools/static instead of tools/thanos-bucketweb/static...i also tried set --web.external-prefix=tools , /tools and a lot of other combinations, but nothing works |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Still ongoing. set the
and it's still not working, it ignores the flags, using the latest ver available, 0.24.0 |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Still ongoing |
If no one else is working on it, maybe I could take a stab at this sometime? |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Not sure where did this issue went sideways, @onprem , do you guys still need to help this fixed? There is an issue with this for sure. |
Thanos, Prometheus and Golang version used:
Using official docker release for 0.12.2
Object Storage Provider:
NA
What happened:
--web.external-prefix=
is supposed to be for the external path as referred to in links but is supposed to serve the content still from /--web.route-prefix=
is supposed to actually serve it on a subpath, unfortunately compact currently lacks this flag.From the documentation of query:
From the documentation of compact (same as query just missing route-prefix):
If connecting to localhost it should be http://localhost:10902/loaded but on the reverse proxy it would be http://external/prefix/loaded which would get rewritten as http://internal/loaded
What you expected to happen:
Compact should follow the behavior as defined in the documentation and the other components of thanos.
How to reproduce it (as minimally and precisely as possible):
thanos compact --http-address="0.0.0.0:10902" --web.external-prefix=/bucket
Anything else we need to know:
This was incorrectly fixed in #2338
The code as it was, was correct, what the submitter really wanted was the
--web.route-prefix
which is missing from thanos compact. He should not expect to see anything outside of / if using--web.external-prefix
.The text was updated successfully, but these errors were encountered: