-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
metadata.yaml
470 lines (468 loc) · 12.7 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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
name: elasticsearchreceiver
resource_attributes:
elasticsearch.cluster.name:
description: The name of the elasticsearch cluster.
type: string
elasticsearch.node.name:
description: The name of the elasticsearch node.
type: string
attributes:
cache_name:
description: The name of cache.
enum:
- fielddata
- query
fs_direction:
value: direction
description: The direction of filesystem IO.
enum:
- read
- write
collector_name:
value: name
description: The name of the garbage collector.
memory_pool_name:
value: name
description: The name of the JVM memory pool.
direction:
description: The direction of network data.
enum:
- received
- sent
document_state:
value: state
description: The state of the document.
enum:
- active
- deleted
shard_state:
value: state
description: The state of the shard.
enum:
- active
- relocating
- initializing
- unassigned
operation:
value: operation
description: The type of operation.
enum:
- index
- delete
- get
- query
- fetch
- scroll
- suggest
- merge
- refresh
- flush
- warmer
thread_pool_name:
description: The name of the thread pool.
thread_state:
value: state
description: The state of the thread.
enum:
- active
- idle
task_state:
value: state
description: The state of the task.
enum:
- rejected
- completed
health_status:
value: status
description: The health status of the cluster.
enum:
- green
- yellow
- red
circuit_breaker_name:
value: name
description: The name of circuit breaker.
memory_state:
value: state
description: State of the memory
enum:
- free
- used
metrics:
# these metrics are from /_nodes/stats, and are node level metrics
elasticsearch.breaker.memory.estimated:
description: Estimated memory used for the operation.
unit: By
gauge:
value_type: int
attributes: [circuit_breaker_name]
enabled: true
elasticsearch.breaker.memory.limit:
description: Memory limit for the circuit breaker.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [circuit_breaker_name]
enabled: true
elasticsearch.breaker.tripped:
description: Total number of times the circuit breaker has been triggered and prevented an out of memory error.
unit: 1
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [circuit_breaker_name]
enabled: true
elasticsearch.node.cache.memory.usage:
description: The size in bytes of the cache.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [cache_name]
enabled: true
elasticsearch.node.cache.evictions:
description: The number of evictions from the cache.
unit: "{evictions}"
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [cache_name]
enabled: true
elasticsearch.node.fs.disk.available:
description: The amount of disk space available across all file stores for this node.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.node.disk.io.read:
description: The total number of kilobytes read across all file stores for this node.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.disk.io.write:
description: The total number of kilobytes written across all file stores for this node.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.cluster.io:
description: The number of bytes sent and received on the network for internal cluster communication.
unit: By
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [direction]
enabled: true
elasticsearch.node.cluster.connections:
description: The number of open tcp connections for internal cluster communication.
unit: "{connections}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.node.http.connections:
description: The number of HTTP connections to the node.
unit: "{connections}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.node.operations.completed:
description: The number of operations completed.
unit: "{operations}"
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [operation]
enabled: true
elasticsearch.node.operations.time:
description: Time spent on operations.
unit: ms
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [operation]
enabled: true
elasticsearch.node.shards.size:
description: The size of the shards assigned to this node.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.node.shards.data_set.size:
description: Total data set size of all shards assigned to the node. This includes the size of shards not stored fully on the node, such as the cache for partially mounted indices.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.shards.reserved.size:
description: A prediction of how much larger the shard stores on this node will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities. A value of -1 indicates that this is not available.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.translog.operations:
description: Number of transaction log operations.
unit: "{operations}"
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.translog.size:
description: Size of the transaction log.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.translog.uncommitted.size:
description: Size of uncommitted transaction log operations.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [ ]
enabled: true
elasticsearch.node.thread_pool.threads:
description: The number of threads in the thread pool.
unit: "{threads}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [thread_pool_name, thread_state]
enabled: true
elasticsearch.node.thread_pool.tasks.queued:
description: The number of queued tasks in the thread pool.
unit: "{tasks}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [thread_pool_name]
enabled: true
elasticsearch.node.thread_pool.tasks.finished:
description: The number of tasks finished by the thread pool.
unit: "{tasks}"
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [thread_pool_name, task_state]
enabled: true
elasticsearch.node.documents:
description: The number of documents on the node.
unit: "{documents}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [document_state]
enabled: true
elasticsearch.node.open_files:
description: The number of open file descriptors held by the node.
unit: "{files}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
# These metrics are JVM metrics, collected from /_nodes/stats
# See https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/jvm.md
jvm.classes.loaded:
description: The number of loaded classes
unit: 1
gauge:
value_type: int
attributes: []
enabled: true
jvm.gc.collections.count:
description: The total number of garbage collections that have occurred
unit: 1
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [collector_name]
enabled: true
jvm.gc.collections.elapsed:
description: "The approximate accumulated collection elapsed time"
unit: ms
sum:
monotonic: true
aggregation: cumulative
value_type: int
attributes: [collector_name]
enabled: true
jvm.memory.heap.max:
description: The maximum amount of memory can be used for the heap
unit: By
gauge:
value_type: int
attributes: []
enabled: true
jvm.memory.heap.used:
description: The current heap memory usage
unit: By
gauge:
value_type: int
attributes: []
enabled: true
jvm.memory.heap.committed:
description: The amount of memory that is guaranteed to be available for the heap
unit: By
gauge:
value_type: int
attributes: []
enabled: true
jvm.memory.nonheap.used:
description: The current non-heap memory usage
unit: By
gauge:
value_type: int
attributes: []
enabled: true
jvm.memory.nonheap.committed:
description: The amount of memory that is guaranteed to be available for non-heap purposes
unit: By
gauge:
value_type: int
attributes: []
enabled: true
jvm.memory.pool.max:
description: The maximum amount of memory can be used for the memory pool
unit: By
gauge:
value_type: int
attributes: [memory_pool_name]
enabled: true
jvm.memory.pool.used:
description: The current memory pool memory usage
unit: By
gauge:
value_type: int
attributes: [memory_pool_name]
enabled: true
jvm.threads.count:
description: The current number of threads
unit: 1
gauge:
value_type: int
attributes: []
enabled: true
# these metrics are from /_cluster/health, and are cluster level metrics
elasticsearch.cluster.shards:
description: The number of shards in the cluster.
unit: "{shards}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [shard_state]
enabled: true
elasticsearch.cluster.data_nodes:
description: The number of data nodes in the cluster.
unit: "{nodes}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.cluster.nodes:
description: The total number of nodes in the cluster.
unit: "{nodes}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: []
enabled: true
elasticsearch.cluster.health:
description: The health status of the cluster.
extended_documentation:
Health status is based on the state of its primary and replica shards.
Green indicates all shards are assigned.
Yellow indicates that one or more replica shards are unassigned.
Red indicates that one or more primary shards are unassigned, making some data unavailable.
unit: "{status}"
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [health_status]
enabled: true
elasticsearch.os.cpu.usage:
description: Recent CPU usage for the whole system, or -1 if not supported.
unit: '%'
gauge:
value_type: int
attributes: [ ]
enabled: true
elasticsearch.os.cpu.load_avg.1m:
description: One-minute load average on the system (field is not present if one-minute load average is not available).
unit: 1.0
gauge:
value_type: double
attributes: [ ]
enabled: true
elasticsearch.os.cpu.load_avg.5m:
description: Five-minute load average on the system (field is not present if five-minute load average is not available).
unit: 1.0
gauge:
value_type: double
attributes: [ ]
enabled: true
elasticsearch.os.cpu.load_avg.15m:
description: Fifteen-minute load average on the system (field is not present if fifteen-minute load average is not available).
unit: 1.0
gauge:
value_type: double
attributes: [ ]
enabled: true
elasticsearch.os.memory:
description: Amount of physical memory.
unit: By
sum:
monotonic: false
aggregation: cumulative
value_type: int
attributes: [memory_state]
enabled: true