Merge d3f0049363
into 4b3b41fea5
This commit is contained in:
commit
763bae2521
|
@ -48,6 +48,8 @@ var Tracking = map[string]string{
|
||||||
"total_connections_received": "total_connections_received",
|
"total_connections_received": "total_connections_received",
|
||||||
"total_commands_processed": "total_commands_processed",
|
"total_commands_processed": "total_commands_processed",
|
||||||
"instantaneous_ops_per_sec": "instantaneous_ops_per_sec",
|
"instantaneous_ops_per_sec": "instantaneous_ops_per_sec",
|
||||||
|
"instantaneous_input_kbps": "instantaneous_input_kbps",
|
||||||
|
"instantaneous_output_kbps": "instantaneous_output_kbps",
|
||||||
"sync_full": "sync_full",
|
"sync_full": "sync_full",
|
||||||
"sync_partial_ok": "sync_partial_ok",
|
"sync_partial_ok": "sync_partial_ok",
|
||||||
"sync_partial_err": "sync_partial_err",
|
"sync_partial_err": "sync_partial_err",
|
||||||
|
|
|
@ -79,6 +79,8 @@ func TestRedis_ParseMetrics(t *testing.T) {
|
||||||
value float64
|
value float64
|
||||||
}{
|
}{
|
||||||
{"mem_fragmentation_ratio", 0.81},
|
{"mem_fragmentation_ratio", 0.81},
|
||||||
|
{"instantaneous_input_kbps", 876.16},
|
||||||
|
{"instantaneous_output_kbps", 3010.23},
|
||||||
{"used_cpu_sys", 0.14},
|
{"used_cpu_sys", 0.14},
|
||||||
{"used_cpu_user", 0.05},
|
{"used_cpu_user", 0.05},
|
||||||
{"used_cpu_sys_children", 0.00},
|
{"used_cpu_sys_children", 0.00},
|
||||||
|
@ -146,6 +148,8 @@ aof_last_write_status:ok
|
||||||
total_connections_received:2
|
total_connections_received:2
|
||||||
total_commands_processed:1
|
total_commands_processed:1
|
||||||
instantaneous_ops_per_sec:0
|
instantaneous_ops_per_sec:0
|
||||||
|
instantaneous_input_kbps:876.16
|
||||||
|
instantaneous_output_kbps:3010.23
|
||||||
rejected_connections:0
|
rejected_connections:0
|
||||||
sync_full:0
|
sync_full:0
|
||||||
sync_partial_ok:0
|
sync_partial_ok:0
|
||||||
|
|
Loading…
Reference in New Issue