diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f84cedd4..bd4b6dfc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,14 @@ changed to just run docker commands in the Makefile. See `make docker-run` and `make docker-kill`. `make test` will still run all unit tests with docker. - Long unit tests are now run in CircleCI, with docker & race detector +- Redis plugin tag has changed from `host` to `server` ### Features - [#325](https://github.com/influxdb/telegraf/pull/325): NSQ output. Thanks @jrxFive! - [#318](https://github.com/influxdb/telegraf/pull/318): Prometheus output. Thanks @oldmantaiter! ### Bugfixes +- [#331](https://github.com/influxdb/telegraf/pull/331): Dont overwrite host tag in redis plugin. ## v0.2.0 [2015-10-27] diff --git a/plugins/redis/redis.go b/plugins/redis/redis.go index 5492e1cc6..95d5dc75b 100644 --- a/plugins/redis/redis.go +++ b/plugins/redis/redis.go @@ -148,7 +148,7 @@ func (r *Redis) gatherServer(addr *url.URL, acc plugins.Accumulator) error { host, port := "unknown", "unknown" // If there's an error, ignore and use 'unknown' tags host, port, _ = net.SplitHostPort(addr.Host) - tags := map[string]string{"host": host, "port": port} + tags := map[string]string{"server": host, "port": port} return gatherInfoOutput(rdr, acc, tags) }