Skip to content

[internal/datadog] migrate hostmetadata package to datadog-agent/pkg/gohai #40806

@jackgopack4

Description

@jackgopack4

Component(s)

internal/datadog

Describe the issue you're reporting

Currently, internal/datadog/hostmetadata/gohai imports github.com/DataDog/gohai packages.

This package was migrated to github.com/DataDog/datadog-agent-pkg/gohai and the original codebase was "archived" for compatibility/posterity.

As such, the references to this package should be updated to the datadog-agent repository to make sure we receive the latest feature updates and security patches.

This could also fix an odd issue where debug level logs appear in the collector of the format 1750257633929238000 [Debug] Process with pid 94870 disappeared while scanning: %!w(*errors.errorString=&{process does not exist}) on startup, not properly passed to the collector logging component.

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