Datadog Tutorials: List of all datadog-agent commands with examples

CommandsDescriptions
datadog-agent check           Run the specified check
datadog-agent completion    Generate the autocompletion script for the specified shell
datadog-agent config    Print the runtime configuration of a running agent
datadog-agent configcheck  Print all configurations loaded & resolved of a running agent
datadog-agent diagnose     Check availability of cloud provider and container metadata endpoints
datadog-agent dogstatsd-captureStart a dogstatsd UDS traffic capture
datadog-agent dogstatsd-replayReplay dogstatsd traffic
datadog-agent dogstatsd-statsPrint basic statistics on the metrics processed by dogstatsd
datadog-agent flare         Collect a flare and send it to Datadog
datadog-agent health           Print the current agent health
datadog-agent help           Help about any command
datadog-agent hostname        Print the hostname used by the Agent
datadog-agent import           Import and convert configuration files from previous versions of the Agent
datadog-agent integration    Datadog integration manager
datadog-agent jmx            Run troubleshooting commands on JMXFetch integrations
datadog-agent launch-gui     starts the Datadog Agent GUI
datadog-agent run          Run the Agent
datadog-agent secret       Print information about decrypted secrets in configuration.
datadog-agent secret-helper   Secret management provider helper
datadog-agent snmp        Snmp tools
datadog-agent status      Print the current status
datadog-agent stop             Stops a running Agent
datadog-agent stream-logs     Stream the logs being processed by a running agent
datadog-agent tagger-list      Print the tagger content of a running agent
datadog-agent version  Print the version info
  workload-list Print the workload content of a running agent

datadog-agent check     


A Datadog Agent check is a plugin that collects data from a specific source and sends it to the Datadog Agent. These checks can be customized and configured to monitor various metrics and events related to your infrastructure and applications.


datadog-agent completion  

The datadog-agent completion command is used to generate shell completion scripts for the Datadog Agent command-line interface (CLI).

Shell completion allows you to save time and avoid typing errors by automatically completing command options, flags, and arguments as you type. When you run the datadog-agent completion command, it will output the completion script in the shell format that you specify as an argument, such as Bash, Zsh, or Fish.

Here are some use cases for the datadog-agent completion command:

  1. Completing commands and options: When you are working with the Datadog Agent CLI, you may find it time-consuming to type out all of the command options and flags. By using shell completion, you can quickly complete the options and flags as you type, saving time and reducing errors.
  2. Improving productivity: Shell completion can help you be more productive by completing commands and options quickly and accurately. You don’t have to remember all of the available options and flags, which can be especially helpful when you are using the CLI infrequently.
  3. Learning the Datadog Agent CLI: If you are new to the Datadog Agent CLI, using shell completion can help you learn the available options and flags more quickly. As you type, you can see the available options and flags, which can help you understand the capabilities of the CLI.
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x