Fix network protocol metrics typo (#874)

This commit is contained in:
Tanguy 2023-04-26 09:52:06 +02:00 committed by GitHub
parent a5666789b0
commit db629dca25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ proc completeWrite(
else: else:
await fut await fut
when defined(libp2p_network_protocol_metrics): when defined(libp2p_network_protocols_metrics):
if s.protocol.len > 0: if s.protocol.len > 0:
libp2p_protocols_bytes.inc(msgLen.int64, labelValues=[s.protocol, "out"]) libp2p_protocols_bytes.inc(msgLen.int64, labelValues=[s.protocol, "out"])