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

Re: [tor-bugs] #6395 [Metrics Data Processor]: Can we remove GetTor statistics from metrics-*?



#6395: Can we remove GetTor statistics from metrics-*?
------------------------------------+---------------------------------------
 Reporter:  karsten                 |          Owner:     
     Type:  task                    |         Status:  new
 Priority:  normal                  |      Milestone:     
Component:  Metrics Data Processor  |        Version:     
 Keywords:                          |         Parent:     
   Points:                          |   Actualpoints:     
------------------------------------+---------------------------------------

Comment(by ioerror):

 Replying to [comment:11 karsten]:
 > Replying to [comment:9 ioerror]:
 > > Karsten, I'm confused - why not simply define a format that is
 expected and fail to graph (but someone can store) it; all the while
 graphs are regularly generated?
 > >
 > > The easy thing is to just ensure that the parser is implemented in
 GetTor and GetTor attempts to parse the data before sending it onward. In
 the event that it can't parse the data, we send kaner or me or someone an
 email about it. The graphs might get choppy from time to time but never in
 a time sensitive way, never with lost data, etc.
 >
 > What happened in June/early July was just one way for the GetTor-metrics
 connection to break.  There are plenty other problems that maintaining
 GetTor stats on the metrics side involves.  I mentioned some of them in my
 earlier post: bugs in the metrics-* code, more work to refactor metrics-*,
 additional code in parsing library, need for documentation of GetTor stats
 format, etc.
 >

 I suppose so. I guess I don't see one breakage as a sign of systemic
 failure that indicates we should scrap it all.

 > > Most of that can happen on the GetTor side - I feel like the rest is
 implemented on your side already. It seems a bit much to maintain a
 totally different site for an area of the metrics page that already
 exists.
 >
 > The idea was to write a command-line tool that downloads GetTor's
 existing stats export (which covers months of data, or possibly the entire
 aggregate history of GetTor operation if we want to) and plots a graph
 locally.  No website involved.  If you or Andrew want a graph, you go to
 your `~/src/gettor/` and run `./plot-stats.py` or maybe even `./plot-
 stats.py --from 2012-06-01 --to 2012-06-30`.  I would write/document/test
 that code, and kaner would maintain it in the GetTor repo (thanks for
 that!).  Would that work for you?

 That seems like a bunch of work to do what we're already doing with a less
 generic interface and it would only be useful for about two people.

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