Debug School

vamsi vella
vamsi vella

Posted on

Datadog (Day-1) Assignment

1) What is Datadog Agent?
Datadog Agent is open-source software that provides data like (metric,event,logs,tags) data of the host on which it runs. Acting as a DogStatsD server, Datadog Agent also aggregates metrics from other processes/integrations or containers on the host.

2) What are list of methods to send data to Datadog?

Methods to send data to datadog is

  • Collector = Configuring the Datadog Agent for Application
  • DogStatsD = Adding the Datadog Tracing Library to the code
  • Datadog_API = Rest API which can used to publish custom log/metric

3)Top 10 commands of Datadog Agent

  • systemctl start datadog-agent - To start the datadog-agent service
  • systemctl stop datadog-agent - To stop the datadog-agent service
  • systemctl restart datadog-agent - To restart datadog-agent post config changes

  • systemctl status datadog-agent - To check status of the datadog-agent service after starting

  • datadog-agent configcheck - To check the config changes status

  • datadog-agent config - To check the configuration values/files

  • datadog-agent health - To check datadog-agent is working as needed

  • datadog-agent hostname - Hostname of the datadog agent

  • datadog-agent version - To check current installed version

  • datadog-agent status - To check datadog-agent status

  • datadog-agent --help

4) Top 10 Techniques for troubleshooting Datadog Agent

  • Hostname and region Detection in datadog.yml config file
  • API token mismatch issue
  • Debug Mode
  • Agent Check Status
  • Network (NTP) issues
  • Permission issues
  • Integrations issues
  • Firewall issues
  • Agent Runtime Configuration
  • Config Yml file space/syntax issues

Top comments (0)