]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
munin/tahoe_stats: rearrange config a bit, no functional changes
authorBrian Warner <warner@lothar.com>
Mon, 14 Jul 2008 20:25:01 +0000 (13:25 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 14 Jul 2008 20:25:01 +0000 (13:25 -0700)
misc/munin/tahoe_stats

index 57d18e781becd076669dd8353db94dc315163ca8..46f3c25fe91afff2044d3918a4e86672f280a1fe 100644 (file)
@@ -9,14 +9,14 @@ import time
 STAT_VALIDITY = 300 # 5min limit on reporting stats
 
 PLUGINS = {
-    'tahoe_storage_consumed':
-        { 'statid': 'storage_server.consumed',
+    # LOAD AVERAGE
+    'tahoe_runtime_load_avg':
+        { 'statid': 'load_monitor.avg_load',
           'category': 'stats',
-          'configheader': '\n'.join(['graph_title Tahoe Storage Server Space Consumed',
-                                     'graph_vlabel bytes',
-                                     'graph_category tahoe_storage_server',
-                                     'graph_info This graph shows space consumed',
-                                     'graph_args --base 1024',
+          'configheader': '\n'.join(['graph_title Tahoe Runtime Load Average',
+                                     'graph_vlabel load',
+                                     'graph_category tahoe',
+                                     'graph_info This graph shows average reactor delay',
                                      ]),
           'graph_config': '\n'.join(['%(name)s.label %(name)s',
                                      '%(name)s.draw LINE1',
@@ -24,14 +24,14 @@ PLUGINS = {
           'graph_render': '\n'.join(['%(name)s.value %(value)s',
                                      ]),
         },
-    'tahoe_storage_allocated':
-        { 'statid': 'storage_server.allocated',
+
+    'tahoe_runtime_load_peak':
+        { 'statid': 'load_monitor.max_load',
           'category': 'stats',
-          'configheader': '\n'.join(['graph_title Tahoe Storage Server Space Allocated',
-                                     'graph_vlabel bytes',
-                                     'graph_category tahoe_storage_server',
-                                     'graph_info This graph shows space allocated',
-                                     'graph_args --base 1024',
+          'configheader': '\n'.join(['graph_title Tahoe Runtime Load Peak',
+                                     'graph_vlabel load',
+                                     'graph_category tahoe',
+                                     'graph_info This graph shows peak reactor delay',
                                      ]),
           'graph_config': '\n'.join(['%(name)s.label %(name)s',
                                      '%(name)s.draw LINE1',
@@ -40,13 +40,15 @@ PLUGINS = {
                                      ]),
         },
 
-    'tahoe_runtime_load_avg':
-        { 'statid': 'load_monitor.avg_load',
+    # STORAGE ALLOCATION (BYTES)
+    'tahoe_storage_consumed':
+        { 'statid': 'storage_server.consumed',
           'category': 'stats',
-          'configheader': '\n'.join(['graph_title Tahoe Runtime Load Average',
-                                     'graph_vlabel load',
-                                     'graph_category tahoe',
-                                     'graph_info This graph shows average reactor delay',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server Space Consumed',
+                                     'graph_vlabel bytes',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows space consumed',
+                                     'graph_args --base 1024',
                                      ]),
           'graph_config': '\n'.join(['%(name)s.label %(name)s',
                                      '%(name)s.draw LINE1',
@@ -54,13 +56,15 @@ PLUGINS = {
           'graph_render': '\n'.join(['%(name)s.value %(value)s',
                                      ]),
         },
-    'tahoe_runtime_load_peak':
-        { 'statid': 'load_monitor.max_load',
+
+    'tahoe_storage_allocated':
+        { 'statid': 'storage_server.allocated',
           'category': 'stats',
-          'configheader': '\n'.join(['graph_title Tahoe Runtime Load Peak',
-                                     'graph_vlabel load',
-                                     'graph_category tahoe',
-                                     'graph_info This graph shows peak reactor delay',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server Space Allocated',
+                                     'graph_vlabel bytes',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows space allocated',
+                                     'graph_args --base 1024',
                                      ]),
           'graph_config': '\n'.join(['%(name)s.label %(name)s',
                                      '%(name)s.draw LINE1',
@@ -83,6 +87,7 @@ PLUGINS = {
           'graph_render': '\n'.join(['%(name)s.value %(value)s',
                                      ]),
         },
+
     'tahoe_storage_bytes_freed':
         { 'statid': 'storage_server.bytes_freed',
           'category': 'counters',
@@ -98,6 +103,8 @@ PLUGINS = {
                                      ]),
         },
 
+
+    # HELPER
     'tahoe_helper_incoming_files':
         { 'statid': 'chk_upload_helper.incoming_count',
           'category': 'stats',
@@ -280,6 +287,7 @@ PLUGINS = {
                                      ]),
         },
 
+    # WEBAPI
     'tahoe_uploader_bytes_uploaded':
         { 'statid': 'uploader.bytes_uploaded',
           'category': 'counters',