You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does appear to be caused by the code only checking absolute paths, as changing this piece of code makes the query work. A fix would have to somehow pass information about the configured prefix, or loosen the conditions to only check if the URL includes these paths.
Describe the bug
If I set
server.http_path_prefix
to any value, querying/<prefix>/loki/api/v1/label/<name>/values
returns an error:Other endpoints seem to work as expected.
To Reproduce
Steps to reproduce the behavior:
server.http_path_prefix
in Loki configuration./<prefix>/loki/api/v1/label/<name>/values
API endpoint.Expected behavior
The endpoint should return label values.
Environment:
Screenshots, Promtail config, or terminal output
Possibly related to #2176
The text was updated successfully, but these errors were encountered: