Skip to content

Add host.id resource attribute detector #4830

Description

@jaydeluca

What problem do you want to solve?

I would like the host.id resource attribute emitted (semconv ref)

Describe the solution you'd like

In the java agent we have a host id resource detector that does the machin-id lookup. I would like to add an equivalent resource module in this project called opentelemetry-resource-detector-host that provides the same functionality

Describe alternatives you've considered

the collector can stamp the host.id, but that doesn't help in all deployment types where there might not be a collector in the position to do that.

Additional Context

No response

Would you like to implement a fix?

Yes

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions