opentelemetry_semantic_conventions::attribute

Constant USER_AGENT_NAME

source
pub const USER_AGENT_NAME: &str = "user_agent.name";
Expand description

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

§Examples

  • "Safari"
  • "YourApp"