[tor-bugs] #31493 [Circumvention/Snowflake]: Add a version to the metrics output

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 26 16:06:35 UTC 2019


#31493: Add a version to the metrics output
-------------------------------------+------------------------------
 Reporter:  cohosh                   |          Owner:  cohosh
     Type:  defect                   |         Status:  needs_review
 Priority:  Medium                   |      Milestone:
Component:  Circumvention/Snowflake  |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:                           |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:  Sponsor28
-------------------------------------+------------------------------

Comment (by cohosh):

 Just trying to coordinate two tickets here. I made this change based on
 feedback from the metrics team
 [https://trac.torproject.org/projects/tor/ticket/29461#comment:24 here].
 The spec says that it does occur "At start, exactly once."

 I could make a separate version line so the spec would be as follows:
 {{{
     "snowflake-stats-end" YYYY-MM-DD HH:MM:SS (NSEC s) NL
         [At start, exactly once.]
         YYYY-MM-DD HH:MM:SS defines the end of the included measurement
         interval of length NSEC seconds (86400 seconds by default).
     "snowflake-stats-version" V.v
         [Exactly once.]
         V.v defines the major and minor version of the snowflake
         broker stats specification being used.
     "snowflake-ips" CC=NUM,CC=NUM,... NL
         [At most once.]
         List of mappings from two-letter country codes to the number of
         unique IP addresses of snowflake proxies that have polled.
     "snowflake-ips-total" NUM NL
         [At most once.]
         A count of the total number of unique IP addresses of snowflake
         proxies that have polled.

 [omitting rest of spec]
 }}}

 I'll let the metrics team decide if this is easier/better.

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


More information about the tor-bugs mailing list