opentelemetry_semantic_conventions::attribute

Constant RPC_SERVICE

source
pub const RPC_SERVICE: &str = "rpc.service";
Expand description

The full (logical) name of the service being called, including its package name, if applicable.

§Notes

This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).

§Examples

  • "myservice.EchoService"