tests/snippets/promql/test_complex_exp_single_quotes.txt
raw| 1 | ---input--- |
| 2 | (sum(rate(metric_test_app{app='turtle',proc='web'}[2m])) by(node)) |
| 3 | |
| 4 | ---tokens--- |
| 5 | '(' Operator |
| 6 | 'sum' Keyword |
| 7 | '(' Operator |
| 8 | 'rate' Keyword.Reserved |
| 9 | '(' Operator |
| 10 | 'metric_test_app' Name.Variable |
| 11 | '{' Punctuation |
| 12 | 'app' Name.Label |
| 13 | '=' Operator |
| 14 | "'" Punctuation |
| 15 | 'turtle' Literal.String |
| 16 | "'" Punctuation |
| 17 | ',' Punctuation |
| 18 | 'proc' Name.Label |
| 19 | '=' Operator |
| 20 | "'" Punctuation |
| 21 | 'web' Literal.String |
| 22 | "'" Punctuation |
| 23 | '}' Punctuation |
| 24 | '[' Punctuation |
| 25 | '2m' Literal.String |
| 26 | ']' Punctuation |
| 27 | ')' Operator |
| 28 | ')' Operator |
| 29 | ' ' Text.Whitespace |
| 30 | 'by' Keyword |
| 31 | '(' Operator |
| 32 | 'node' Name.Variable |
| 33 | ')' Operator |
| 34 | ')' Operator |
| 35 | '\n' Text.Whitespace |