Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add User Agent OS attributes #1433

Open
rogercoll opened this issue Sep 27, 2024 · 0 comments · May be fixed by #1434
Open

Add User Agent OS attributes #1433

rogercoll opened this issue Sep 27, 2024 · 0 comments · May be fixed by #1434
Assignees
Labels
area:os area:user-agent enhancement New feature or request experts needed This issue or pull request is outside an area where general approvers feel they can approve triage:needs-triage

Comments

@rogercoll
Copy link
Contributor

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.original attribute, 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_agent namespace: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/os.md

A 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:os area:user-agent enhancement New feature or request experts needed This issue or pull request is outside an area where general approvers feel they can approve triage:needs-triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants