[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14453 [BridgeDB]: Implement statistics gathering for number of Bridges-per-Transport in BridgeDB
#14453: Implement statistics gathering for number of Bridges-per-Transport in
BridgeDB
--------------------------+---------------------------------------------
Reporter: isis | Owner: isis
Type: task | Status: new
Priority: normal | Milestone:
Component: BridgeDB | Version:
Resolution: | Keywords: tor-bridge,bridgedb,SponsorS-pt
Actual Points: | Parent ID:
Points: |
--------------------------+---------------------------------------------
Comment (by karsten):
I'm not clear whether we need statistics on the number of available
bridges by transport, or on the number of requests to BridgeDB by
transport. The former is a task for Metrics, the latter requires
specifying a data format for BridgeDB statistics which CollecTor can fetch
and then it requires writing code for CollecTor and then Metrics. I hope
we didn't promise the latter.
Assuming we want number of bridges by transport, would you want to write
the (Python) code for Metrics? Here's how this code could work:
- fetch the latest sanitized bridge descriptors from
https://collector.torproject.org/recent/bridge-descriptors/extra-infos/,
- parse them, possibly using Stem, and extract the stats we want,
- add those new numbers to previously produced stats, which may be stored
in a local file or database, and
- write a .csv file with all daily means to disk.
I would run that script in a cronjob on yatei, and I'd write the necessary
HTML and R/ggplot2 to turn the .csv into a shiny graph on Metrics.
Does that make sense?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14453#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs