[Groonga-commit] groonga/groonga [master] use area and stack.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 7月 10日 (土) 09:51:46 JST


Kouhei Sutou	2010-07-10 00:51:46 +0000 (Sat, 10 Jul 2010)

  New Revision: 4acc461440aa70c3a40921e724e9fdf56b43acaf

  Log:
    use area and stack.

  Modified files:
    data/munin/groonga_disk

  Modified: data/munin/groonga_disk (+4 -8)
===================================================================
--- data/munin/groonga_disk    2010-07-10 00:49:23 +0000 (95b6774)
+++ data/munin/groonga_disk    2010-07-10 00:51:46 +0000 (5fcae75)
@@ -11,7 +11,6 @@ label = ENV["label"]
 @groonga = ENV["groonga"] || "groonga"
 @du = ENV["du"] || "du"
 @path = ENV["path"]
- @ show_total = (ENV["show_total"] == "yes")
 
 command = ARGV.shift
 
@@ -101,13 +100,10 @@ graph_title #{title}
 graph_vlabel Bytes
 graph_category groonga
 graph_info disk usage in groonga tables and columns
-EOF
-  puts "graph_total Total" if @show_total
-
-  puts <<EOF
+graph_total Total
 
 database.label Database
-database.type GAUGE
+database.type AREA
 EOF
   schema.each do |table|
     table_key = table["key"]
@@ -115,7 +111,7 @@ EOF
     puts <<EOF
 
 #{table_key}.label #{table_name}
-#{table_key}.type GAUGE
+#{table_key}.type STACK
 EOF
     table["columns"].each do |column|
       column_key = column["key"]
@@ -123,7 +119,7 @@ EOF
       puts <<EOF
 
 #{column_key}.label #{column_name}
-#{column_key}.type GAUGE
+#{column_key}.type STACK
 EOF
     end
   end




Groonga-commit メーリングリストの案内
Back to archive index