Skip to content

Commit 0ee4a23

Browse files
authored
Changing the mysql.innodb.lock_structs metric type to gauge (#17452)
* changed the metric type to gauge * added changelog for this change * Update 17452.fixed
1 parent d490461 commit 0ee4a23

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

mysql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ The check does not collect all metrics by default. Set the following boolean con
475475
| mysql.innodb.ibuf_merges | RATE |
476476
| mysql.innodb.ibuf_segment_size | GAUGE |
477477
| mysql.innodb.ibuf_size | GAUGE |
478-
| mysql.innodb.lock_structs | RATE |
478+
| mysql.innodb.lock_structs | GAUGE |
479479
| mysql.innodb.locked_tables | GAUGE |
480480
| mysql.innodb.locked_transactions | GAUGE |
481481
| mysql.innodb.log_waits | RATE |

mysql/changelog.d/17452.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changing the mysql.innodb.lock_structs metric type to gauge

mysql/datadog_checks/mysql/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
'Innodb_ibuf_merges': ('mysql.innodb.ibuf_merges', RATE),
181181
'Innodb_ibuf_segment_size': ('mysql.innodb.ibuf_segment_size', GAUGE),
182182
'Innodb_ibuf_size': ('mysql.innodb.ibuf_size', GAUGE),
183-
'Innodb_lock_structs': ('mysql.innodb.lock_structs', RATE),
183+
'Innodb_lock_structs': ('mysql.innodb.lock_structs', GAUGE),
184184
'Innodb_locked_tables': ('mysql.innodb.locked_tables', GAUGE),
185185
'Innodb_locked_transactions': ('mysql.innodb.locked_transactions', GAUGE),
186186
'Innodb_log_waits': ('mysql.innodb.log_waits', RATE),

0 commit comments

Comments
 (0)