Documentation ¶
Overview ¶
The Datadog Agent faithfully collects events and metrics and brings them to Datadog on your behalf.
To install the agent, please refer the official documentation at https://docs.datadoghq.com/.
If you want to build the agent by yourself or contribute to the project, please refer to the Agent Developer Guide at https://github.com/DataDog/datadog-agent/tree/main/docs/dev for more details.
Main package for the agent binary
Directories ¶
Path | Synopsis |
---|---|
Package command implements the top-level `agent` binary, including its subcommands.
|
Package command implements the top-level `agent` binary, including its subcommands. |
Package common provides a set of common symbols needed by different packages, to avoid circular dependencies.
|
Package common provides a set of common symbols needed by different packages, to avoid circular dependencies. |
misconfig
Package misconfig implements misconfiguration related types and functions
|
Package misconfig implements misconfiguration related types and functions |
signals
Package signals defines global agent signal channels
|
Package signals defines global agent signal channels |
path
Module
|
|
Package subcommands defines the agent subcommands.
|
Package subcommands defines the agent subcommands. |
check
Package check implements 'agent check'.
|
Package check implements 'agent check'. |
config
Package config implements 'agent config'.
|
Package config implements 'agent config'. |
configcheck
Package configcheck implements 'agent configcheck'.
|
Package configcheck implements 'agent configcheck'. |
controlsvc
Package controlsvc implements 'agent start-service', 'agent stopservice', and 'agent restart-service'.
|
Package controlsvc implements 'agent start-service', 'agent stopservice', and 'agent restart-service'. |
diagnose
Package diagnose implements 'agent diagnose'.
|
Package diagnose implements 'agent diagnose'. |
dogstatsd
Package dogstatsd contains "agent dogstatsd" subcommands
|
Package dogstatsd contains "agent dogstatsd" subcommands |
dogstatsdcapture
Package dogstatsdcapture implements 'agent dogstasd-capture'.
|
Package dogstatsdcapture implements 'agent dogstasd-capture'. |
dogstatsdreplay
Package dogstatsdreplay implements 'agent dogstatsd-replay'.
|
Package dogstatsdreplay implements 'agent dogstatsd-replay'. |
dogstatsdstats
Package dogstatsdstats implements 'agent dogstatsd-stats'.
|
Package dogstatsdstats implements 'agent dogstatsd-stats'. |
flare
Package flare implements 'agent flare'.
|
Package flare implements 'agent flare'. |
health
Package health implements 'agent health'.
|
Package health implements 'agent health'. |
hostname
Package hostname implements 'agent hostname'.
|
Package hostname implements 'agent hostname'. |
import
Package cmdimport implements 'agent import'.
|
Package cmdimport implements 'agent import'. |
integrations
Package integrations implements 'agent integration'.
|
Package integrations implements 'agent integration'. |
jmx
Package jmx implements 'agent jmx'.
|
Package jmx implements 'agent jmx'. |
launchgui
Package launchgui implements 'agent launch-gui'.
|
Package launchgui implements 'agent launch-gui'. |
processchecks
Package processchecks implements 'agent processchecks'.
|
Package processchecks implements 'agent processchecks'. |
remoteconfig
Package remoteconfig implements 'agent remote-config'.
|
Package remoteconfig implements 'agent remote-config'. |
run
Package run implements 'agent run' (and deprecated 'agent start').
|
Package run implements 'agent run' (and deprecated 'agent start'). |
run/internal/clcrunnerapi
Package clcrunnerapi implements the clc runner IPC api.
|
Package clcrunnerapi implements the clc runner IPC api. |
run/internal/clcrunnerapi/v1
Package v1 implements the api endpoints for the `/api/v1` prefix.
|
Package v1 implements the api endpoints for the `/api/v1` prefix. |
run/internal/settings
Package settings contains the runtime settings for the agent
|
Package settings contains the runtime settings for the agent |
secret
Package secret implements 'agent secret'.
|
Package secret implements 'agent secret'. |
secrethelper
Package secrethelper implements 'agent secret-helper'
|
Package secrethelper implements 'agent secret-helper' |
snmp
Package snmp implements the 'agent snmp' subcommand.
|
Package snmp implements the 'agent snmp' subcommand. |
status
Package status implements 'agent status'.
|
Package status implements 'agent status'. |
stop
Package stop implements 'agent stop'.
|
Package stop implements 'agent stop'. |
streamep
Package streamep implements 'agent stream-event-platform'.
|
Package streamep implements 'agent stream-event-platform'. |
streamlogs
Package streamlogs implements 'agent stream-logs'.
|
Package streamlogs implements 'agent stream-logs'. |
taggerlist
Package taggerlist implements 'agent tagger-list'.
|
Package taggerlist implements 'agent tagger-list'. |
version
Package version implements 'agent version'.
|
Package version implements 'agent version'. |
workloadlist
Package workloadlist implements 'agent workload-list'.
|
Package workloadlist implements 'agent workload-list'. |
windows
|
|
controlsvc
Package controlsvc contains shared code for controlling the Windows agent service.
|
Package controlsvc contains shared code for controlling the Windows agent service. |
service
Package service implements the Windows Service for the core agent
|
Package service implements the Windows Service for the core agent |
Click to show internal directories.
Click to hide internal directories.