Skip to content

Add path as an option for prometheus.internal if behind a reverse proxy(mimir) #270

@dodizzle

Description

@dodizzle

When querying prometheus behind a reverse proxy such as The mimir-query-frontend we need to specify the path to prometheus.
ie /prometheus
If prometheus is external then you can set it in the url:
opencost.prometheus.external.url: https://example.com/prometheus
But if you are querying prometheus in the cluster there currently is no option.
This PR resolves that issue by allowing it to be set here -> opencost.prometheus.internal.path

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