mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 17:15:08 -05:00
Alerting/Expr: New SSE Request/QueryType, alerting move data source UID (#33282)
This commit is contained in:
@@ -41,7 +41,7 @@ func TestService(t *testing.T) {
|
||||
return nil
|
||||
})
|
||||
|
||||
queries := []backend.DataQuery{
|
||||
queries := []Query{
|
||||
{
|
||||
RefID: "A",
|
||||
JSON: json.RawMessage(`{ "datasource": "test", "datasourceId": 1, "orgId": 1, "intervalMs": 1000, "maxDataPoints": 1000 }`),
|
||||
@@ -52,7 +52,7 @@ func TestService(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
req := &backend.QueryDataRequest{Queries: queries}
|
||||
req := &Request{Queries: queries}
|
||||
|
||||
pl, err := s.BuildPipeline(req)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user