We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
host.id
I would like to be able collect host.id for non-containerized environments.
There is currently a spec PR: open-telemetry/opentelemetry-specification#3173 that proposes using the following sources to collect host.id per platform:
/etc/machine-id
/var/lib/dbus/machine-id
/etc/hostid
kenv -q smbios.system.uuid
IOPlatformUUID
ioreg -rd1 -c "IOPlatformExpertDevice"
MachineGuid
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography
We could use off the shelf libraries, although they differ in implementation from what is specified. It would also be a dependency we do not control.
Similar libraries:
This is the JS implementation of the spec proposal: open-telemetry/opentelemetry-js#3575
Here is a PR that attempts to address the same problem in the collector (using gopsutil): open-telemetry/opentelemetry-collector-contrib#18740
I have an implementation that I will open as a PR shortly. Please assign this issue to me.
The text was updated successfully, but these errors were encountered:
mwear
Successfully merging a pull request may close this issue.
Problem Statement
I would like to be able collect
host.id
for non-containerized environments.Proposed Solution
There is currently a spec PR: open-telemetry/opentelemetry-specification#3173 that proposes using the following sources to collect
host.id
per platform:/etc/machine-id
/var/lib/dbus/machine-id
/etc/hostid
kenv -q smbios.system.uuid
IOPlatformUUID
line from the output ofioreg -rd1 -c "IOPlatformExpertDevice"
MachineGuid
from registryHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography
Alternatives
We could use off the shelf libraries, although they differ in implementation from what is specified. It would also be a dependency we do not control.
Prior Art
Similar libraries:
This is the JS implementation of the spec proposal:
open-telemetry/opentelemetry-js#3575
Here is a PR that attempts to address the same problem in the collector (using gopsutil):
open-telemetry/opentelemetry-collector-contrib#18740
Additional Context
I have an implementation that I will open as a PR shortly. Please assign this issue to me.
The text was updated successfully, but these errors were encountered: