feat(stats): add by-instance traffic metrics (#2011)

This commit is contained in:
KKRainbow
2026-03-26 13:46:33 +08:00
committed by GitHub
parent 8e4dc508bb
commit e000636d83
16 changed files with 1836 additions and 114 deletions
-1
View File
@@ -306,7 +306,6 @@ impl Client {
accepted_algo: CompressionAlgoPb::Zstd.into(),
},
});
let timeout_dur = std::time::Duration::from_millis(ctrl.timeout_ms() as u64);
let mut rpc_packet = timeout(timeout_dur, self.do_rpc(packets, &mut rx)).await??;
-1
View File
@@ -301,7 +301,6 @@ impl Server {
accepted_algo: CompressionAlgoPb::Zstd.into(),
},
});
for packet in packets {
if let Err(err) = sender.send(packet).await {
tracing::error!(?err, "Failed to send response packet");