Constant PEER_SERVICE
pub const PEER_SERVICE: &'static str;👎Deprecated:
{note: Replaced by service.peer.name., reason: renamed, renamed_to: service.peer.name}
Available on crate features
opentelemetry and semconv_experimental only.Expand description
The service.name of the remote service. SHOULD be equal to the actual service.name resource attribute of the remote service if any.
§Notes
Examples of peer.service that users may specify:
- A Redis cache of auth tokens as
peer.service="AuthTokenCache". - A gRPC service
rpc.service="io.opentelemetry.AuthService"may be hosted in both a gateway,peer.service="ExternalApiService"and a backend,peer.service="AuthService".
§Examples
"AuthTokenCache"