Add jaxws as optional instrumentation name
MODIFY
instrumentation/jaxws/jaxws-2.0-axis2-1.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/axis2/Axis2InstrumentationModule.java
instrumentation/jaxws/jaxws-2.0-axis2-1.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/axis2/Axis2InstrumentationModule.java
@@ -17,7 +17,7 @@ import net.bytebuddy.matcher.ElementMatcher;
@AutoService(InstrumentationModule.class)
public class Axis2InstrumentationModule extends InstrumentationModule {
public Axis2InstrumentationModule() {
- super("axis2", "axis2-1.6");
+ super("axis2", "axis2-1.6", "jaxws");
}
@Override

MODIFY
instrumentation/jaxws/jaxws-2.0-cxf-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/cxf/CxfInstrumentationModule.java
instrumentation/jaxws/jaxws-2.0-cxf-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/cxf/CxfInstrumentationModule.java
@@ -14,7 +14,7 @@ import java.util.List;
@AutoService(InstrumentationModule.class)
public class CxfInstrumentationModule extends InstrumentationModule {
public CxfInstrumentationModule() {
- super("cxf", "cxf-3.0");
+ super("cxf", "cxf-3.0", "jaxws");
}
@Override

MODIFY
instrumentation/jaxws/jaxws-2.0-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroInstrumentationModule.java
instrumentation/jaxws/jaxws-2.0-metro-2.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/metro/MetroInstrumentationModule.java
@@ -17,7 +17,7 @@ import net.bytebuddy.matcher.ElementMatcher;
@AutoService(InstrumentationModule.class)
public class MetroInstrumentationModule extends InstrumentationModule {
public MetroInstrumentationModule() {
- super("metro", "metro-2.2");
+ super("metro", "metro-2.2", "jaxws");
}
@Override

Add jaxws as optional instrumentation name (#5980)