OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_PEER_SERVICEConst Experimental

    ATTR_PEER_SERVICE: "peer.service" = ...

    The service.name of the remote service. SHOULD be equal to the actual service.name resource attribute of the remote service if any.

    "AuthTokenCache"
    

    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".

    This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.

    Replaced by service.peer.name.