Debug School

Shanu Jaiswal
Shanu Jaiswal

Posted on

Datadog Assignment Infra

1) Datadog Agent collects events and metrics from hosts and sends them to Datadog where we can analyze the monitoring and performance data

2)

  • Collector collects host infra data.
  • DogstatsD collects application metrics on code level.
  • Both the above collected data will be transferred to forwarder using TCP protocol.
  • Forwarder send data to DataDog SAAS using http protocol.
  • For Apache, the metrices will be saved separately which in-turn was fetched by DataDog agent.
  • From DataDog SAAS, the metrices will be published or fetched in DataDog UI

3)

datadog-agent flare    
datadog-agent status 
datadog-agent stop                                  
datadog-agent help                       
datadog-agent import           
datadog-agent integration 
datadog-agent configcheck
datadog-agent config
datadog-agent health
datadog-agent hostname
datadog-agent version
Enter fullscreen mode Exit fullscreen mode

4)

  • Check Datadog Agent Process is running or not
  • Check Datadog Agent Logs for Error
  • Check Datadog Agent Configuration file(datadog.yaml) syntax Error
  • Check Datadog Integration Configuration file(datadog.yaml) syntax Error
  • Check Datadog Agent API Key in datadog.yaml
  • Check ENV variable set for Datadog Agent conflict with datadog.yaml
  • Print the runtime configuration of a running agent
  • Print all configurations loaded & resolved of a running agent
  • Execute some connectivity diagnosis on your system
  • Print the current agent health
  • Print basic statistics on the metrics processed by DogStatsD

5)
system.cpu.idle
system.cpu.iowait
system.disk.in_use
system.disk.total
system.disk.used
system.cpu.num_cores
system.cpu.system
system.cpu.user
system.disk.free
system.mem.total
system.mem.usable
system.mem.used

6)To activate a given integration:
Rename the conf.yaml.example file (in the corresponding .d folder) to conf.yaml.
Update the required parameters inside the newly created configuration file with the values corresponding to your environment.
Restart the Datadog Agent.

7)

  • system.cpu.idle
  • system.cpu.system
  • system.disk.write_time
  • system.mem.free
  • system.cpu.user
  • system.disk.free
  • system.disk.total
  • system.disk.used
  • system.mem.total
  • system.mem.usable
  • system.mem.used

8)

  • requests per second
  • bytes per requests
  • cpu usage
  • memory usage
  • load

Top comments (0)