-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
metadata.yaml
613 lines (609 loc) · 17.3 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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
type: mysql
status:
class: receiver
stability:
beta: [metrics]
distributions: [contrib]
codeowners:
active: [djaglowski]
resource_attributes:
mysql.instance.endpoint:
description: Endpoint of the MySQL instance.
enabled: true
type: string
attributes:
buffer_pool_pages:
name_override: kind
description: The buffer pool pages types.
type: string
enum: [data, free, misc]
buffer_pool_data:
name_override: status
description: The status of buffer pool data.
type: string
enum: [dirty, clean]
buffer_pool_operations:
name_override: operation
description: The buffer pool operations types.
type: string
enum: [read_ahead_rnd, read_ahead, read_ahead_evicted, read_requests, reads, wait_free, write_requests]
prepared_statements_command:
name_override: command
description: The prepare statement command types.
type: string
enum: [execute, close, fetch, prepare, reset, send_long_data]
command:
description: The command types.
type: string
enum: [delete, insert, select, update]
connection_error:
name_override: error
description: The connection error type.
type: string
enum: [accept, internal, max_connections, peer_address, select, tcpwrap, aborted, aborted_clients, locked]
handler:
name_override: kind
description: The handler types.
type: string
enum: [commit, delete, discover, external_lock, mrr_init, prepare, read_first, read_key, read_last, read_next, read_prev, read_rnd, read_rnd_next, rollback, savepoint, savepoint_rollback, update, write]
double_writes:
name_override: kind
description: The doublewrite types.
type: string
enum: [pages_written, writes]
log_operations:
name_override: operation
description: The log operation types.
type: string
enum: [waits, write_requests, writes]
operations:
name_override: operation
description: The operation types.
type: string
enum: [fsyncs, reads, writes]
page_operations:
name_override: operation
description: The page operation types.
type: string
enum: [created, read, written]
row_locks:
name_override: kind
description: The row lock type.
type: string
enum: [waits, time]
row_operations:
name_override: operation
description: The row operation type.
type: string
enum: [deleted, inserted, read, updated]
locks:
name_override: kind
description: The table locks type.
type: string
enum: [immediate, waited]
sorts:
name_override: kind
description: The sort count type.
type: string
enum: [merge_passes, range, rows, scan]
threads:
name_override: kind
description: The thread count type.
type: string
enum: [cached, connected, created, running]
schema:
description: The schema of the object.
type: string
io_waits_operations:
name_override: operation
description: The io_waits operation type.
type: string
enum: [delete, fetch, insert, update]
table_name:
name_override: table
type: string
description: Table name for event or process.
index_name:
name_override: index
type: string
description: The name of the index.
direction:
name_override: kind
description: The name of the transmission direction.
type: string
enum: [received, sent]
digest:
description: Digest.
type: string
digest_text:
description: Text before digestion.
type: string
event_state:
name_override: kind
description: Possible event states.
type: string
enum: [errors, warnings, rows_affected, rows_sent, rows_examined, created_tmp_disk_tables, created_tmp_tables, sort_merge_passes, sort_rows, no_index_used]
opened_resources:
name_override: kind
description: The kind of the resource.
type: string
enum: [file, table_definition, table]
join_kind:
name_override: kind
description: The kind of join.
type: string
enum: [full, full_range, range, range_check, scan]
read_lock_type:
name_override: kind
description: Read operation types.
type: string
enum: [normal, with_shared_locks, high_priority, no_insert, external]
write_lock_type:
name_override: kind
description: Write operation types.
type: string
enum: [allow_write, concurrent_insert, low_priority, normal, external]
tmp_resource:
name_override: resource
description: The kind of temporary resources.
type: string
enum: [disk_tables, files, tables]
mysqlx_threads:
name_override: kind
description: The worker thread count kind.
type: string
enum: [available, active]
connection_status:
name_override: status
description: The connection status.
type: string
enum: [accepted, closed, rejected]
cache_status:
name_override: status
description: The status of cache access.
type: string
enum: [hit, miss, overflow]
table_size_type:
name_override: kind
description: The table size types.
type: string
enum: [data, index]
metrics:
mysql.buffer_pool.pages:
enabled: true
description: The number of pages in the InnoDB buffer pool.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: false
aggregation_temporality: cumulative
attributes: [buffer_pool_pages]
mysql.buffer_pool.data_pages:
enabled: true
description: The number of data pages in the InnoDB buffer pool.
unit: "1"
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [buffer_pool_data]
mysql.buffer_pool.page_flushes:
enabled: true
description: The number of requests to flush pages from the InnoDB buffer pool.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
mysql.buffer_pool.operations:
enabled: true
description: The number of operations on the InnoDB buffer pool.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [buffer_pool_operations]
mysql.buffer_pool.limit:
enabled: true
description: The configured size of the InnoDB buffer pool.
unit: By
sum:
value_type: int
input_type: string
monotonic: false
aggregation_temporality: cumulative
mysql.buffer_pool.usage:
enabled: true
description: The number of bytes in the InnoDB buffer pool.
unit: By
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [buffer_pool_data]
mysql.prepared_statements:
enabled: true
description: The number of times each type of prepared statement command has been issued.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [prepared_statements_command]
mysql.commands:
enabled: false
description: The number of times each type of command has been executed.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [command]
mysql.handlers:
enabled: true
description: The number of requests to various MySQL handlers.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [handler]
mysql.double_writes:
enabled: true
description: The number of writes to the InnoDB doublewrite buffer.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [double_writes]
mysql.log_operations:
enabled: true
description: The number of InnoDB log operations.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [log_operations]
mysql.operations:
enabled: true
description: The number of InnoDB operations.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [operations]
mysql.page_operations:
enabled: true
description: The number of InnoDB page operations.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [page_operations]
mysql.table.io.wait.count:
enabled: true
description: The total count of I/O wait events for a table.
unit: "1"
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [io_waits_operations, table_name, schema]
mysql.table.io.wait.time:
enabled: true
description: The total time of I/O wait events for a table.
unit: ns
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [io_waits_operations, table_name, schema]
mysql.table.rows:
enabled: false
description: The number of rows for a given table.
unit: "1"
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [table_name, schema]
mysql.table.average_row_length:
enabled: false
description: The average row length in bytes for a given table.
unit: By
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [table_name, schema]
mysql.table.size:
enabled: false
description: The table size in bytes for a given table.
unit: By
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [table_name, schema, table_size_type]
mysql.index.io.wait.count:
enabled: true
description: The total count of I/O wait events for an index.
unit: "1"
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [io_waits_operations, table_name, schema, index_name]
mysql.index.io.wait.time:
enabled: true
description: The total time of I/O wait events for an index.
unit: ns
sum:
value_type: int
monotonic: true
aggregation_temporality: cumulative
attributes: [io_waits_operations, table_name, schema, index_name]
mysql.row_locks:
enabled: true
description: The number of InnoDB row locks.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [row_locks]
mysql.row_operations:
enabled: true
description: The number of InnoDB row operations.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [row_operations]
mysql.locks:
enabled: true
description: The number of MySQL locks.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [locks]
mysql.sorts:
enabled: true
description: The number of MySQL sorts.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [sorts]
mysql.threads:
enabled: true
description: The state of MySQL threads.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: false
aggregation_temporality: cumulative
attributes: [threads]
mysql.client.network.io:
enabled: false
description: The number of transmitted bytes between server and clients.
unit: By
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [direction]
mysql.opened_resources:
enabled: true
description: The number of opened resources.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [opened_resources]
mysql.uptime:
enabled: true
description: The number of seconds that the server has been up.
unit: s
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
mysql.table.lock_wait.read.count:
enabled: false
description: The total table lock wait read events.
unit: "1"
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, table_name, read_lock_type]
mysql.table.lock_wait.read.time:
enabled: false
description: The total table lock wait read events times.
unit: ns
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, table_name, read_lock_type]
mysql.table.lock_wait.write.count:
enabled: false
description: The total table lock wait write events.
unit: "1"
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, table_name, write_lock_type]
mysql.table.lock_wait.write.time:
enabled: false
description: The total table lock wait write events times.
unit: ns
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, table_name, write_lock_type]
mysql.connection.count:
enabled: false
description: The number of connection attempts (successful or not) to the MySQL server.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
mysql.connection.errors:
enabled: false
description: Errors that occur during the client connection process.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [connection_error]
mysql.mysqlx_connections:
enabled: true
description: The number of mysqlx connections.
extended_documentation: This metric is specific for MySQL working as Document Store (X-Plugin). [more docs](https://dev.mysql.com/doc/refman/8.0/en/document-store.html)
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [connection_status]
mysql.joins:
enabled: false
description: The number of joins that perform table scans.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [join_kind]
mysql.tmp_resources:
enabled: true
description: The number of created temporary resources.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [tmp_resource]
mysql.replica.time_behind_source:
enabled: false
description: This field is an indication of how “late” the replica is.
unit: s
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: []
mysql.replica.sql_delay:
enabled: false
description: The number of seconds that the replica must lag the source.
unit: s
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: []
mysql.statement_event.count:
enabled: false
description: Summary of current and recent statement events.
unit: "1"
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, digest, digest_text, event_state]
mysql.statement_event.wait.time:
enabled: false
description: The total wait time of the summarized timed events.
unit: ns
sum:
value_type: int
monotonic: false
aggregation_temporality: cumulative
attributes: [schema, digest, digest_text]
mysql.mysqlx_worker_threads:
enabled: false
description: The number of worker threads available.
unit: "1"
extended_documentation: This metric is specific for MySQL working as Document Store (X-Plugin). [more docs](https://dev.mysql.com/doc/refman/8.0/en/document-store.html)
sum:
value_type: int
input_type: string
monotonic: false
aggregation_temporality: cumulative
attributes: [mysqlx_threads]
mysql.table_open_cache:
enabled: false
description: The number of hits, misses or overflows for open tables cache lookups.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
attributes: [cache_status]
mysql.query.client.count:
enabled: false
description: The number of statements executed by the server. This includes only statements sent to the server by clients.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
mysql.query.count:
enabled: false
description: The number of statements executed by the server.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative
mysql.query.slow.count:
enabled: false
description: The number of slow queries.
unit: "1"
sum:
value_type: int
input_type: string
monotonic: true
aggregation_temporality: cumulative