Documentation
¶
Overview ¶
Package inventoryagentimpl implements a component to generate the 'datadog_agent' metadata payload for inventory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Hostname string `json:"hostname"`
Timestamp int64 `json:"timestamp"`
Metadata agentMetadata `json:"agent_metadata"`
UUID string `json:"uuid"`
}
Payload handles the JSON unmarshalling of the metadata payload
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
type Provides ¶
type Provides struct {
Comp iainterface.Component
Provider runnerdef.Provider
FlareProvider flaretypes.Provider
StatusHeaderProvider status.HeaderInformationProvider
Endpoint api.AgentEndpointProvider
}
Provides defines the output of the inventoryagent component
func NewComponent ¶
NewComponent creates a new inventoryagent component
type Requires ¶
type Requires struct {
Log log.Component
Config config.Component
SysProbeConfig option.Option[sysprobeconfig.Component]
Serializer serializer.MetricSerializer
IPCClient ipc.HTTPClient
Hostname hostnameinterface.Component
}
Requires defines the dependencies for the inventoryagent component
Click to show internal directories.
Click to hide internal directories.