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

clarify how to collect host.id for non-containerized systems #3173

Merged
merged 3 commits into from
Feb 28, 2023

Conversation

mwear
Copy link
Member

@mwear mwear commented Feb 2, 2023

This PR clarifies how to collect host.id for non-containerized systems. The spec currently states:

For non-containerized Linux systems, the machine-id located in /etc/machine-id or /var/lib/dbus/machine-id may be used.

This PR expands upon that by specifying how to collect the host.id for Linux, BSD, MacOS, and Windows. This update also acknowledges that some systems may wish to collect the host.id via methods that require elevated privileges (such as dmidecode), but restricts resource detector implementations to non-privileged lookups.

@arminru arminru added area:semantic-conventions Related to semantic conventions spec:resource Related to the specification/resource directory labels Feb 14, 2023
@arminru arminru merged commit 4524511 into open-telemetry:main Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions spec:resource Related to the specification/resource directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants