Currently all prom-label-proxy endpoints are serving purely as passthrough to Prometheus (ie: all serve as true proxy).
Would it be possible to also expose an endpoint that takes in the query and returns the query with the injected labels?
Use case: Clients define an alert rule but prior to configuring it on Prometheus, application logic leverages this endpoint to retrieve a modified expression that is then sent as the exp to be configured with Prometheus
Currently all
prom-label-proxyendpoints are serving purely as passthrough to Prometheus (ie: all serve as true proxy).Would it be possible to also expose an endpoint that takes in the query and returns the query with the injected labels?
Use case: Clients define an alert rule but prior to configuring it on Prometheus, application logic leverages this endpoint to retrieve a modified expression that is then sent as the
expto be configured with Prometheus