munin/tahoe_stats: add server operations per second (allocate/get/writev/readv

This commit is contained in:
Brian Warner 2008-07-14 13:25:35 -07:00
parent 0f231e2e66
commit 390c5c6ca5

View 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':