Class UserAgentIncubatingAttributes

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

public final class UserAgentIncubatingAttributes extends Object
  • Field Details

    • USER_AGENT_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> USER_AGENT_NAME
      Name of the user-agent extracted from original. Usually refers to the browser's name.

      Notes:

      • Example of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the user_agent.original, the most significant name SHOULD be selected. In such a scenario it should align with user_agent.version
    • USER_AGENT_ORIGINAL

      @Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> USER_AGENT_ORIGINAL
      Deprecated.
      deprecated in favor of stable UserAgentAttributes.USER_AGENT_ORIGINAL attribute.
      Value of the HTTP User-Agent header sent by the client.
    • USER_AGENT_VERSION

      public static final io.opentelemetry.api.common.AttributeKey<String> USER_AGENT_VERSION
      Version of the user-agent extracted from original. Usually refers to the browser's version

      Notes:

      • Example of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the user_agent.original, the most significant version SHOULD be selected. In such a scenario it should align with user_agent.name