mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 23:01:47 +08:00
loki: Fix adding refId to rowId (#53932)
This commit is contained in:
@ -19,9 +19,9 @@ import (
|
||||
// but i wanted to test for all of them, to be sure.
|
||||
|
||||
func TestSuccessResponse(t *testing.T) {
|
||||
matrixQuery := lokiQuery{Expr: "up(ALERTS)", Step: time.Second * 42, QueryType: QueryTypeRange, Direction: DirectionBackward}
|
||||
vectorQuery := lokiQuery{Expr: "query1", QueryType: QueryTypeInstant, Direction: DirectionBackward}
|
||||
streamsQuery := lokiQuery{Expr: "query1", QueryType: QueryTypeRange, Direction: DirectionBackward}
|
||||
matrixQuery := lokiQuery{Expr: "up(ALERTS)", Step: time.Second * 42, QueryType: QueryTypeRange, Direction: DirectionBackward, RefID: "mq"}
|
||||
vectorQuery := lokiQuery{Expr: "query1", QueryType: QueryTypeInstant, Direction: DirectionBackward, RefID: "vq"}
|
||||
streamsQuery := lokiQuery{Expr: "query1", QueryType: QueryTypeRange, Direction: DirectionBackward, RefID: "sq"}
|
||||
|
||||
tt := []struct {
|
||||
name string
|
||||
|
Reference in New Issue
Block a user