]),
},
+ '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):