Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch parse_innodb_status for newer versions of MariaDB #1636

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions plugins/node.d/mysql_
Original file line number Diff line number Diff line change
Expand Up @@ -2163,15 +2163,18 @@ sub parse_innodb_status {
'BUFFER POOL AND MEMORY' => \&parse_buffer_pool_and_memory,
'INDIVIDUAL BUFFER POOL INFO' => \&parse_individual_buffer_pool,
'FILE I/O' => \&parse_file_io,
'INSERT BUFFER AND ADAPTIVE HASH INDEX'
=> \&parse_insert_buffer_and_adaptive_hash_index,
'LATEST DETECTED DEADLOCK' => \&skip,
'LATEST FOREIGN KEY ERROR' => \&skip,
'LOG' => \&parse_log,
'ROW OPERATIONS' => \&parse_row_operations,
'SEMAPHORES' => \&parse_semaphores,
'TRANSACTIONS' => \&parse_transactions,
'BACKGROUND THREAD' => \&parse_background_thread,
# Before MariaDB 10.10
'INSERT BUFFER AND ADAPTIVE HASH INDEX'
=> \&parse_insert_buffer_and_adaptive_hash_index,
# For MariaDB 10.10 and later
'INSERT BUFFER' => \&parse_insert_buffer_and_adaptive_hash_index,
);

skip_heading();
Expand Down