Open yeya24 opened 1 year ago
Since this query engine is different from the old engine in terms of the query execution stages, I feel we don't have to support query timings for now. But it would be nice to support query samples first.
Can we solve this through https://github.com/thanos-community/promql-engine/issues/106 ?
I think #106 has a larger scope than this one. This issue is mainly to support Prometheus query stats in the engine because currently if I enable query stats the engine panics.
Got it, makes sense.
I would like to contribute to adding support for query stats in the engine.
The original promql engine has builtin support for query stats https://github.com/prometheus/prometheus/blob/main/util/stats/query_stats.go#L112.
It has mainly 2 parts: timings and samples.
It would be nice to support capturing those stats in this query engine.