From 61443026ed951b32d2483747fdadaa9dcbc48687 Mon Sep 17 00:00:00 2001 From: nickscript0 Date: Tue, 1 Sep 2015 11:30:56 -0600 Subject: [PATCH] add additional MySQL metrics --- plugins/mysql/mysql.go | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/plugins/mysql/mysql.go b/plugins/mysql/mysql.go index 1bc72ff2a..d53e580c7 100644 --- a/plugins/mysql/mysql.go +++ b/plugins/mysql/mysql.go @@ -58,6 +58,10 @@ type mapping struct { } var mappings = []*mapping{ + { + onServer: "Aborted_", + inExport: "aborted_", + }, { onServer: "Bytes_", inExport: "bytes_", @@ -66,6 +70,10 @@ var mappings = []*mapping{ onServer: "Com_", inExport: "commands_", }, + { + onServer: "Created_", + inExport: "created_", + }, { onServer: "Handler_", inExport: "handler_", @@ -74,6 +82,26 @@ var mappings = []*mapping{ onServer: "Innodb_", inExport: "innodb_", }, + { + onServer: "Key_", + inExport: "key_", + }, + { + onServer: "Open_", + inExport: "open_", + }, + { + onServer: "Opened_", + inExport: "opened_", + }, + { + onServer: "Qcache_", + inExport: "qcache_", + }, + { + onServer: "Table_", + inExport: "table_", + }, { onServer: "Tokudb_", inExport: "tokudb_",