Improved how stats are handled
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 7m25s

This commit is contained in:
2025-04-15 16:47:36 +02:00
parent 3ba80ab202
commit f75726b93a
7 changed files with 75 additions and 62 deletions

View File

@@ -34,8 +34,8 @@ pub async fn to_row(tunnel: &Tunnel) -> Vec<Span<'static>> {
access,
tunnel.port.to_string().into(),
address,
tunnel.get_connections().to_string().into(),
tunnel.get_rx_string().into(),
tunnel.get_tx_string().into(),
tunnel.stats.connections().to_string().into(),
tunnel.stats.rx().to_string().into(),
tunnel.stats.tx().to_string().into(),
]
}