summaryrefslogtreecommitdiff
path: root/tests/examplefiles/promql/example.promql.output
blob: 1468f0a1d921617e3d0d05fc73a6519062bd7531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
'# A metric with label filtering' Comment.Single
'\n'          Text.Whitespace

'go_gc_duration_seconds' Name.Variable
'{'           Punctuation
'instance'    Name.Label
'='           Operator
'"'           Punctuation
'localhost:9090' Literal.String
'"'           Punctuation
','           Punctuation
' '           Text.Whitespace
'job'         Name.Label
'='           Operator
'"'           Punctuation
'alertmanager' Literal.String
'"'           Punctuation
'}'           Punctuation
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'# Aggregation operators' Comment.Single
'\n'          Text.Whitespace

'sum'         Keyword
' '           Text.Whitespace
'by'          Keyword
' '           Text.Whitespace
'('           Operator
'app'         Name.Variable
','           Punctuation
' '           Text.Whitespace
'proc'        Name.Variable
')'           Operator
' '           Text.Whitespace
'('           Operator
'\n'          Text.Whitespace

'  '          Text.Whitespace
'instance_memory_limit_bytes' Name.Variable
' '           Text.Whitespace
'-'           Operator
' '           Text.Whitespace
'instance_memory_usage_bytes' Name.Variable
'\n'          Text.Whitespace

')'           Operator
' '           Text.Whitespace
'/'           Operator
' '           Text.Whitespace
'1024'        Literal.Number.Integer
' '           Text.Whitespace
'/'           Operator
' '           Text.Whitespace
'1024'        Literal.Number.Integer
'\n'          Text.Whitespace