[metrics-bugs] #25383 [Metrics/Website]: Deprecate stats.html and stats/*.csv files
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Mar 3 21:47:35 UTC 2018
#25383: Deprecate stats.html and stats/*.csv files
-----------------------------+------------------------------
Reporter: karsten | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Website | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------
Comment (by dcf):
Replying to [comment:7 irl]:
> Replying to [comment:6 dcf]:
> > for one transport, the top countries that use that transport
>
> Currently the arguments that are passed to the graphing backend are only
date ranges and countries, so plotting for any one thing that isn't a
country won't be supported. In the new approach, would the CSV for all
countries still be usable for this? If not, we should consider what other
similar use cases we might be breaking.
I did take a look at the CSV for all countries (i.e.,
https://metrics.torproject.org/userstats-bridge-
combined.csv?start=2017-12-03&end=2018-03-03&country=all, what you get
when you click "CSV" on https://metrics.torproject.org/userstats-bridge-
combined.html without selecting a country). However, it only gives you the
sum of all countries together, not the results for each country
individually:
{{{
date,users
2017-12-03,37760
2017-12-04,39172
2017-12-05,40447
...
}}}
If the "all" CSV link had all the countries in separate rows, then the new
approach would work for this use case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25383#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list