Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
changed graph category
Browse files Browse the repository at this point in the history
  • Loading branch information
gilles committed Jan 5, 2011
1 parent 7a124ad commit e163b34
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion redis_changes_since_last_save_
Expand Up @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ }

if config
puts "graph_title Redis Changes since last save"
puts "graph_category other"
puts "graph_category redis"

puts "memory.label changes"
else
Expand Down
2 changes: 1 addition & 1 deletion redis_databases_
Expand Up @@ -14,7 +14,7 @@ infos = Redis.new(:host => ip, :port => port).info.inject({}) { |h, (k, v)| h[k]

if config
puts "graph_title Redis Keys"
puts "graph_category other"
puts "graph_category redis"

infos.each { |db, infos| puts "#{db}_keys.label #{db} keys"; puts "#{db}_expires.label #{db} expires" }
else
Expand Down
2 changes: 1 addition & 1 deletion redis_memory_
Expand Up @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ }

if config
puts "graph_title Redis Memory"
puts "graph_category other"
puts "graph_category redis"

puts "memory.label memory"
else
Expand Down
2 changes: 1 addition & 1 deletion redis_total_commands_
Expand Up @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ }

if config
puts "graph_title Redis Total Commands"
puts "graph_category other"
puts "graph_category redis"

puts "memory.label commands"
else
Expand Down
2 changes: 1 addition & 1 deletion redis_total_connections_
Expand Up @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ }

if config
puts "graph_title Redis Total Connections"
puts "graph_category other"
puts "graph_category redis"

puts "memory.label connections"
else
Expand Down
2 changes: 1 addition & 1 deletion redis_users_
Expand Up @@ -12,7 +12,7 @@ config = ARGV.any? { |a| a =~ /config/ }

if config
puts "graph_title Redis Connections"
puts "graph_category other"
puts "graph_category redis"

puts "memory.label Connections"
else
Expand Down

0 comments on commit e163b34

Please sign in to comment.