Registry / observability / datadog-gohai

datadog-gohai

JSON →
library0.0.0-20230524154621-4316413895eegogounverified

A system information collector used by the Datadog Agent to gather host metrics and metadata.

go get github.com/DataDog/gohai
INSTALL
IMPORT
SIG · DATADOG-GOHAI
D
datadog-gohai
observabilitygov0.0.0-20230524154621-4316413895ee
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gohai
github.com/DataDog/gohai

Collect CPU information using the cpu subpackage.

package main import ( "fmt" "github.com/DataDog/gohai/cpu" ) func main() { info, _ := cpu.Collect() fmt.Println(info) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230524154621-4316413895eelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
2
Resources
datadog-gohai — go get datadog-gohai · libregistry