Commit Graph

1567 Commits

Author SHA1 Message Date
Karsten Loesing
c8ec9bb9af Update to latest metrics-base and -lib. 2020-06-18 09:13:58 +02:00
Karsten Loesing
eb6b54f263 Update to latest metrics-lib. 2020-06-15 15:44:10 +02:00
Karsten Loesing
9a9b848d10 Update to BridgeDB metrics version 2. 2020-06-15 15:42:53 +02:00
Karsten Loesing
80a7f16a43 Update news.json to version 362 of doc/MetricsTimeline. 2020-06-10 10:56:06 +02:00
Karsten Loesing
110cb010bd Include partials in download performance graphs.
As part of #34023, we're going to give up on making 50 KiB and 1 MiB
downloads in the near future. In order to continue plotting time to
download these file sizes we're including partial downloads of larger
file sizes.

Implements #30611.
2020-05-25 09:24:56 +02:00
Karsten Loesing
575741e33e Include v3 onion OnionPerf measurements.
In commit 7af8f10 we started ignoring v3 onion OnionPerf measurements,
because including a third option in addition to "public" and "onion"
would have required writing more code.

However, an analysis in #33434 revealed that v3 onion measurements are
basically no different than v2 onion measurements. As a result we're
turning off v2 onion measurements and combining v2 and v3 onion
measurements in existing graphs.

Implements #34032.
2020-05-25 09:24:26 +02:00
Karsten Loesing
f83d759921 Update to metrics-lib 2.13.0. 2020-05-16 17:48:15 +02:00
Karsten Loesing
af3e13735b Fix anchors for OnionPerf analysis files. 2020-05-10 19:21:19 +02:00
Karsten Loesing
73f19f3c35 Update to latest metrics-lib. 2020-05-04 10:27:22 +02:00
Karsten Loesing
96b6277804 Link to OnionPerf analysis .json files. 2020-05-04 10:26:24 +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
95d4c5a59b Stop rounding y axis labels with units.
The unit_format function in our somewhat outdated scales package
rounds labels to whichever we accuracy we ask for. However, in some
cases this is difficult to do right (e.g., Time to download files over
Tor graph with measurements apparently getting faster over time), in
other cases it's impossible (Advertised bandwidth distribution graph
with 1st and 99th percentile having different orders of magnitude).

The new custom_unit_format function does not round labels and instead
determines more reasonably how many digits it needs to print.

Fixes #34103.
2020-05-04 09:37:46 +02:00
Karsten Loesing
d00c00a7cf Update news.json and metrics-lib. 2020-04-28 12:00:42 +02:00
Karsten Loesing
ab52da8d3c Always show 2 decimal digits in advbwdist graphs.
Fixes #33933.
2020-04-19 09:12:02 +02:00
Karsten Loesing
e61e34b091 Update metrics-lib and ExoneraTor versions. 2020-04-18 18:21:03 +02:00
Karsten Loesing
b14639f710 Fix unit tests broken by #24941. 2020-04-11 08:29:02 +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
da604d9c11 Add error code and message for code 400 responses.
Fixes #32683.
2020-04-08 08:15:39 +02:00
Karsten Loesing
abf7e92e31 Update to latest metrics-lib. 2020-04-06 11:49:59 +02:00
Karsten Loesing
d00bdbf577 Fix a couple style issues found by lintr.
- style: Lines should not be more than 80 characters.
 - style: Only use double-quotes.
 - style: Put spaces around all infix operators.
 - style: Trailing blank lines are superfluous.
 - warning: local variable ‘...’ assigned but may not be used

