mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-11 23:03:53 +00:00
munin: added a series of munin graphs to report upload helper state
This commit is contained in:
parent
5446ea5d67
commit
d8f3521a02
@ -98,6 +98,92 @@ PLUGINS = {
|
|||||||
]),
|
]),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'tahoe_helper_incoming_files':
|
||||||
|
{ 'statid': 'chk_upload_helper.inc_count',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Incoming File Count',
|
||||||
|
'graph_vlabel n files',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows number of incoming files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
'tahoe_helper_incoming_filesize':
|
||||||
|
{ 'statid': 'chk_upload_helper.inc_size',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Incoming File Size',
|
||||||
|
'graph_vlabel bytes',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows total size of incoming files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
'tahoe_helper_incoming_files_old':
|
||||||
|
{ 'statid': 'chk_upload_helper.inc_size_old',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Incoming Old Files',
|
||||||
|
'graph_vlabel bytes',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows total size of old incoming files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
|
||||||
|
'tahoe_helper_encoding_files':
|
||||||
|
{ 'statid': 'chk_upload_helper.enc_count',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Encoding File Count',
|
||||||
|
'graph_vlabel n files',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows number of encoding files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
'tahoe_helper_encoding_filesize':
|
||||||
|
{ 'statid': 'chk_upload_helper.enc_size',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Encoding File Size',
|
||||||
|
'graph_vlabel bytes',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows total size of encoding files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
'tahoe_helper_encoding_files_old':
|
||||||
|
{ 'statid': 'chk_upload_helper.enc_size_old',
|
||||||
|
'category': 'stats',
|
||||||
|
'configheader': '\n'.join(['graph_title Tahoe Upload Helper Encoding Old Files',
|
||||||
|
'graph_vlabel bytes',
|
||||||
|
'graph_category tahoe_helper',
|
||||||
|
'graph_info This graph shows total size of old encoding files',
|
||||||
|
]),
|
||||||
|
'graph_config': '\n'.join(['%(name)s.label %(name)s',
|
||||||
|
'%(name)s.draw LINE1',
|
||||||
|
]),
|
||||||
|
'graph_render': '\n'.join(['%(name)s.value %(value)s',
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def smash_name(name):
|
def smash_name(name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user