| 1 |
sum by (job) ( |
| 2 |
rate(http_requests_total[5m]) |
| 3 |
) |
| 4 |
|
| 5 |
---------------------------------------------------- |
| 6 |
|
| 7 |
[ |
| 8 |
["keyword", "sum"], |
| 9 |
["keyword", "by"], |
| 10 |
["vector-match", [ |
| 11 |
["punctuation", "("], |
| 12 |
["label-key", "job"], |
| 13 |
["punctuation", ")"] |
| 14 |
]], |
| 15 |
["punctuation", "("], |
| 16 |
["function", "rate"], |
| 17 |
["punctuation", "("], |
| 18 |
"http_requests_total", |
| 19 |
["context-range", [ |
| 20 |
["punctuation", "["], |
| 21 |
["range-duration", "5m"], |
| 22 |
["punctuation", "]"] |
| 23 |
]], |
| 24 |
["punctuation", ")"], |
| 25 |
["punctuation", ")"] |
| 26 |
] |
| 27 |
|
| 28 |
---------------------------------------------------- |
| 29 |
|
| 30 |
Checks aggregate query. |