netty 4.1: consolidate netty config names
This commit is contained in:
parent
cb1313ea9a
commit
7b0e3ffd1c
|
|
@ -27,7 +27,9 @@ import net.bytebuddy.matcher.ElementMatcher;
|
|||
public class ChannelFutureListenerInstrumentation extends Instrumenter.Default {
|
||||
|
||||
public ChannelFutureListenerInstrumentation() {
|
||||
super("netty", "netty-4.1");
|
||||
super(
|
||||
NettyChannelPipelineInstrumentation.INSTRUMENTATION_NAME,
|
||||
NettyChannelPipelineInstrumentation.ADDITIONAL_INSTRUMENTATION_NAMES);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -40,8 +40,11 @@ import net.bytebuddy.matcher.ElementMatcher;
|
|||
@AutoService(Instrumenter.class)
|
||||
public class NettyChannelPipelineInstrumentation extends Instrumenter.Default {
|
||||
|
||||
static final String INSTRUMENTATION_NAME = "netty";
|
||||
static final String[] ADDITIONAL_INSTRUMENTATION_NAMES = {"netty-4.1"};
|
||||
|
||||
public NettyChannelPipelineInstrumentation() {
|
||||
super("netty", "netty-4.1");
|
||||
super(INSTRUMENTATION_NAME, ADDITIONAL_INSTRUMENTATION_NAMES);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue