grafana/pkg/expr
Ryan McKinley 2754e4fdf0
Expressions: use datasource model from the query (#41376)
* refactor datasource loading

* refactor datasource loading

* pass uid

* use dscache in alerting to get DS

* remove expr/translate pacakge

* remove dup injection entry

* fix DS type on metrics endpoint, remove SQL DS lookup inside SSE

* update test and adapter

* comment fix

* Make eval run as admin when getting datasource info

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* fmt and comment

* remove unncessary/redundant code

Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2021-12-16 13:51:46 -03:00
..
classic Alerting: Handle marshaling Inf values (#36947) 2021-07-21 10:04:40 -04:00
mathexp Alerting: fix a bug where the metric in the evaluation string was not correctly populated (#41731) 2021-11-17 11:00:59 +01:00
commands.go Use sdk pkg for gtime (#39354) 2021-09-21 13:08:52 +02:00
graph_test.go Expressions: use datasource model from the query (#41376) 2021-12-16 13:51:46 -03:00
graph.go Expressions: use datasource model from the query (#41376) 2021-12-16 13:51:46 -03:00
nodes_test.go Alerting: Support Unwrap for QueryError in expr package (#41743) 2021-11-17 10:07:24 +00:00
nodes.go Expressions: use datasource model from the query (#41376) 2021-12-16 13:51:46 -03:00
service_test.go Expressions: use datasource model from the query (#41376) 2021-12-16 13:51:46 -03:00
service.go Replace encryption.Service usages by secrets.Service (#41625) 2021-11-12 12:16:39 +01:00
transform.go Expressions: use datasource model from the query (#41376) 2021-12-16 13:51:46 -03:00