Currently we allow swapping out the Queryable that the *promql.Engine uses, but if one wants to implement PromQL evaluation by an entirely different mechanism than the *promql.Engine, this upper layer also needs to be swappable. The concrete motivation for this is for adding a Prometheus API endpoint to InfluxDB which handles PromQL queries by transpiling them to Flux and then executing the resulting Flux query instead. Signed-off-by: Julius Volz <julius.volz@gmail.com>pull/5603/head
parent
27404e6226
commit
693cf55cde
Loading…
Reference in new issue