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.

@mwear mwear requested review from a team February 2, 2023 23:36
@mwear mwear force-pushed the host-id-conventions branch from 9b59e8a to a67b2b6 Compare February 2, 2023 23:37
@mwear mwear force-pushed the host-id-conventions branch from a67b2b6 to 315b9f7 Compare February 2, 2023 23:40
@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
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
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.

6 participants