modify some default metrics for mysql plugin

This commit is contained in:
Ulric Qin 2022-04-26 17:34:25 +08:00
parent cd583ed558
commit 20063541bb
1 changed files with 41 additions and 40 deletions

View File

@ -34,8 +34,9 @@ var STATUS_VARS = map[string]struct{}{
"created_tmp_files": {},
"threads_connected": {}, // thread metrics
"threads_running": {},
"key_buffer_bytes_unflushed": {}, // myisam metrics
"key_buffer_bytes_used": {},
"key_blocks_used": {}, // myisam metrics
"key_blocks_unused": {},
"key_blocks_not_flushed": {},
"key_read_requests": {},
"key_reads": {},
"key_write_requests": {},
@ -44,7 +45,7 @@ var STATUS_VARS = map[string]struct{}{
var VARIABLES_VARS = map[string]struct{}{
"key_buffer_size": {},
"key_cache_utilization": {},
"key_cache_block_size": {},
"max_connections": {},
"max_prepared_stmt_count": {},
"query_cache_size": {},