[tor-bugs] #32665 [Metrics/Library]: Parse newly added Snowflake statistics lines

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 3 13:51:47 UTC 2019


#32665: Parse newly added Snowflake statistics lines
---------------------------------+--------------------------
     Reporter:  karsten          |      Owner:  metrics-team
         Type:  enhancement      |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Library  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 As cohosh writes in #31157, Snowflake statistics files will soon
 [https://gitweb.torproject.org/pluggable-
 transports/snowflake.git/commit/doc/broker-
 spec.txt?id=94de69aa369ebdee0cee5b683a42ebc8811a796d contain new lines]:

 {{{
 diff --git a/doc/broker-spec.txt b/doc/broker-spec.txt
 index 2877784..eba3347 100644
 --- a/doc/broker-spec.txt
 +++ b/doc/broker-spec.txt
 @@ -31,6 +31,24 @@ Metrics data from the Snowflake broker can be retrieved
 by sending an HTTP GET r
          A count of the total number of unique IP addresses of Snowflake
          proxies that have polled.

 +    "snowflake-ips-standalone" NUM NL
 +        [At most once.]
 +
 +        A count of the total number of unique IP addresses of snowflake
 +        proxies of type "standalone" that have polled.
 +
 +    "snowflake-ips-badge" NUM NL
 +        [At most once.]
 +
 +        A count of the total number of unique IP addresses of snowflake
 +        proxies of type "badge" that have polled.
 +
 +    "snowflake-ips-webext" NUM NL
 +        [At most once.]
 +
 +        A count of the total number of unique IP addresses of snowflake
 +        proxies of type "webext" that have polled.
 +
      "snowflake-idle-count" NUM NL
          [At most once.]
 }}}

 Let's parse these new lines in metrics-lib as soon as files containing
 them exist on CollecTor.

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


More information about the tor-bugs mailing list