-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
metadata.yaml
361 lines (358 loc) · 9.79 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
name: mysqlreceiver
resource_attributes:
mysql.instance.endpoint:
description: Endpoint of the MySQL instance.
type: string
attributes:
buffer_pool_pages:
value: kind
description: The buffer pool pages types.
enum: [data, free, misc]
buffer_pool_data:
value: status
description: The status of buffer pool data.
enum: [dirty, clean]
buffer_pool_operations:
value: operation
description: The buffer pool operations types.
enum: [read_ahead_rnd, read_ahead, read_ahead_evicted, read_requests, reads, wait_free, write_requests]
command:
value: command
description: The command types.
enum: [execute, close, fetch, prepare, reset, send_long_data]
handler:
value: kind
description: The handler types.
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:
value: kind
description: The doublewrite types.
enum: [pages_written, writes]
log_operations:
value: operation
description: The log operation types.
enum: [waits, write_requests, writes]
operations:
value: operation
description: The operation types.
enum: [fsyncs, reads, writes]
page_operations:
value: operation
description: The page operation types.
enum: [created, read, written]
row_locks:
value: kind
description: The row lock type.
enum: [waits, time]
row_operations:
value: operation
description: The row operation type.
enum: [deleted, inserted, read, updated]
locks:
value: kind
description: The table locks type.
enum: [immediate, waited]
sorts:
value: kind
description: The sort count type.
enum: [merge_passes, range, rows, scan]
threads:
value: kind
description: The thread count type.
enum: [cached, connected, created, running]
schema:
value: schema
description: The schema of the object.
io_waits_operations:
value: operation
description: The io_waits operation type.
enum: [delete, fetch, insert, update]
table_name:
value: table
description: Table name for event or process.
index_name:
value: index
description: The name of the index.
digest:
value: digest
description: Digest.
digest_text:
value: digest_text
description: Text before digestion.
event_state:
value: kind
description: Possible event states.
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:
value: kind
description: The kind of the resource.
enum: [file, table_definition, table]
tmp_resource:
value: resource
description: The kind of temporary resources.
enum: [disk_tables, files, tables]
mysqlx_threads:
value: kind
description: The worker thread count kind.
enum: [available, active]
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: 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: 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: 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: 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: 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: cumulative
attributes: [buffer_pool_data]
mysql.commands:
enabled: true
description: The number of times each type of command has been executed.
unit: 1
sum:
value_type: int
input_type: string
monotonic: true
aggregation: 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: 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: 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: 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: 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: 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: 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: cumulative
attributes: [io_waits_operations, table_name, schema]
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: 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: 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: 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: 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: 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: 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: cumulative
attributes: [threads]
mysql.opened_resources:
enabled: true
description: The number of opened resources.
unit: 1
sum:
value_type: int
input_type: string
monotonic: true
aggregation: cumulative
attributes: [opened_resources]
mysql.locked_connects:
enabled: true
description: The number of attempts to connect to locked user accounts.
unit: 1
sum:
value_type: int
input_type: string
monotonic: true
aggregation: cumulative
mysql.tmp_resources:
enabled: true
description: The number of created temporary resources.
unit: 1
sum:
value_type: int
input_type: string
monotonic: true
aggregation: cumulative
attributes: [tmp_resource]
mysql.statement_event.count:
enabled: false
description: Summary of current and recent statement events.
unit: 1
sum:
value_type: int
monotonic: false
aggregation: 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: cumulative
attributes: [schema, digest, digest_text]
mysql.mysqlx_worker_threads:
enabled: true
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: cumulative
attributes: [mysqlx_threads]