Aligned instrumentation names between DefaultWebClientInstrumentation and SpringWebfluxHttpClientDecorator
MODIFY
dd-java-agent/instrumentation/spring-webflux/src/main/java/datadog/trace/instrumentation/springwebflux/client/DefaultWebClientInstrumentation.java
dd-java-agent/instrumentation/spring-webflux/src/main/java/datadog/trace/instrumentation/springwebflux/client/DefaultWebClientInstrumentation.java
@@ -17,7 +17,7 @@ import net.bytebuddy.matcher.ElementMatcher;
public class DefaultWebClientInstrumentation extends Instrumenter.Default {
public DefaultWebClientInstrumentation() {
- super("spring-webflux");
+ super("spring-webflux", "spring-webflux-client");
}
@Override

MODIFY
dd-java-agent/instrumentation/spring-webflux/src/main/java8/datadog/trace/instrumentation/springwebflux/client/SpringWebfluxHttpClientDecorator.java
dd-java-agent/instrumentation/spring-webflux/src/main/java8/datadog/trace/instrumentation/springwebflux/client/SpringWebfluxHttpClientDecorator.java
@@ -24,7 +24,7 @@ public class SpringWebfluxHttpClientDecorator
@Override
protected String[] instrumentationNames() {
- return new String[] {"spring-webflux-client"};
+ return new String[] {"spring-webflux", "spring-webflux-client"};
}
@Override

Aligned instrumentation names between DefaultWebClientInstrumentation and SpringWebfluxHttpClientDecorator