mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
munin stats: add mutable/uploader traffic graphs
this adds munin graphs to present data already published by nodes to the stats_gatherer, namely mutable files published/retrieved, and immutable files uploaded, and the bytes thereof
This commit is contained in:
parent
186492e620
commit
f74042c75e
@ -280,6 +280,71 @@ PLUGINS = {
|
||||
]),
|
||||
},
|
||||
|
||||
'tahoe_uploader_bytes_uploaded':
|
||||
{ 'statid': 'uploader.bytes_uploaded',
|
||||
'category': 'counters',
|
||||
'configheader': '\n'.join(['graph_title Tahoe Uploader Bytes Uploaded',
|
||||
'graph_vlabel bytes',
|
||||
'graph_category tahoe_traffic',
|
||||
'graph_info This graph shows the number of bytes uploaded',
|
||||
]),
|
||||
'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_uploader_files_uploaded':
|
||||
{ 'statid': 'uploader.files_uploaded',
|
||||
'category': 'counters',
|
||||
'configheader': '\n'.join(['graph_title Tahoe Uploader Bytes Uploaded',
|
||||
'graph_vlabel files',
|
||||
'graph_category tahoe_traffic',
|
||||
'graph_info This graph shows the number of files uploaded',
|
||||
]),
|
||||
'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_mutable_bytes_published':
|
||||
{ 'statid': 'mutable.bytes_published',
|
||||
'category': 'counters',
|
||||
'configheader': '\n'.join(['graph_title Tahoe Mutable Files Published',
|
||||
'graph_vlabel files',
|
||||
'graph_category tahoe_traffic',
|
||||
'graph_info This graph shows the number of mutable files published',
|
||||
]),
|
||||
'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_mutable_files_retrieved':
|
||||
{ 'statid': 'mutable.files_retrieved',
|
||||
'category': 'counters',
|
||||
'configheader': '\n'.join(['graph_title Tahoe Mutable Files Retrieved',
|
||||
'graph_vlabel files',
|
||||
'graph_category tahoe_traffic',
|
||||
'graph_info This graph shows the number of files retrieved',
|
||||
]),
|
||||
'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',
|
||||
]),
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
def smash_name(name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user