Skip to content

Commit

Permalink
Changing the mysql.innodb.lock_structs metric type to gauge (#17452)
Browse files Browse the repository at this point in the history
* changed the metric type to gauge

* added changelog for this change

* Update 17452.fixed
  • Loading branch information
aldrickdev committed May 2, 2024
1 parent d490461 commit 0ee4a23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ The check does not collect all metrics by default. Set the following boolean con
| mysql.innodb.ibuf_merges | RATE |
| mysql.innodb.ibuf_segment_size | GAUGE |
| mysql.innodb.ibuf_size | GAUGE |
| mysql.innodb.lock_structs | RATE |
| mysql.innodb.lock_structs | GAUGE |
| mysql.innodb.locked_tables | GAUGE |
| mysql.innodb.locked_transactions | GAUGE |
| mysql.innodb.log_waits | RATE |
Expand Down
1 change: 1 addition & 0 deletions mysql/changelog.d/17452.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Changing the mysql.innodb.lock_structs metric type to gauge
2 changes: 1 addition & 1 deletion mysql/datadog_checks/mysql/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
'Innodb_ibuf_merges': ('mysql.innodb.ibuf_merges', RATE),
'Innodb_ibuf_segment_size': ('mysql.innodb.ibuf_segment_size', GAUGE),
'Innodb_ibuf_size': ('mysql.innodb.ibuf_size', GAUGE),
'Innodb_lock_structs': ('mysql.innodb.lock_structs', RATE),
'Innodb_lock_structs': ('mysql.innodb.lock_structs', GAUGE),
'Innodb_locked_tables': ('mysql.innodb.locked_tables', GAUGE),
'Innodb_locked_transactions': ('mysql.innodb.locked_transactions', GAUGE),
'Innodb_log_waits': ('mysql.innodb.log_waits', RATE),
Expand Down

0 comments on commit 0ee4a23

Please sign in to comment.