Add redis_version field to redis input (#3054)

This commit is contained in:
Daniel Nelson
2017-07-25 17:07:43 -07:00
committed by GitHub
parent 7b5e5ed980
commit 60e0a839f2
3 changed files with 3 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ func gatherInfoOutput(
name := string(parts[0])
if section == "Server" {
if name != "lru_clock" && name != "uptime_in_seconds" {
if name != "lru_clock" && name != "uptime_in_seconds" && name != "redis_version" {
continue
}
}