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 class ChannelFutureListenerInstrumentation extends Instrumenter.Default {
|
||||||
|
|
||||||
public ChannelFutureListenerInstrumentation() {
|
public ChannelFutureListenerInstrumentation() {
|
||||||
super("netty", "netty-4.1");
|
super(
|
||||||
|
NettyChannelPipelineInstrumentation.INSTRUMENTATION_NAME,
|
||||||
|
NettyChannelPipelineInstrumentation.ADDITIONAL_INSTRUMENTATION_NAMES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,11 @@ import net.bytebuddy.matcher.ElementMatcher;
|
||||||
@AutoService(Instrumenter.class)
|
@AutoService(Instrumenter.class)
|
||||||
public class NettyChannelPipelineInstrumentation extends Instrumenter.Default {
|
public class NettyChannelPipelineInstrumentation extends Instrumenter.Default {
|
||||||
|
|
||||||
|
static final String INSTRUMENTATION_NAME = "netty";
|
||||||
|
static final String[] ADDITIONAL_INSTRUMENTATION_NAMES = {"netty-4.1"};
|
||||||
|
|
||||||
public NettyChannelPipelineInstrumentation() {
|
public NettyChannelPipelineInstrumentation() {
|
||||||
super("netty", "netty-4.1");
|
super(INSTRUMENTATION_NAME, ADDITIONAL_INSTRUMENTATION_NAMES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue