github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver
Package hostmetricsreceiver reads metrics like CPU usage, disk usage, and network usage from the host.
go get github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver