]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
munin/tahoe_stats: add server operations per second (allocate/get/writev/readv
authorBrian Warner <warner@lothar.com>
Mon, 14 Jul 2008 20:25:35 +0000 (13:25 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 14 Jul 2008 20:25:35 +0000 (13:25 -0700)
misc/munin/tahoe_stats

index 46f3c25fe91afff2044d3918a4e86672f280a1fe..f5c54936121eba501285f60df9745d378e509a9a 100644 (file)
@@ -103,6 +103,74 @@ PLUGINS = {
                                      ]),
         },
 
+    'tahoe_storage_operations_allocate':
+        { 'statid': 'storage_server.allocate',
+          'category': 'counters',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server Allocate_Bucket Operations',
+                                     'graph_vlabel operations per second',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows how many allocate_buckets operations occured per second. Each immutable file upload causes one such operation per server.',
+                                     ]),
+          'graph_config': '\n'.join(['%(name)s.label %(name)s',
+                                     '%(name)s.type DERIVE',
+                                     '%(name)s.min 0',
+                                     '%(name)s.draw LINE1',
+                                     ]),
+          'graph_render': '\n'.join(['%(name)s.value %(value)s',
+                                     ]),
+        },
+
+    'tahoe_storage_operations_get':
+        { 'statid': 'storage_server.get',
+          'category': 'counters',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server get_bucket Operations',
+                                     'graph_vlabel operations per second',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows how many get_bucket operations occured per second. Each immutable file download/check causes one such operation per server.',
+                                     ]),
+          'graph_config': '\n'.join(['%(name)s.label %(name)s',
+                                     '%(name)s.type DERIVE',
+                                     '%(name)s.min 0',
+                                     '%(name)s.draw LINE1',
+                                     ]),
+          'graph_render': '\n'.join(['%(name)s.value %(value)s',
+                                     ]),
+        },
+
+    'tahoe_storage_operations_writev':
+        { 'statid': 'storage_server.writev',
+          'category': 'counters',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server writev Operations',
+                                     'graph_vlabel operations per second',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows how many writev operations occured per second. Each mutable file / dirnode write causes one such operation per server.',
+                                     ]),
+          'graph_config': '\n'.join(['%(name)s.label %(name)s',
+                                     '%(name)s.type DERIVE',
+                                     '%(name)s.min 0',
+                                     '%(name)s.draw LINE1',
+                                     ]),
+          'graph_render': '\n'.join(['%(name)s.value %(value)s',
+                                     ]),
+        },
+
+    'tahoe_storage_operations_readv':
+        { 'statid': 'storage_server.readv',
+          'category': 'counters',
+          'configheader': '\n'.join(['graph_title Tahoe Storage Server readv Operations',
+                                     'graph_vlabel operations per second',
+                                     'graph_category tahoe_storage_server',
+                                     'graph_info This graph shows how many readv operations occured per second. Each dirnode read causes one such operation per server.',
+                                     ]),
+          'graph_config': '\n'.join(['%(name)s.label %(name)s',
+                                     '%(name)s.type DERIVE',
+                                     '%(name)s.min 0',
+                                     '%(name)s.draw LINE1',
+                                     ]),
+          'graph_render': '\n'.join(['%(name)s.value %(value)s',
+                                     ]),
+        },
+
 
     # HELPER
     'tahoe_helper_incoming_files':