lib/redis-stat/constants.rb in redis-stat-0.4.12-java vs lib/redis-stat/constants.rb in redis-stat-0.4.13

- old
+ new

@@ -37,10 +37,11 @@ :at, :used_cpu_user, :used_cpu_sys, :connected_clients, :blocked_clients, + :rejected_connections_per_second, :used_memory, :used_memory_rss, :mem_fragmentation_ratio, :keys, :total_commands_processed_per_second, @@ -67,10 +68,11 @@ :at => [:bold], :used_cpu_user => [:yellow, :bold], :used_cpu_sys => [:yellow], :connected_clients => [:cyan, :bold], :blocked_clients => [:cyan, :bold], + :rejected_connections_per_second => [:cyan], :used_memory => [:green], :used_memory_rss => [:green], :mem_fragmentation_ratio => [:green], :keys => [:bold], :total_commands_processed => [:blue, :bold], @@ -96,10 +98,11 @@ :at => 'time', :used_cpu_user => 'us', :used_cpu_sys => 'sy', :connected_clients => 'cl', :blocked_clients => 'bcl', + :rejected_connections_per_second => 'rej/s', :used_memory => 'mem', :used_memory_rss => 'rss', :mem_fragmentation_ratio => 'frag', :total_commands_processed => 'cmd', :total_commands_processed_per_second => 'cmd/s', @@ -125,9 +128,11 @@ :at => :f, :used_cpu_user => :f, :used_cpu_sys => :f, :connected_clients => :i, :blocked_clients => :i, + :rejected_connections => :i, + :rejected_connections_per_second => :f, :used_memory => :i, :used_memory_rss => :i, :mem_fragmentation_ratio => :f, :total_commands_processed => :i, :total_commands_processed_per_second => :f,