Peer

Peer Attributes

These attribute may be used for any operation that accesses some remote service.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
peer.serviceDeprecated
Use server.service.name on the client side or client.service.name on the server side.
stringThe service.name of the remote service. SHOULD be equal to the actual service.name resource attribute of the remote service if any. [1]AuthTokenCache

[1] peer.service: 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".