Less class loads
MODIFY
dd-java-agent/instrumentation/netty-3.8/src/main/java/datadog/trace/instrumentation/netty38/ChannelFutureListenerInstrumentation.java
dd-java-agent/instrumentation/netty-3.8/src/main/java/datadog/trace/instrumentation/netty38/ChannelFutureListenerInstrumentation.java
@@ -70,7 +70,7 @@ public class ChannelFutureListenerInstrumentation extends Instrumenter.Default {
@Override
public Map<String, String> contextStore() {
return Collections.singletonMap(
- "org.jboss.netty.channel.Channel", ChannelTraceContext.class.getName());
+ "org.jboss.netty.channel.Channel", packageName + ".ChannelTraceContext");
}
public static class OperationCompleteAdvice extends AbstractNettyAdvice {

Less class loads