Commit Graph

29 Commits

Author SHA1 Message Date
Karsten Loesing
09d94661db Update to latest metrics-lib version 2.14.0.
As a result, we'll be able to process OnionPerf analysis JSON file
version 3.0.
2020-08-07 21:07:50 +02:00
Karsten Loesing
f83d759921 Update to metrics-lib 2.13.0. 2020-05-16 17:48:15 +02:00
Karsten Loesing
5cdcfc0180 Switch from OnionPerf's .tpf to .json files.
Implements #34109.
2020-05-04 09:53:56 +02:00
Karsten Loesing
e61e34b091 Update metrics-lib and ExoneraTor versions. 2020-04-18 18:21:03 +02:00
Karsten Loesing
999874057e Estimate bridge users by country based on requests.
Estimate bridge users by country based on requests by country, if
available, to get more accurate numbers than those obtained from
unique IP address counts.

Fixes #18167.
2020-04-11 08:20:21 +02:00
Karsten Loesing
3fcbcf84c9 Estimate direct users based on dirreq responses.
Estimate relay users by country based on responses to directory
requests to reduce the overall effect of binning and to make relay and
bridge user estimates more comparable.

Implements #18203.
2020-04-11 08:20:15 +02:00
Karsten Loesing
334550d6d5 Simplify logging configuration.
Implements #33549.
2020-03-31 10:30:46 +02:00
Karsten Loesing
714b2ee0cc Rewrite insert_bwhist in SQL.
The old PL/pgSQL version of this function made three lookups in the
bwhist table to 1) check whether a row already exists, 2) insert or
update the row, and 3) update the row once again with array sums. The
new SQL version uses the INSERT ON CONFLICT statement introduced in
PostgreSQL 9.5 (Debian stretch has 9.6, buster has 11). The
performance gain measured using metrics-test is impressive, computed
aggregates are equivalent.
2020-03-03 11:34:28 +01:00
Karsten Loesing
efa490efdf Extract directory authority bytes per day.
Implements #33065.
2020-03-03 11:34:22 +01:00
Karsten Loesing
efb86141eb Set default time zone UTC. 2020-02-21 18:22:03 +01:00
Karsten Loesing
9cd3ac5aa2 Set default locale US.
Fixes #24532.
2020-02-21 18:21:52 +01:00
Karsten Loesing
af1af0a911 Update metrics-lib and ExoneraTor versions.
Also configure a base URL in order to turn ExoneraTor's permanent
links into https:// links.
2020-01-16 09:35:29 +01:00
Karsten Loesing
8695704b70 Make Jetty host configurable.
Related to #24222.
2020-01-13 09:49:50 +01:00
Karsten Loesing
4448f5fc0d Improve runtime performance of hidserv module.
Fixes #25924.
2019-12-02 16:46:15 +01:00
Karsten Loesing
4ae4da944d Bump version to 1.3.0-dev. 2019-11-09 22:46:28 +01:00
Karsten Loesing
d4581513c4 Prepare for 1.3.0 release. 2019-11-09 21:43:49 +01:00
Karsten Loesing
9d34311e53 Update to metrics-lib 2.9.1 and ExoneraTor 4.2.0. 2019-11-09 20:38:51 +01:00
Karsten Loesing
3a663e8ff6 Update to latest metrics-base and metrics-lib.
This update includes an update of PostgreSQL JDBC driver version to
42.2.5.
2019-09-17 10:05:27 +02:00
Karsten Loesing
a881d0f480 Remove Cobertura from the build process. 2019-08-14 11:47:41 +02:00
Karsten Loesing
844fcbe9f7 Use Ivy for resolving external dependencies.
Includes a metrics-lib upgrade to 2.6.2 and an upgrade to the latest
metrics-base commit 256e619.

Implements part of #31326.
2019-08-06 17:33:26 +02:00
Karsten Loesing
54976512ff Extend ipv6servers to replace servers.csv.
This change extends the ipv6servers module to generate all relevant
data about servers (relays and bridges) that the legacy module
currently generates.

There are several reasons why this is useful:

 - This change is a step towards implementing all statistics in Java,
   without needing to call psql or other external tools from within
   Ant. In fact, it's a step towards getting rid of Ant for executing
   modules.
 - The ipv6servers module already supports other statistics than
   absolute server counts, namely advertised bandwidths. It's easy to
   extend statistics to consensus weights and guard/middle/exit
   probabilities. This prepares future graphs which can be added
   quite easily.
 - With these new statistics we can finally provide graphs on bridges
   by version or platform. Or we can extend current graphs to display
   both relays and bridges, if we want to avoid adding more graphs.

This commit does not yet remove any code from the legacy module. That
will be the next logical step. It will even be fun.

Implements #28116.
2018-11-11 08:28:27 +01:00
Karsten Loesing
285be4447d Add graph with total cw across bwauths.
Implements #25459.
2018-10-16 16:02:58 +02:00
Karsten Loesing
581c62e94b Prepare for 1.2.0 release. 2018-09-25 09:30:45 +02:00
Karsten Loesing
1284c8adf8 Prepare for 1.1.0 release. 2018-05-29 15:21:45 +02:00
Karsten Loesing
b2f1b3944e Avoid sending an error after a (partial) response.
Also take out some unused code.

Fixes #24823.
2018-01-31 16:17:48 +01:00
Karsten Loesing
d8e8c3ddae Prepare for 1.0.3 release. 2017-12-20 15:28:35 +01:00
Karsten Loesing
86a0e31ae5 Update change log for last two internal releases. 2017-10-05 09:53:45 +02:00
Karsten Loesing
77adb30fdd Update link to old user number estimates.
Uploaded by dcf. Fixes #13606.
2017-09-25 10:18:19 +02:00
Karsten Loesing
471cf98c2d Prepare for 1.0.0 release. 2017-09-19 14:30:54 +02:00