Also leave a comment to run lintr after making non-trivial changes.
2020-04-06 11:45:34 +02:00
Karsten Loesing
0f43eba6e8 Add simplified logging configuration to .war file.
Still part of #33549.
2020-04-02 12:50:58 +02:00
Karsten Loesing
157174ff31 Add first/last published months to CollecTor page.
Implements #24941.
2020-04-02 12:40:04 +02:00
Karsten Loesing
9844bc523c Set default locale US and default time zone UTC.
Part of these changes have already been made in earlier commits as
part of #24532. This commit makes remaining changes as part of #33655.
2020-04-01 12:45:49 +02:00
Karsten Loesing
334550d6d5 Simplify logging configuration.
Implements #33549.
2020-03-31 10:30:46 +02:00
Karsten Loesing
a0bd8d03bc Update to latest metrics-lib. 2020-03-19 09:02:17 +01:00
Karsten Loesing
dfea0c8403 Add links to BridgeDB's info page.
Remaining part of #33008.
2020-03-19 08:59:29 +01:00
Karsten Loesing
cff715e388 Add icon for StaleDesc flag.
The new icon is based on clock, solid style in Font Awesome Free
5.21.1. It was converted using Inkscape 0.92.4 using the command:
`inkscape -z -e clock.png -w 16 -h 16 clock.svg`.

Fixes #33453.
2020-03-09 17:31:41 +01:00
Iain R. Learmonth
1bef5acf3b Adds ant task to update fallback directories in RS 2020-03-09 11:29:13 +01:00
Karsten Loesing
395a8204d4 Avoid vertical flags in narrow browser windows.
Fix provided by RaBe.

Fixes #28317.
2020-03-09 11:13:12 +01:00
Karsten Loesing
d8871b3487 squash! Update directory bytes graph to include authorities.
- Handle missing dates correctly.
2020-03-08 08:27:05 +01:00
Karsten Loesing
c52b7ce61c Update directory bytes graph to include authorities.
Implements #33065.
2020-03-03 13:03:09 +01: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
cfd670a944 Remove dead code from bwhist module. 2020-03-03 11:28:07 +01:00
Karsten Loesing
2dfd743e3c Update and sort flags in RS advanced search.
Fixes #33335.
2020-02-25 21:08:02 +01:00
Karsten Loesing
90617fc63a Update news.json to version 359 of doc/MetricsTimeline. 2020-02-24 15:15:38 +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
1fcd996092 Update Onionoo specification to version 8.0. 2020-02-20 21:12:30 +01:00
Karsten Loesing
45ae585ebf Revert "Fix unknown issue with spread() function."
This reverts commit b3e80fce17 and also
reverts a similar workaround made after that commit.

The spread() function works fine again using buster's r-cran-tidyr
0.8.2-1 package, whereas it was previously broken with stretch's
r-cran-tidyr 0.6.1-1 package.

Fixes #30351.
2020-02-17 12:26:04 +01:00
Karsten Loesing
2708d2ee7a Display a bridge's distribution mechanism in RS.
Another part of #33008.
2020-02-14 16:32:03 +01:00
Karsten Loesing
ebb494ab43 Update Onionoo page for bridgedb_distributor field.
Part of #33008.
2020-02-14 16:31:56 +01:00
Karsten Loesing
cc60eede3e Introduce the term "server" in the glossary.
On the metrics website we're using the term "server" for both relays
and bridges and the term "node" for both clients and servers.

Fixes #26068.
2020-02-14 10:07:44 +01:00
Karsten Loesing
2ce63d57a6 Always show 1 decimal digit in dirbytes graph.
Fixes #33066.
2020-01-27 12:29:00 +01:00
Karsten Loesing
e7f73a2814 Update fallback directories in Relay Search.
Fixes #31332.
2020-01-22 17:54:28 +01:00
Karsten Loesing
c775b66867 Schedule Onionoo version 8.0, and remove old news. 2020-01-20 16:15:26 +01:00
Karsten Loesing
5cbb25ee57 Explain onion service traffic graphs a bit better.
As discussed on the ticket, we can explain better which cells are
counted for onion service traffic graphs: it's cells relayed by
rendezvous points.

It was also confusing to say "per day" in the graph description when
bandwidth is in gigabits per second. Removed that part.

Finally, there's now a glossary entry for "rendezvous points" that is
based on the glossary entry in torspec.

Fixes #26171.
2020-01-20 12:05:34 +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
a59139b846 Update copyright to 2020. 2020-01-15 21:56:00 +01:00