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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Is your feature request related to a problem? Please describe.
It may be desirable to have a prometheus metrics provider hosted under a subpath. In this configuration, there's no way to configure the path_allowlist option to add a prefix to each of these paths. (More docs on Path Allowlist)
Feature Description
add a new option to the helm chart to enable operators to modify ui_config.metrics.path_allowlist to their liking
Use Case(s)
When prometheus metrics provider is hosted on a subpath
Example values.yaml for the helm chart (limited to only relevant config for this feature request):
Community Note
Is your feature request related to a problem? Please describe.
It may be desirable to have a prometheus metrics provider hosted under a subpath. In this configuration, there's no way to configure the
path_allowlist
option to add a prefix to each of these paths. (More docs on Path Allowlist)Feature Description
add a new option to the helm chart to enable operators to modify
ui_config.metrics.path_allowlist
to their likingUse Case(s)
When prometheus metrics provider is hosted on a subpath
Example values.yaml for the helm chart (limited to only relevant config for this feature request):
This configuration will never work and the server will throw errors in the log that look like the following:
[ERROR] agent.ui_metrics_proxy: target URL path is not allowed: base_url=http://consul-prometheus.consul.svc.cluster.local:9090/consul path=/api/v1/query target_url=http://consul-prometheus.consul.svc.cluster.local:9090/consul/api/v1/query path_allowlist=["/api/v1/query", "/api/v1/query_range"]
Contributions
Submitted a proposal for change in #4445
The text was updated successfully, but these errors were encountered: