[tor-bugs] #20802 [Metrics/Atlas]: last metric point of "1 Week graph" of exit probability is 1 hour ahead in the future

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 31 21:22:40 UTC 2017


#20802: last metric point of "1 Week graph" of exit probability is 1 hour ahead in
the future
---------------------------+------------------------------------
 Reporter:  toralf         |          Owner:  karsten
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:
Component:  Metrics/Atlas  |        Version:  Tor: 0.2.9.5-alpha
 Severity:  Minor          |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------------

Comment (by karsten):

 RaBe, I'm not sure I understand what you're saying.  But I just found a
 possibly related bug.  Consider these two links:

 https://atlas.torproject.org/#details/1AF72E8906E6C49481A791A6F8F84F8DFEBBB2BA

 https://onionoo.torproject.org/weights?lookup=1AF72E8906E6C49481A791A6F8F84F8DFEBBB2BA

 The 3-month weights graph on the Atlas page shows 2016-11-27 18:00:00 as
 first data point and 2017-02-01 06:00:00 as last data point.

 But Onionoo tells me the following:

 {{{
 "3_months":{
   "first":"2016-11-27 06:00:00",
   "last":"2017-01-31 18:00:00",
   "interval":43200,
   "factor":7.158203801551552E-6,
   "count":132,
   "values":[...]
 }}}

 Note the definition of "first" from the Onionoo protocol page: "UTC
 timestamp (YYYY-MM-DD hh:mm:ss) of the first data point, or more
 specifically the interval midpoint of the first interval."

 Could it be that we're adding the interval seconds once too often for the
 graph?

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


More information about the tor-bugs mailing list