View Source OpenTelemetry.SemConv.UserAgentAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for User_Agent attributes.
Summary
Functions
Value of the HTTP User-Agent header sent by the client.
Functions
@spec user_agent_original() :: :"user_agent.original"
Value of the HTTP User-Agent header sent by the client.
Value type
Value must be of type atom() | String.t()
.
Examples
["CERN-LineMode/2.15 libwww/2.17b3", "Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1", "YourApp/1.0.0 grpc-java-okhttp/1.27.2"]
iex> OpenTelemetry.SemConv.UserAgentAttributes.user_agent_original()
:"user_agent.original"
?USER_AGENT_ORIGINAL.
'user_agent.original'