From 529753b49a3297277a6cf21de7051a1c0369385d Mon Sep 17 00:00:00 2001 From: Tyler Nisonoff Date: Sun, 18 Oct 2015 16:44:30 -0700 Subject: [PATCH] removed print statement and change Memor2 => Memory (spelling) --- plugins/redis/redis.go | 1 - plugins/redis/redis_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/redis/redis.go b/plugins/redis/redis.go index 4f4d87f9a..5492e1cc6 100644 --- a/plugins/redis/redis.go +++ b/plugins/redis/redis.go @@ -212,7 +212,6 @@ func gatherInfoOutput( if keyspace_hits != 0 || keyspace_misses != 0 { keyspace_hitrate = float64(keyspace_hits) / float64(keyspace_hits+keyspace_misses) } - fmt.Println(keyspace_hitrate) acc.Add("keyspace_hitrate", keyspace_hitrate, tags) return nil } diff --git a/plugins/redis/redis_test.go b/plugins/redis/redis_test.go index a82d5412d..f1d00345b 100644 --- a/plugins/redis/redis_test.go +++ b/plugins/redis/redis_test.go @@ -116,7 +116,7 @@ client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 -# Memor2 +# Memory used_memory:1003936 used_memory_human:980.41K used_memory_rss:811008