Documentation ¶
Overview ¶
package gohai provides system information like cpu, memory in a format that is expected by the datadog intake
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPayload ¶
NewPayload builds a payload of every metadata collected with gohai except processes metadata. Parts of this are based on datadog-agent code https://github.com/DataDog/datadog-agent/blob/94a28d9cee3f1c886b3866e8208be5b2a8c2c217/pkg/metadata/internal/gohai/gohai.go#L27-L32
func NewProcessesPayload ¶
func NewProcessesPayload(hostname string, logger *zap.Logger) *gohai.ProcessesPayload
NewProcessesPayload builds a payload of processes metadata collected from gohai.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.