We could not get prom-label-proxy to work with our external Mimir installation. All queries returned 404.
We believe the error is caused because Mimir exposes its Prometheus API under /prometheus and prom-label-proxy does not seem to support paths in its upstream.
We tried setting --upstream to https://mimir.our.org.domain/prometheus and https://mimir.our.org.domain. Accessing http://prom-label-proxy:8080/prometheus/api/v1/query?query=up and http://prom-label-proxy:8080/api/v1/query?query=up returns 404 in all cases.
Accessing Mimir directly via https://mimir.our.org.domain/prometheus/api/v1/query?query=up returns the metrics, as expected.
Also, adding some kind of debug logs would really help. #336
We could not get prom-label-proxy to work with our external Mimir installation. All queries returned 404.
We believe the error is caused because Mimir exposes its Prometheus API under
/prometheusand prom-label-proxy does not seem to support paths in its upstream.We tried setting
--upstreamtohttps://mimir.our.org.domain/prometheusandhttps://mimir.our.org.domain. Accessinghttp://prom-label-proxy:8080/prometheus/api/v1/query?query=upandhttp://prom-label-proxy:8080/api/v1/query?query=upreturns 404 in all cases.Accessing Mimir directly via
https://mimir.our.org.domain/prometheus/api/v1/query?query=upreturns the metrics, as expected.Also, adding some kind of debug logs would really help. #336