udp: prometheus metrics for peers per torrent, add p999

This commit is contained in:
Joakim Frostegård 2023-02-26 12:06:41 +01:00
parent 5276a919da
commit 9e7e56b082
3 changed files with 106 additions and 10 deletions

View file

@ -76,7 +76,7 @@
<caption>Updated every { peer_update_interval } seconds</caption>
<tr>
<th scope="row">Minimum</th>
<td>{ ipv4.peer_histogram.p0 }</td>
<td>{ ipv4.peer_histogram.min }</td>
</tr>
<tr>
<th scope="row">10th percentile</th>
@ -122,9 +122,13 @@
<th scope="row">99th percentile</th>
<td>{ ipv4.peer_histogram.p99 }</td>
</tr>
<tr>
<th scope="row">99.9th percentile</th>
<td>{ ipv4.peer_histogram.p999 }</td>
</tr>
<tr>
<th scope="row">Maximum</th>
<td>{ ipv4.peer_histogram.p100 }</td>
<td>{ ipv4.peer_histogram.max }</td>
</tr>
</table>
@ -188,7 +192,7 @@
<caption>Updated every { peer_update_interval } seconds</caption>
<tr>
<th scope="row">Minimum</th>
<td>{ ipv6.peer_histogram.p0 }</td>
<td>{ ipv6.peer_histogram.min }</td>
</tr>
<tr>
<th scope="row">10th percentile</th>
@ -234,9 +238,13 @@
<th scope="row">99th percentile</th>
<td>{ ipv6.peer_histogram.p99 }</td>
</tr>
<tr>
<th scope="row">99.9th percentile</th>
<td>{ ipv6.peer_histogram.p999 }</td>
</tr>
<tr>
<th scope="row">Maximum</th>
<td>{ ipv6.peer_histogram.p100 }</td>
<td>{ ipv6.peer_histogram.max }</td>
</tr>
</table>