[tor-bugs] #2605 [Metrics]: Metrics shouldn't rely on GetTor to provide history
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Feb 23 12:47:26 UTC 2011
#2605: Metrics shouldn't rely on GetTor to provide history
-------------------------+--------------------------------------------------
Reporter: kaner | Owner: karsten
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Metrics | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by karsten):
I just checked that metrics-db can handle cases where only the last N days
of history are available. But N shouldn't be 1, because the last day is
only going to be complete shortly before it gets cut off and replaced by
the next day. It's also possible that metrics-db crashes and doesn't
download the stats file for a few days or longer when I'm not around. Can
we set N to, say, 30? If so, feel free to do that.
To answer the comment: yes, metrics-db can handle removing or changing
package names. Removing a package would be counted as having 0 downloads
of that package, so that'd be a safe thing to do.
Changing package names is not so nice. We rely on package names for
plotting TBB (en), TBB (zh_CN), and TBB (fa). So, if `tor-browser-
bundle_en` would change to, say, `tbb_en`, we might have to add a rule
saying that the two are equal. That wouldn't make the metrics code
prettier. Maybe give me a heads-up before changing any package names in
particular?
Does that answer your question? If so, please close the ticket or tell me
to do so.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2605#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list