diff --git a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboRpcAttributesGetter.java b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboRpcAttributesGetter.java index 664bc70f65cc..ade779739ad8 100644 --- a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboRpcAttributesGetter.java +++ b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboRpcAttributesGetter.java @@ -12,7 +12,7 @@ enum DubboRpcAttributesGetter implements RpcAttributesGetter { @Override public String system(DubboRequest request) { - return "dubbo"; + return "apache_dubbo"; } @Override diff --git a/instrumentation/apache-dubbo-2.7/testing/src/main/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTest.groovy b/instrumentation/apache-dubbo-2.7/testing/src/main/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTest.groovy index 41630674dda8..0a45206b858f 100644 --- a/instrumentation/apache-dubbo-2.7/testing/src/main/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTest.groovy +++ b/instrumentation/apache-dubbo-2.7/testing/src/main/groovy/io/opentelemetry/instrumentation/apachedubbo/v2_7/AbstractDubboTest.groovy @@ -97,7 +97,7 @@ abstract class AbstractDubboTest extends InstrumentationSpecification { kind CLIENT childOf span(0) attributes { - "$SemanticAttributes.RPC_SYSTEM" "dubbo" + "$SemanticAttributes.RPC_SYSTEM" "apache_dubbo" "$SemanticAttributes.RPC_SERVICE" "org.apache.dubbo.rpc.service.GenericService" "$SemanticAttributes.RPC_METHOD" "\$invoke" "$SemanticAttributes.NET_PEER_NAME" "localhost" @@ -109,7 +109,7 @@ abstract class AbstractDubboTest extends InstrumentationSpecification { kind SERVER childOf span(1) attributes { - "$SemanticAttributes.RPC_SYSTEM" "dubbo" + "$SemanticAttributes.RPC_SYSTEM" "apache_dubbo" "$SemanticAttributes.RPC_SERVICE" "io.opentelemetry.instrumentation.apachedubbo.v2_7.api.HelloService" "$SemanticAttributes.RPC_METHOD" "hello" "$SemanticAttributes.NET_PEER_IP" String @@ -168,7 +168,7 @@ abstract class AbstractDubboTest extends InstrumentationSpecification { kind CLIENT childOf span(0) attributes { - "$SemanticAttributes.RPC_SYSTEM" "dubbo" + "$SemanticAttributes.RPC_SYSTEM" "apache_dubbo" "$SemanticAttributes.RPC_SERVICE" "org.apache.dubbo.rpc.service.GenericService" "$SemanticAttributes.RPC_METHOD" "\$invokeAsync" "$SemanticAttributes.NET_PEER_NAME" "localhost" @@ -180,7 +180,7 @@ abstract class AbstractDubboTest extends InstrumentationSpecification { kind SERVER childOf span(1) attributes { - "$SemanticAttributes.RPC_SYSTEM" "dubbo" + "$SemanticAttributes.RPC_SYSTEM" "apache_dubbo" "$SemanticAttributes.RPC_SERVICE" "io.opentelemetry.instrumentation.apachedubbo.v2_7.api.HelloService" "$SemanticAttributes.RPC_METHOD" "hello" "$SemanticAttributes.NET_PEER_IP" String