-
Notifications
You must be signed in to change notification settings - Fork 352
Add User Agent OS attributes #1433
Copy link
Copy link
Closed
Labels
area:osarea:user-agentenhancementNew feature or requestNew feature or requestexperts neededThis issue or pull request is outside an area where general approvers feel they can approveThis issue or pull request is outside an area where general approvers feel they can approvetriage:needs-triage
Metadata
Metadata
Assignees
Labels
area:osarea:user-agentenhancementNew feature or requestNew feature or requestexperts neededThis issue or pull request is outside an area where general approvers feel they can approveThis issue or pull request is outside an area where general approvers feel they can approvetriage:needs-triage
Area(s)
area:os, area:user-agent
Is your change request related to a problem? Please describe.
The current user-Agent attributes don't make any reference to the represented OS. We propose adding semantic convention attributes specifically aimed at extracting the operating system (OS) from user-agent strings. The OS information is already available in the current
user_agent.originalattribute, but it is embedded within a larger string, making it difficult to reliably extract and utilize. By introducing dedicated semantic convention attributes such as user_agent.os.name, user_agent.os.version, and user_agent.os.family, we can isolate this information for easier parsing and processing.Describe the solution you'd like
Embed OS attribute under the
user_agentnamespace: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/os.mdA similar solution is the Elastic ECS reuse fields: https://www.elastic.co/guide/en/ecs/current/ecs-user_agent.html#_field_reuse_30
Describe alternatives you've considered
No response
Additional context
No response