add additional MySQL metrics

This commit is contained in:
nickscript0 2015-09-01 11:30:56 -06:00 committed by Cameron Sparr
parent b86c6bba4e
commit 3f63bcde12
1 changed files with 28 additions and 0 deletions

View File

@ -58,6 +58,10 @@ type mapping struct {
} }
var mappings = []*mapping{ var mappings = []*mapping{
{
onServer: "Aborted_",
inExport: "aborted_",
},
{ {
onServer: "Bytes_", onServer: "Bytes_",
inExport: "bytes_", inExport: "bytes_",
@ -66,6 +70,10 @@ var mappings = []*mapping{
onServer: "Com_", onServer: "Com_",
inExport: "commands_", inExport: "commands_",
}, },
{
onServer: "Created_",
inExport: "created_",
},
{ {
onServer: "Handler_", onServer: "Handler_",
inExport: "handler_", inExport: "handler_",
@ -74,6 +82,26 @@ var mappings = []*mapping{
onServer: "Innodb_", onServer: "Innodb_",
inExport: "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_", onServer: "Tokudb_",
inExport: "tokudb_", inExport: "tokudb_",