prometheus/web/api/v1
Oleg Zaytsev 3c400d443d
Accept promql.Engine interface in v1.NewAPI() (#10050)
Instead of requesting a concrete type. This would allow other
implementations that use the same API to replace or wrap the engine
implementation while maintaining the same API.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2021-12-21 11:22:40 +01:00
..
api.go Accept promql.Engine interface in v1.NewAPI() (#10050) 2021-12-21 11:22:40 +01:00
api_test.go web: use t.TempDir instead of ioutil.TempDir on tests (#9981) 2021-12-08 23:14:50 +01:00