Commit Graph

1579 Commits

Author SHA1 Message Date
Karsten Loesing
5df9d4c911 Update news.json. 2020-12-17 15:31:35 +01:00
Karsten Loesing
07f70b1ce9 Update instructions when javascript is disabled.
Fixes #31714.
2020-12-17 15:29:49 +01:00
Karsten Loesing
a07829a30b Update to metrics-lib 2.15.0. 2020-12-17 15:27:51 +01:00
Karsten Loesing
c91b832306 Update OnionPerf link. 2020-09-21 15:58:05 +02:00
Karsten Loesing
e54b738821 Update from Metrics Timeline, and add links. 2020-09-15 09:38:32 +02:00
Karsten Loesing
84d1c46b42 Update Metrics Timeline parser.
The Metrics Timeline has moved from Trac to GitLab. We'll have to
update location and format.
2020-09-05 06:24:11 +02:00
Karsten Loesing
e58e6e1f2d Clarify base64 encoding of sha256 digest. 2020-08-28 10:56:15 +02:00
Karsten Loesing
137ad72a63 Add alert for user research survey.
Implements tpo/metrics/website#40003.
2020-08-26 11:18:36 +02:00
Karsten Loesing
69a6b2c544 Update fallback directories in Relay Search.
Triggered by tpo/core/fallback-scripts#30974.
2020-08-17 10:05:13 +02:00
Karsten Loesing
884b31988a Update to latest metrics-lib. 2020-08-16 12:16:05 +02:00
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
0b246ad078 Drop filesize parameter from torperf failures graph.
Implements tpo/metrics/website#40001.
2020-06-25 21:39:11 +02:00
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