Skip to content

Commit 366cf31

Browse files
authored
Remove webflux exclusion from netty 4.0 (#226)
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 3d0d493 commit 366cf31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static net.bytebuddy.matcher.ElementMatchers.isMethod;
2222
import static net.bytebuddy.matcher.ElementMatchers.nameStartsWith;
2323
import static net.bytebuddy.matcher.ElementMatchers.named;
24-
import static net.bytebuddy.matcher.ElementMatchers.not;
2524
import static net.bytebuddy.matcher.ElementMatchers.takesArgument;
2625

2726
import io.netty.channel.ChannelHandler;
@@ -46,8 +45,7 @@ public class NettyChannelPipelineInstrumentation implements TypeInstrumentation
4645

4746
@Override
4847
public ElementMatcher<ClassLoader> classLoaderOptimization() {
49-
return hasClassesNamed("io.netty.channel.ChannelPipeline")
50-
.and(not(hasClassesNamed("org.springframework.web.reactive.HandlerAdapter")));
48+
return hasClassesNamed("io.netty.channel.ChannelPipeline");
5149
}
5250

5351
@Override

0 commit comments

Comments
 (0)