Class PeerIncubatingAttributes

java.lang.Object
io.opentelemetry.semconv.incubating.PeerIncubatingAttributes

public final class PeerIncubatingAttributes extends Object
  • Field Details

    • PEER_SERVICE

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> PEER_SERVICE
      Deprecated.
      Replaced by service.peer.name.
      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".