From e6e0bbc9da6dcecb211dd3cb870d6a07c7fd45c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 6 Aug 2022 14:36:46 +0200 Subject: [PATCH] udp: show extended statistics in html output too --- aquatic_udp/templates/statistics.html | 124 ++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) diff --git a/aquatic_udp/templates/statistics.html b/aquatic_udp/templates/statistics.html index e62f697..a62f42d 100644 --- a/aquatic_udp/templates/statistics.html +++ b/aquatic_udp/templates/statistics.html @@ -68,6 +68,68 @@ + {{ if extended_active }} + +

Peers per torrent

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Updated every { peer_update_interval } seconds
Minimum{ ipv4.peer_histogram.p0 }
10th percentile{ ipv4.peer_histogram.p10 }
20th percentile{ ipv4.peer_histogram.p20 }
30th percentile{ ipv4.peer_histogram.p30 }
40th percentile{ ipv4.peer_histogram.p40 }
50th percentile{ ipv4.peer_histogram.p50 }
60th percentile{ ipv4.peer_histogram.p60 }
70th percentile{ ipv4.peer_histogram.p70 }
80th percentile{ ipv4.peer_histogram.p80 }
90th percentile{ ipv4.peer_histogram.p90 }
95th percentile{ ipv4.peer_histogram.p95 }
99th percentile{ ipv4.peer_histogram.p99 }
Maximum{ ipv4.peer_histogram.p100 }
+ + {{ endif }} + {{ endif }} {{ if ipv6_active }} @@ -118,6 +180,68 @@ + {{ if extended_active }} + +

Peers per torrent

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Updated every { peer_update_interval } seconds
Minimum{ ipv6.peer_histogram.p0 }
10th percentile{ ipv6.peer_histogram.p10 }
20th percentile{ ipv6.peer_histogram.p20 }
30th percentile{ ipv6.peer_histogram.p30 }
40th percentile{ ipv6.peer_histogram.p40 }
50th percentile{ ipv6.peer_histogram.p50 }
60th percentile{ ipv6.peer_histogram.p60 }
70th percentile{ ipv6.peer_histogram.p70 }
80th percentile{ ipv6.peer_histogram.p80 }
90th percentile{ ipv6.peer_histogram.p90 }
95th percentile{ ipv6.peer_histogram.p95 }
99th percentile{ ipv6.peer_histogram.p99 }
Maximum{ ipv6.peer_histogram.p100 }
+ + {{ endif }} + {{ endif }}