udp statistics: improve peer client reporting

- fix prometheus peer id prefix reporting
- don't report peer id prefix in html output (current method
  was incorrect and output would become huge)
This commit is contained in:
Joakim Frostegård 2023-06-07 12:58:41 +02:00
parent 4ff65cc6bd
commit 08b28c9e1b
3 changed files with 33 additions and 30 deletions

View file

@ -260,7 +260,6 @@
<thead>
<tr>
<th>Client</th>
<th>Peer ID prefix (hex)</th>
<th>Count</th>
</tr>
</thead>
@ -268,7 +267,6 @@
{{ for value in peer_clients }}
<tr>
<td>{ value.0 }</td>
<td>{ value.1 }</td>
<td>{ value.2 }</td>
</tr>
{{ endfor }}