[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11041 [Onionoo]: Add new document type with monthly relay and bridge statistics to Onionoo



#11041: Add new document type with monthly relay and bridge statistics to Onionoo
-----------------------------+-----------------
     Reporter:  karsten      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by karsten):

 Here's a slightly different plan that I came up with while working on
 #10331: instead of creating a new document type, we could add new graph
 lines to existing document types.

 Current graph lines contain the following fields:
  - first: datetime of the first data point
  - last: datetime of the last data point
  - interval: interval length in seconds
  - count: number of data points

 Example with 5 data points:

 {{{
         interval
         +-----+           count = 5
         |     |
 --------+-----+-----+-----+-----+-------
         0     1     2     3     4
       first                    last
 }}}

 (To be extra precise, the datetime of a data point is the interval
 midpoint, not the start.  A data point represents data between that
 datetime - interval/2 and datetime + interval/2.  This doesn't matter for
 making graphs, but the new monthly data below would be different.)

 The new monthly data line could contain the following fields:
  - start: datetime of the first data point
  - end: datetime of the last data point
  - breaks: time unit when a data point ends and the next begins
  - count: number of data points

 Example with 5 data points:

 {{{
           breaks = "1 month"    count = 5

 --------+---+-------+---------+-------+---+------------
         | 0     1        2        3     4 |
       start                              end
 }}}

 In that example, data points 1, 2, and 3 cover full months (note how 2 is
 a longer month than 1 and 3), and 0 and 4 are only partial months.  This
 shouldn't matter for making tables, but it becomes relevant when people
 start transforming data, say, to convert total bytes into bytes per time
 unit.

 This is mostly a note for myself and for people interested in seeing
 progress on this ticket.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11041#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