Class UserAgentIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.UserAgentIncubatingAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>Name of the user-agent extracted from original.static final io.opentelemetry.api.common.AttributeKey<String>Deprecated.static final io.opentelemetry.api.common.AttributeKey<String>Version of the user-agent extracted from original. -
Method Summary
-
Field Details
-
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 withuser_agent.version
- 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
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> USER_AGENT_ORIGINALDeprecated.deprecated in favor of stableUserAgentAttributes.USER_AGENT_ORIGINALattribute.Value of the HTTP User-Agent header sent by the client. -
USER_AGENT_VERSION
Version of the user-agent extracted from original. Usually refers to the browser's versionNotes:
- 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 withuser_agent.name
- 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
-
UserAgentAttributes.USER_AGENT_ORIGINALattribute.