]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
stats: added stats reporting to the upload helper
authorrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 26 Mar 2008 01:19:08 +0000 (18:19 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 26 Mar 2008 01:19:08 +0000 (18:19 -0700)
commit5446ea5d67d7246ed5cf27283825d1fb298e2e8a
tree7d678a04eeb0f772717c22c880822fe7df07b90b
parent4b68eb0d95cdcb814841501b70f0067843a35d67
stats: added stats reporting to the upload helper

adds a stats_producer for the upload helper, which provides a series of counters
to the stats gatherer, under the name 'chk_upload_helper'.

it examines both the 'incoming' directory, and the 'encoding' dir, providing
inc_count inc_size inc_size_old enc_count enc_size enc_size_old, respectively
the number of files in each dir, the total size thereof, and the aggregate
size of all files older than 48hrs
src/allmydata/client.py
src/allmydata/offloaded.py