[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2709: Magic Folder: update Operational Statistics page to take account of renames

Tahoe-LAFS trac at tahoe-lafs.org
Thu Jan 14 18:17:53 UTC 2016


#2709: Magic Folder: update Operational Statistics page to take account of renames
-------------------------------+------------------------
 Reporter:  daira              |          Owner:  daira
     Type:  defect             |         Status:  new
 Priority:  normal             |      Milestone:  1.10.3
Component:  code-frontend-web  |        Version:  n/a
 Keywords:  magic-folder       |  Launchpad Bug:
-------------------------------+------------------------
 {{{
 Drop-Uploader

 Local Directories Monitored: 0 directories
 Files Uploaded: 0 files
 File Changes Queued: 0 files
 Failed Uploads: 0 files

 Raw Stats:

 {'counters': {'magic_folder.uploader.directories_created': 1,
               'magic_folder.uploader.dirs_monitored': 1,
               'magic_folder.uploader.objects_not_uploaded': 3,
               'magic_folder.uploader.objects_queued': -1,
               'magic_folder.uploader.objects_succeeded': 4,
               'mutable.bytes_published': 385,
               'mutable.bytes_retrieved': 36194,
               'mutable.files_published': 1,
               'mutable.files_retrieved': 83,
               'uploader.bytes_uploaded': 0,
               'uploader.files_uploaded': 1},
 [...]
 }}}

 Besides the name of the section being wrong, the counts are shown as
 zeroes in the "Drop-Uploader" section because they are looking at the
 wrong raw counter names. (An underlying design flaw is that querying a
 non-existent counter gives 0, rather than an error.)

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2709>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list