-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
metadata.yaml
347 lines (343 loc) · 9.67 KB
/
metadata.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
type: flinkmetrics
status:
class: receiver
stability:
alpha: [metrics]
distributions: [contrib]
codeowners:
active: [JonathanWamsley]
seeking_new: true
resource_attributes:
# These resource attributes are Flinks system scope variables, which contains context information about metrics. These are required to uniquely identify incoming metrics as the same job can run multiple times concurrently. See https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/ops/metrics/#system-scope for more information.
host.name:
description: The host name.
type: string
enabled: true
flink.taskmanager.id:
description: The taskmanager ID.
type: string
enabled: true
flink.job.name:
description: The job name.
type: string
enabled: true
flink.task.name:
description: The task name.
type: string
enabled: true
flink.subtask.index:
description: The subtask index.
type: string
enabled: true
flink.resource.type:
description: The flink scope type in which a metric belongs to.
type: string
enabled: true
enum: [ jobmanager, taskmanager ]
attributes:
operator_name:
name_override: name
description: The operator name.
type: string
garbage_collector_name:
name_override: name
description: The names for the parallel scavenge and garbage first garbage collectors.
type: string
enum: [ PS_MarkSweep, PS_Scavenge, G1_Young_Generation, G1_Old_Generation ]
checkpoint:
description: The number of checkpoints completed or that failed.
type: string
enum: [ completed, failed ]
record:
description: The number of records received in, sent out or dropped due to arriving late.
type: string
enum: [ in, out, dropped ]
metrics:
flink.jvm.cpu.load:
enabled: true
description: The CPU usage of the JVM for a jobmanager or taskmanager.
unit: "%"
gauge:
value_type: double
input_type: string
attributes: []
flink.jvm.cpu.time:
enabled: true
description: The CPU time used by the JVM for a jobmanager or taskmanager.
unit: ns
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.heap.used:
enabled: true
description: The amount of heap memory currently used.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.heap.committed:
enabled: true
description: The amount of heap memory guaranteed to be available to the JVM.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.heap.max:
enabled: true
description: The maximum amount of heap memory that can be used for memory management.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.nonheap.used:
enabled: true
description: The amount of non-heap memory currently used.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.nonheap.committed:
enabled: true
description: The amount of non-heap memory guaranteed to be available to the JVM.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.nonheap.max:
enabled: true
description: The maximum amount of non-heap memory that can be used for memory management.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.metaspace.used:
enabled: true
description: The amount of memory currently used in the Metaspace memory pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.metaspace.committed:
enabled: true
description: The amount of memory guaranteed to be available to the JVM in the Metaspace memory pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.metaspace.max:
enabled: true
description: The maximum amount of memory that can be used in the Metaspace memory pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.direct.used:
enabled: true
description: The amount of memory used by the JVM for the direct buffer pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.direct.total_capacity:
enabled: true
description: The total capacity of all buffers in the direct buffer pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.mapped.used:
enabled: true
description: The amount of memory used by the JVM for the mapped buffer pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.memory.mapped.total_capacity:
enabled: true
description: The number of buffers in the mapped buffer pool.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.memory.managed.used:
enabled: true
description: The amount of managed memory currently used.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.memory.managed.total:
enabled: true
description: The total amount of managed memory.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.threads.count:
enabled: true
description: The total number of live threads.
unit: "{threads}"
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.jvm.gc.collections.count:
enabled: true
description: The total number of collections that have occurred.
unit: "{collections}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ garbage_collector_name ]
flink.jvm.gc.collections.time:
enabled: true
description: The total time spent performing garbage collection.
unit: ms
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ garbage_collector_name ]
flink.jvm.class_loader.classes_loaded:
enabled: true
description: The total number of classes loaded since the start of the JVM.
unit: "{classes}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.job.restart.count:
enabled: true
description: The total number of restarts since this job was submitted, including full restarts and fine-grained restarts.
unit: "{restarts}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.job.last_checkpoint.time:
enabled: true
description: The end to end duration of the last checkpoint.
unit: ms
gauge:
value_type: int
input_type: string
attributes: []
flink.job.last_checkpoint.size:
enabled: true
description: The total size of the last checkpoint.
unit: By
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.job.checkpoint.count:
enabled: true
description: The number of checkpoints completed or failed.
unit: "{checkpoints}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ checkpoint ]
flink.job.checkpoint.in_progress:
enabled: true
description: The number of checkpoints in progress.
unit: "{checkpoints}"
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: []
flink.task.record.count:
enabled: true
description: The number of records a task has.
unit: "{records}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ record ]
flink.operator.record.count:
enabled: true
description: The number of records an operator has.
unit: "{records}"
sum:
monotonic: true
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ operator_name, record ]
flink.operator.watermark.output:
enabled: true
description: The last watermark this operator has emitted.
unit: ms
sum:
monotonic: false
aggregation_temporality: cumulative
value_type: int
input_type: string
attributes: [ operator_name ]
tests:
config: