Skip to content

Support path prefix #354

Description

@oncipriani

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions