From a844c1ac749e183c996de15f9b7c38029f974b83 Mon Sep 17 00:00:00 2001 From: "Carlos J. Torres" Date: Wed, 2 Dec 2015 10:45:10 -0500 Subject: [PATCH] redis_test.go with instantaneous input/output --- plugins/redis/redis_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/redis/redis_test.go b/plugins/redis/redis_test.go index f1d00345b..ff52e8c57 100644 --- a/plugins/redis/redis_test.go +++ b/plugins/redis/redis_test.go @@ -79,6 +79,8 @@ func TestRedis_ParseMetrics(t *testing.T) { value float64 }{ {"mem_fragmentation_ratio", 0.81}, + {"instantaneous_input_kbps", 876.16}, + {"instantaneous_output_kbps", 3010.23}, {"used_cpu_sys", 0.14}, {"used_cpu_user", 0.05}, {"used_cpu_sys_children", 0.00}, @@ -146,6 +148,8 @@ aof_last_write_status:ok total_connections_received:2 total_commands_processed:1 instantaneous_ops_per_sec:0 +instantaneous_input_kbps:876.16 +instantaneous_output_kbps:3010.23 rejected_connections:0 sync_full:0 sync_partial_ok:0