[rmi] add instrumentation names to client and server decorators
MODIFY
dd-java-agent/instrumentation/rmi/src/main/java/datadog/trace/instrumentation/rmi/client/RmiClientDecorator.java
dd-java-agent/instrumentation/rmi/src/main/java/datadog/trace/instrumentation/rmi/client/RmiClientDecorator.java
@@ -8,7 +8,7 @@ public class RmiClientDecorator extends ClientDecorator {
@Override
protected String[] instrumentationNames() {
- return new String[] {"rmi"};
+ return new String[] {"rmi", "rmi-client"};
}
@Override

MODIFY
dd-java-agent/instrumentation/rmi/src/main/java/datadog/trace/instrumentation/rmi/server/RmiServerDecorator.java
dd-java-agent/instrumentation/rmi/src/main/java/datadog/trace/instrumentation/rmi/server/RmiServerDecorator.java
@@ -8,7 +8,7 @@ public class RmiServerDecorator extends ServerDecorator {
@Override
protected String[] instrumentationNames() {
- return new String[] {"rmi"};
+ return new String[] {"rmi", "rmi-server"};
}
@Override

[rmi] add instrumentation names to client and server decorators