Skip to content

Commit fef797f

Browse files
committed
fix: report inbound strem bytes
1 parent 3506249 commit fef797f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/portalnet/src/utp/controller.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ impl UtpController {
173173
// report utp tx as successful, even if we go on to fail to process the payload
174174
self.metrics
175175
.report_utp_outcome(UtpDirectionLabel::Inbound, UtpOutcomeLabel::Success);
176+
self.metrics.report_bytes_inbound(data.len() as u64);
176177
Ok(Bytes::from(data))
177178
}
178179

0 commit comments

Comments
 (0)