From 50f6052b958c09ad8d43fd767824e728b383a607 Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Thu, 25 Sep 2025 20:59:13 +0300 Subject: [PATCH] [chore][mysqlreceiver] Add stability level per metric Signed-off-by: ChrsMark --- receiver/mysqlreceiver/documentation.md | 288 ++++++++++++------------ receiver/mysqlreceiver/metadata.yaml | 96 ++++++++ 2 files changed, 240 insertions(+), 144 deletions(-) diff --git a/receiver/mysqlreceiver/documentation.md b/receiver/mysqlreceiver/documentation.md index db0bdebaf2fb5..65e79d35bb939 100644 --- a/receiver/mysqlreceiver/documentation.md +++ b/receiver/mysqlreceiver/documentation.md @@ -16,9 +16,9 @@ metrics: The number of data pages in the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -30,17 +30,17 @@ The number of data pages in the InnoDB buffer pool. The configured size of the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | ### mysql.buffer_pool.operations The number of operations on the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -52,17 +52,17 @@ The number of operations on the InnoDB buffer pool. The number of requests to flush pages from the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | ### mysql.buffer_pool.pages The number of pages in the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -74,9 +74,9 @@ The number of pages in the InnoDB buffer pool. The number of bytes in the InnoDB buffer pool. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | #### Attributes @@ -88,9 +88,9 @@ The number of bytes in the InnoDB buffer pool. The number of writes to the InnoDB doublewrite buffer. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -102,9 +102,9 @@ The number of writes to the InnoDB doublewrite buffer. The number of requests to various MySQL handlers. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -116,9 +116,9 @@ The number of requests to various MySQL handlers. The total count of I/O wait events for an index. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -133,9 +133,9 @@ The total count of I/O wait events for an index. The total time of I/O wait events for an index. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| ns | Sum | Int | Cumulative | true | development | #### Attributes @@ -150,9 +150,9 @@ The total time of I/O wait events for an index. The number of MySQL locks. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -164,9 +164,9 @@ The number of MySQL locks. The number of InnoDB log operations. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -180,9 +180,9 @@ The number of mysqlx connections. 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 | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -194,9 +194,9 @@ This metric is specific for MySQL working as Document Store (X-Plugin). [more do The number of opened resources. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -208,9 +208,9 @@ The number of opened resources. The number of InnoDB operations. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -222,9 +222,9 @@ The number of InnoDB operations. The number of InnoDB page operations. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -236,9 +236,9 @@ The number of InnoDB page operations. The number of times each type of prepared statement command has been issued. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -250,9 +250,9 @@ The number of times each type of prepared statement command has been issued. The number of InnoDB row locks. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -264,9 +264,9 @@ The number of InnoDB row locks. The number of InnoDB row operations. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -278,9 +278,9 @@ The number of InnoDB row operations. The number of MySQL sorts. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -292,9 +292,9 @@ The number of MySQL sorts. The total count of I/O wait events for a table. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -308,9 +308,9 @@ The total count of I/O wait events for a table. The total time of I/O wait events for a table. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| ns | Sum | Int | Cumulative | true | development | #### Attributes @@ -324,9 +324,9 @@ The total time of I/O wait events for a table. The state of MySQL threads. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -338,9 +338,9 @@ The state of MySQL threads. The number of created temporary resources. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -352,9 +352,9 @@ The number of created temporary resources. The number of seconds that the server has been up. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| s | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| s | Sum | Int | Cumulative | true | development | ## Optional Metrics @@ -370,9 +370,9 @@ metrics: The number of transmitted bytes between server and clients. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | true | development | #### Attributes @@ -384,9 +384,9 @@ The number of transmitted bytes between server and clients. The number of times each type of command has been executed. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -398,17 +398,17 @@ The number of times each type of command has been executed. The number of connection attempts (successful or not) to the MySQL server. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | ### mysql.connection.errors Errors that occur during the client connection process. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -420,9 +420,9 @@ Errors that occur during the client connection process. The number of joins that perform table scans. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes @@ -434,9 +434,9 @@ The number of joins that perform table scans. Maximum number of connections used simultaneously since the server started. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | ### mysql.mysqlx_worker_threads @@ -444,9 +444,9 @@ The number of worker threads available. 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 | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -458,57 +458,57 @@ This metric is specific for MySQL working as Document Store (X-Plugin). [more do InnoDB page size. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | ### mysql.query.client.count The number of statements executed by the server. This includes only statements sent to the server by clients. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | ### mysql.query.count The number of statements executed by the server. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | ### mysql.query.slow.count The number of slow queries. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | ### mysql.replica.sql_delay The number of seconds that the replica must lag the source. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| s | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| s | Sum | Int | Cumulative | false | development | ### mysql.replica.time_behind_source This field is an indication of how “late” the replica is. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| s | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| s | Sum | Int | Cumulative | false | development | ### mysql.statement_event.count Summary of current and recent statement events. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -523,9 +523,9 @@ Summary of current and recent statement events. The total wait time of the summarized timed events. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| ns | Sum | Int | Cumulative | false | development | #### Attributes @@ -539,9 +539,9 @@ The total wait time of the summarized timed events. The average row length in bytes for a given table. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | #### Attributes @@ -554,9 +554,9 @@ The average row length in bytes for a given table. The total table lock wait read events. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -570,9 +570,9 @@ The total table lock wait read events. The total table lock wait read events times. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| ns | Sum | Int | Cumulative | false | development | #### Attributes @@ -586,9 +586,9 @@ The total table lock wait read events times. The total table lock wait write events. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -602,9 +602,9 @@ The total table lock wait write events. The total table lock wait write events times. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| ns | Sum | Int | Cumulative | false | development | #### Attributes @@ -618,9 +618,9 @@ The total table lock wait write events times. The number of rows for a given table. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | false | development | #### Attributes @@ -633,9 +633,9 @@ The number of rows for a given table. The table size in bytes for a given table. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | #### Attributes @@ -649,9 +649,9 @@ The table size in bytes for a given table. The number of hits, misses or overflows for open tables cache lookups. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| 1 | Sum | Int | Cumulative | true | development | #### Attributes diff --git a/receiver/mysqlreceiver/metadata.yaml b/receiver/mysqlreceiver/metadata.yaml index d72d2459f5b50..174fbcbfe1ecc 100644 --- a/receiver/mysqlreceiver/metadata.yaml +++ b/receiver/mysqlreceiver/metadata.yaml @@ -248,6 +248,8 @@ metrics: mysql.buffer_pool.pages: enabled: true description: The number of pages in the InnoDB buffer pool. + stability: + level: development unit: "1" sum: value_type: int @@ -258,6 +260,8 @@ metrics: mysql.buffer_pool.data_pages: enabled: true description: The number of data pages in the InnoDB buffer pool. + stability: + level: development unit: "1" sum: value_type: int @@ -267,6 +271,8 @@ metrics: mysql.buffer_pool.page_flushes: enabled: true description: The number of requests to flush pages from the InnoDB buffer pool. + stability: + level: development unit: "1" sum: value_type: int @@ -276,6 +282,8 @@ metrics: mysql.buffer_pool.operations: enabled: true description: The number of operations on the InnoDB buffer pool. + stability: + level: development unit: "1" sum: value_type: int @@ -286,6 +294,8 @@ metrics: mysql.buffer_pool.limit: enabled: true description: The configured size of the InnoDB buffer pool. + stability: + level: development unit: By sum: value_type: int @@ -295,6 +305,8 @@ metrics: mysql.buffer_pool.usage: enabled: true description: The number of bytes in the InnoDB buffer pool. + stability: + level: development unit: By sum: value_type: int @@ -304,6 +316,8 @@ metrics: mysql.prepared_statements: enabled: true description: The number of times each type of prepared statement command has been issued. + stability: + level: development unit: "1" sum: value_type: int @@ -314,6 +328,8 @@ metrics: mysql.commands: enabled: false description: The number of times each type of command has been executed. + stability: + level: development unit: "1" sum: value_type: int @@ -324,6 +340,8 @@ metrics: mysql.handlers: enabled: true description: The number of requests to various MySQL handlers. + stability: + level: development unit: "1" sum: value_type: int @@ -334,6 +352,8 @@ metrics: mysql.double_writes: enabled: true description: The number of writes to the InnoDB doublewrite buffer. + stability: + level: development unit: "1" sum: value_type: int @@ -344,6 +364,8 @@ metrics: mysql.log_operations: enabled: true description: The number of InnoDB log operations. + stability: + level: development unit: "1" sum: value_type: int @@ -354,6 +376,8 @@ metrics: mysql.operations: enabled: true description: The number of InnoDB operations. + stability: + level: development unit: "1" sum: value_type: int @@ -364,6 +388,8 @@ metrics: mysql.page_operations: enabled: true description: The number of InnoDB page operations. + stability: + level: development unit: "1" sum: value_type: int @@ -374,6 +400,8 @@ metrics: mysql.table.io.wait.count: enabled: true description: The total count of I/O wait events for a table. + stability: + level: development unit: "1" sum: value_type: int @@ -383,6 +411,8 @@ metrics: mysql.table.io.wait.time: enabled: true description: The total time of I/O wait events for a table. + stability: + level: development unit: ns sum: value_type: int @@ -392,6 +422,8 @@ metrics: mysql.table.rows: enabled: false description: The number of rows for a given table. + stability: + level: development unit: "1" sum: value_type: int @@ -401,6 +433,8 @@ metrics: mysql.table.average_row_length: enabled: false description: The average row length in bytes for a given table. + stability: + level: development unit: By sum: value_type: int @@ -410,6 +444,8 @@ metrics: mysql.table.size: enabled: false description: The table size in bytes for a given table. + stability: + level: development unit: By sum: value_type: int @@ -419,6 +455,8 @@ metrics: mysql.index.io.wait.count: enabled: true description: The total count of I/O wait events for an index. + stability: + level: development unit: "1" sum: value_type: int @@ -428,6 +466,8 @@ metrics: mysql.index.io.wait.time: enabled: true description: The total time of I/O wait events for an index. + stability: + level: development unit: ns sum: value_type: int @@ -437,6 +477,8 @@ metrics: mysql.row_locks: enabled: true description: The number of InnoDB row locks. + stability: + level: development unit: "1" sum: value_type: int @@ -447,6 +489,8 @@ metrics: mysql.row_operations: enabled: true description: The number of InnoDB row operations. + stability: + level: development unit: "1" sum: value_type: int @@ -457,6 +501,8 @@ metrics: mysql.locks: enabled: true description: The number of MySQL locks. + stability: + level: development unit: "1" sum: value_type: int @@ -467,6 +513,8 @@ metrics: mysql.sorts: enabled: true description: The number of MySQL sorts. + stability: + level: development unit: "1" sum: value_type: int @@ -477,6 +525,8 @@ metrics: mysql.threads: enabled: true description: The state of MySQL threads. + stability: + level: development unit: "1" sum: value_type: int @@ -487,6 +537,8 @@ metrics: mysql.client.network.io: enabled: false description: The number of transmitted bytes between server and clients. + stability: + level: development unit: By sum: value_type: int @@ -497,6 +549,8 @@ metrics: mysql.opened_resources: enabled: true description: The number of opened resources. + stability: + level: development unit: "1" sum: value_type: int @@ -507,6 +561,8 @@ metrics: mysql.uptime: enabled: true description: The number of seconds that the server has been up. + stability: + level: development unit: s sum: value_type: int @@ -516,6 +572,8 @@ metrics: mysql.table.lock_wait.read.count: enabled: false description: The total table lock wait read events. + stability: + level: development unit: "1" sum: value_type: int @@ -525,6 +583,8 @@ metrics: mysql.table.lock_wait.read.time: enabled: false description: The total table lock wait read events times. + stability: + level: development unit: ns sum: value_type: int @@ -534,6 +594,8 @@ metrics: mysql.table.lock_wait.write.count: enabled: false description: The total table lock wait write events. + stability: + level: development unit: "1" sum: value_type: int @@ -543,6 +605,8 @@ metrics: mysql.table.lock_wait.write.time: enabled: false description: The total table lock wait write events times. + stability: + level: development unit: ns sum: value_type: int @@ -552,6 +616,8 @@ metrics: mysql.connection.count: enabled: false description: The number of connection attempts (successful or not) to the MySQL server. + stability: + level: development unit: "1" sum: value_type: int @@ -561,6 +627,8 @@ metrics: mysql.max_used_connections: enabled: false description: Maximum number of connections used simultaneously since the server started. + stability: + level: development unit: "1" sum: value_type: int @@ -570,6 +638,8 @@ metrics: mysql.connection.errors: enabled: false description: Errors that occur during the client connection process. + stability: + level: development unit: "1" sum: value_type: int @@ -581,6 +651,8 @@ metrics: 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) + stability: + level: development unit: "1" sum: value_type: int @@ -591,6 +663,8 @@ metrics: mysql.joins: enabled: false description: The number of joins that perform table scans. + stability: + level: development unit: "1" sum: value_type: int @@ -601,6 +675,8 @@ metrics: mysql.tmp_resources: enabled: true description: The number of created temporary resources. + stability: + level: development unit: "1" sum: value_type: int @@ -611,6 +687,8 @@ metrics: mysql.replica.time_behind_source: enabled: false description: This field is an indication of how “late” the replica is. + stability: + level: development unit: s sum: value_type: int @@ -620,6 +698,8 @@ metrics: mysql.replica.sql_delay: enabled: false description: The number of seconds that the replica must lag the source. + stability: + level: development unit: s sum: value_type: int @@ -629,6 +709,8 @@ metrics: mysql.statement_event.count: enabled: false description: Summary of current and recent statement events. + stability: + level: development unit: "1" sum: value_type: int @@ -638,6 +720,8 @@ metrics: mysql.statement_event.wait.time: enabled: false description: The total wait time of the summarized timed events. + stability: + level: development unit: ns sum: value_type: int @@ -649,6 +733,8 @@ metrics: 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) + stability: + level: development sum: value_type: int input_type: string @@ -658,6 +744,8 @@ metrics: mysql.table_open_cache: enabled: false description: The number of hits, misses or overflows for open tables cache lookups. + stability: + level: development unit: "1" sum: value_type: int @@ -668,6 +756,8 @@ metrics: 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. + stability: + level: development unit: "1" sum: value_type: int @@ -677,6 +767,8 @@ metrics: mysql.query.count: enabled: false description: The number of statements executed by the server. + stability: + level: development unit: "1" sum: value_type: int @@ -686,6 +778,8 @@ metrics: mysql.query.slow.count: enabled: false description: The number of slow queries. + stability: + level: development unit: "1" sum: value_type: int @@ -695,6 +789,8 @@ metrics: mysql.page_size: enabled: false description: InnoDB page size. + stability: + level: development unit: By sum: value_type: int