[tor-bugs] #32135 [Circumvention/BridgeDB]: Write BridgeDB metrics parser and analyse existing data

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 16 16:45:29 UTC 2019


#32135: Write BridgeDB metrics parser and analyse existing data
------------------------------------+------------------------------
 Reporter:  phw                     |          Owner:  phw
     Type:  task                    |         Status:  needs_review
 Priority:  Medium                  |      Milestone:
Component:  Circumvention/BridgeDB  |        Version:
 Severity:  Normal                  |     Resolution:
 Keywords:  s30-o21a1               |  Actual Points:
Parent ID:  #31274                  |         Points:  2
 Reviewer:                          |        Sponsor:
------------------------------------+------------------------------
Changes (by karsten):

 * status:  assigned => needs_review


Comment:

 Okay, I finished a first [https://gitweb.torproject.org/user/karsten
 /metrics-
 web.git/commit/?h=task-32135&id=93f2500cabf22fdf03d109bb7855445b18afd62d
 patch] that processes BridgeDB metrics once per day to produce a .csv file
 and that adds two graphs to Tor Metrics. Can you please take a look at
 that patch, not regarding the Java/R code, but regarding user-facing
 documentation of the two new graphs? In particular, please take a look at
 the `TODO`s in that patch. (irl, I'll ask you to review a revised branch
 for the code portions once the documentation parts are all set.)

 By the way, while reading your code, I found that you're only looking at
 BridgeDB metrics files in CollecTor's `recent/` directory. There's
 currently a (minor) bug in CollecTor where we never remove files from that
 directory. I'm going to fix that at some point, and then your script will
 only provide the latest three files. A possible fix would be to also
 process files in CollecTor's `archive/` directory. Not sure how much of an
 issue that is when these graphs exist on Tor Metrics, but I thought I
 should let you know.

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


More information about the tor-bugs mailing list