Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View File

@ -0,0 +1,35 @@
---input---
(sum(rate(metric_test_app{app='turtle',proc='web'}[2m])) by(node))
---tokens---
'(' Operator
'sum' Keyword
'(' Operator
'rate' Keyword.Reserved
'(' Operator
'metric_test_app' Name.Variable
'{' Punctuation
'app' Name.Label
'=' Operator
"'" Punctuation
'turtle' Literal.String
"'" Punctuation
',' Punctuation
'proc' Name.Label
'=' Operator
"'" Punctuation
'web' Literal.String
"'" Punctuation
'}' Punctuation
'[' Punctuation
'2m' Literal.String
']' Punctuation
')' Operator
')' Operator
' ' Text.Whitespace
'by' Keyword
'(' Operator
'node' Name.Variable
')' Operator
')' Operator
'\n' Text.Whitespace