Class UserAgentIncubatingAttributes
-
Nested Class Summary
Nested Classes -
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>Specifies the category of synthetic traffic, such as tests or bots.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 -
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_SYNTHETIC_TYPE
Specifies the category of synthetic traffic, such as tests or bots.Notes:
This attribute MAY be derived from the contents of the
user_agent.originalattribute. Components that populate the attribute are responsible for determining what they consider to be synthetic bot or test traffic. This attribute can either be set for self-identification purposes, or on telemetry detected to be generated as a result of a synthetic request. This attribute is useful for distinguishing between genuine client traffic and synthetic traffic generated by bots or tests. -
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
-
UserAgentAttributes.USER_AGENT_ORIGINALattribute.