Skip to content

Commit 5dace0d

Browse files
committed
👌 remove call depth change from netty 4.0
1 parent 038c105 commit 5dace0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/netty/netty-4.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/netty/v4_0/NettyChannelPipelineInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static void addHandler(
8282
@Advice.Enter int callDepth,
8383
@Advice.This ChannelPipeline pipeline,
8484
@Advice.Argument(2) ChannelHandler handler) {
85-
if (callDepth > 1) {
85+
if (callDepth > 0) {
8686
return;
8787
}
8888
HypertraceCallDepthThreadLocalMap.reset(ChannelHandler.class);

0 commit comments

Comments
 (0)