Skip to content

Commit 1ca6b88

Browse files
authored
Fixing a bug in SocketEventParser where lines were the wrong way around (#64)
1 parent 747138a commit 1ca6b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prometheus-net.DotNetRuntime/EventListening/Parsers/SocketsEventParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ public class SocketsEventParser : EventCounterParserBase<SocketsEventParser>, So
1313
[CounterName("incoming-connections-established")]
1414
public event Action<MeanCounterValue> IncomingConnectionsEstablished;
1515

16-
[CounterName("bytes-received")]
16+
[CounterName("bytes-sent")]
1717
public event Action<MeanCounterValue> BytesSent;
1818

19-
[CounterName("bytes-sent")]
19+
[CounterName("bytes-received")]
2020
public event Action<MeanCounterValue> BytesReceived;
2121

2222
[CounterName("datagrams-received")]

0 commit comments

Comments
 (0)