Class ServerAttributes

java.lang.Object
io.opentelemetry.semconv.ServerAttributes

public final class ServerAttributes extends Object
  • Field Details

    • SERVER_ADDRESS

      public static final io.opentelemetry.api.common.AttributeKey<String> SERVER_ADDRESS
      Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.

      Notes:

      • When observed from the client side, and when communicating through an intermediary, server.address SHOULD represent the server address behind any intermediaries, for example proxies, if it's available.
    • SERVER_PORT

      public static final io.opentelemetry.api.common.AttributeKey<Long> SERVER_PORT
      Server port number.

      Notes:

      • When observed from the client side, and when communicating through an intermediary, server.port SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.