Skip to content

Commit

Permalink
small fix: enabled mysql.connection.count (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
naman47vyas authored Jul 15, 2024
1 parent afb0585 commit 2bfe8e9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions receiver/mysqlreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ The number of times each type of command has been executed.
| ---- | ----------- | ------ |
| command | The command types. | Str: ``delete``, ``insert``, ``select``, ``update`` |
### mysql.connection.count
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 |
### mysql.double_writes
The number of writes to the InnoDB doublewrite buffer.
Expand Down Expand Up @@ -529,14 +537,6 @@ The number of transmitted bytes between server and clients.
| ---- | ----------- | ------ |
| kind | The name of the transmission direction. | Str: ``received``, ``sent`` |
### mysql.connection.count
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 |
### mysql.connection.errors
Errors that occur during the client connection process.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion receiver/mysqlreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ metrics:
aggregation_temporality: cumulative
attributes: [schema, table_name, write_lock_type]
mysql.connection.count:
enabled: false
enabled: true
description: The number of connection attempts (successful or not) to the MySQL server.
unit: 1
sum:
Expand Down

0 comments on commit 2bfe8e9

Please sign in to comment.