From 2cf1db08377c8c832ce213dba3beaee9c7b46fa1 Mon Sep 17 00:00:00 2001 From: lost_z Date: Fri, 23 Sep 2016 22:59:22 +0800 Subject: [PATCH] add mysql uptime (#1735) --- plugins/inputs/mysql/mysql.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/inputs/mysql/mysql.go b/plugins/inputs/mysql/mysql.go index ef39a65ed..4902e9b3f 100644 --- a/plugins/inputs/mysql/mysql.go +++ b/plugins/inputs/mysql/mysql.go @@ -313,6 +313,10 @@ var mappings = []*mapping{ onServer: "wsrep_", inExport: "wsrep_", }, + { + onServer: "Uptime_", + inExport: "uptime_", + }, } var (