[tor-bugs] #19934 [Metrics/CollecTor]: CollecTor should use new metrics-lib json classes

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 7 15:40:25 UTC 2016


#19934: CollecTor should use new metrics-lib json classes
-------------------------------+---------------------------------
 Reporter:  iwakeh             |          Owner:  iwakeh
     Type:  enhancement        |         Status:  needs_review
 Priority:  Medium             |      Milestone:  CollecTor 1.1.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------

Comment (by iwakeh):

 Some thoughts:

 1. The implementation of #18910 requires CollecTor to have a Java
 representation of index.json to choose the documents to download from the
 partner-synch-Collector instance(s), especially with the pick-and-choose
 requirements from comment:11 in #18910.

 2. Shouldn't a CollecTor instance have more fine grained control when
 creating index.json? More than just specifying a directory. Currently it
 includes already `recent` and `archive`.

 3. The package was designated as '''alpha''' to prevent too early reliance
 on the new API to have more flexibility when implementing #18910. It is
 well tested in metrics-lib.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19934#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list