We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39345f5 commit f978570Copy full SHA for f978570
engine/engine_test.go
@@ -1103,10 +1103,17 @@ func TestQueriesAgainstOldEngine(t *testing.T) {
1103
{
1104
name: "group",
1105
load: `load 30s
1106
- http_requests_total{pod="nginx-1"} 1+1x15
1107
- http_requests_total{pod="nginx-2"} 1+2x18`,
+ http_requests_total{pod="nginx-1"} 2+1x15
+ http_requests_total{pod="nginx-2"} 2+2x18`,
1108
query: `group(http_requests_total)`,
1109
},
1110
+ {
1111
+ name: "group by ",
1112
+ load: `load 30s
1113
1114
1115
+ query: `group by (pod) (http_requests_total)`,
1116
+ },
1117
1118
name: "resets",
1119
0 commit comments