Agent Flashcards
Is the Datadog Agent open source?
The Datadog Agent is open source and its source code is available on GitHub at DataDog/datadog-agent.
Agent v6 and v7 are composed of a main process responsible for collecting infrastructure metrics, logs, and receiving DogStatsD metrics. What are the main components to this process?
- The Collector is in charge of running checks and collecting metrics.
- The Forwarder sends payloads to Datadog.
What are two optional processes that are spawned by the Agent if enabled in the datadog.yaml configuration file?
- The APM Agent is a process to collect traces (enabled by default).
- The Process Agent is a process to collect live process information. By default, it only collects available containers, otherwise it is disabled.
What are the three main services (processes) of the Datadog agent on Windows?
1) DatadogAgent
2) datadog-trace-agent
3) datadog-process-agent
By default the Agent binds 3 ports on Linux and 4 on Windows and OSX; what are they ports and their function?
1) 5000: Exposes runtime metrics about the Agent.
2) 5001: Used by the Agent CLI and GUI to send commands and pull information from the running Agent.
3) 5002: Serves the GUI server on Windows and OSX.
4) 8125: Used for the DogStatsD server to receive external metrics.
How often does the Datadog collector gather all standard metrics?
Every 15 seconds
How does the Datadog agent forwarder send metrics to Datadog securely?
The Agent forwarder send metrics over HTTPS to Datadog.
How does the Datadog agent forwarder send metrics to Datadog without affecting metric reporting?
Buffering prevents network splits from affecting metric reporting. Metrics are buffered in memory until a limit in size or number of outstanding send requests are reached. Afterwards, the oldest metrics are discarded to keep the forwarder’s memory footprint manageable.
How does the Datadog agent forwarder send logs to Datadog securely?
Logs are sent over an SSL-encrypted TCP connection to Datadog.
What is DogStatsD?
In v6, DogStatsD is a Golang implementation of Etsy’s StatsD metric aggregation daemon. It is used to receive and roll up arbitrary metrics over UDP or Unix socket, thus allowing custom code to be instrumented without adding latency.
How can you modify what port the Datadog Agent runs on?
You can configure the port on which the GUI runs in the datadog.yaml file.
How do you disable the Datadog agent GUI?
To disable the GUI, set the port’s value to -1.
What operating systems enable the Datadog agent GUI?
Windows and macOSWindows and macOS
Is the Datadog agent enabled on Windows by default?
Yes
Is the Datadog Agent enabled on macOS by default?
Yes
Is the Datadog Agent enabled on Linux by default?
No
Is the Datadog Agent supported on 32-bit Windows?
No
Are cookies required to be enabled in your browser to use the Datadog Agent GUI?
Yes, the GUI generates and saves a token in your browser which is used for authenticating all communications with the GUI server.
What is a quick and easy way to confirm you have the correct permissions to start the Datadog Agent GUI?
If you are able to open datadog.yaml, you are able to use the GUI.