change rpc type in apache dubbo (#5432)
* change rpc type in apache dubbo * fix dubbo test * fix test
This commit is contained in:
parent
5a25d276f8
commit
f269ef75ba
|
@ -12,7 +12,7 @@ enum DubboRpcAttributesGetter implements RpcAttributesGetter<DubboRequest> {
|
|||
|
||||
@Override
|
||||
public String system(DubboRequest request) {
|
||||
return "dubbo";
|
||||
return "apache_dubbo";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue