Skip to content

Commit

Permalink
Merge branch 'main' into tm-host-metrics-instrumentation-scope-name
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored Nov 27, 2023
2 parents 975d402 + 60d60d0 commit 50d1df8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ export class NetInstrumentation extends InstrumentationBase<Net> {
}
};

for (const event of [SocketEvent.CLOSE, SocketEvent.ERROR]) {
for (const event of [
SocketEvent.CLOSE,
SocketEvent.ERROR,
SocketEvent.SECURE_CONNECT,
]) {
socket.once(event, otelTlsRemoveListeners);
}

Expand Down

0 comments on commit 50d1df8

Please sign in to comment.