Book Image

Datadog Cloud Monitoring Quick Start Guide

By : Thomas Kurian Theakanath
Book Image

Datadog Cloud Monitoring Quick Start Guide

By: Thomas Kurian Theakanath

Overview of this book

Datadog is an essential cloud monitoring and operational analytics tool which enables the monitoring of servers, virtual machines, containers, databases, third-party tools, and application services. IT and DevOps teams can easily leverage Datadog to monitor infrastructure and cloud services, and this book will show you how. The book starts by describing basic monitoring concepts and types of monitoring that are rolled out in a large-scale IT production engineering environment. Moving on, the book covers how standard monitoring features are implemented on the Datadog platform and how they can be rolled out in a real-world production environment. As you advance, you'll discover how Datadog is integrated with popular software components that are used to build cloud platforms. The book also provides details on how to use monitoring standards such as Java Management Extensions (JMX) and StatsD to extend the Datadog platform. Finally, you'll get to grips with monitoring fundamentals, learn how monitoring can be rolled out using Datadog proactively, and find out how to extend and customize the Datadog platform. By the end of this Datadog book, you will have gained the skills needed to monitor your cloud infrastructure and the software applications running on it using Datadog.
Table of Contents (19 chapters)
Section 1: Getting Started with Datadog
Section 2: Extending Datadog
Section 3: Advanced Monitoring

Advanced agent configuration

The main Datadog agent configuration file, datadog.yaml, can be updated to meet your specific monitoring requirements. By default, only api_key is set in it. A datadog.yaml file used in a real-life environment would have more options set.

We will see some of the important configuration items that are usually leveraged to fine-tune the monitoring infrastructure:

  • proxy: If the outbound traffic to the internet has to go through a proxy, this option needs to be configured. Typical proxy settings for http, https, and no_proxy are supported.
  • hostname: If a specific hostname has to be used for reporting, it is set using this option. By default, the hostname is auto-detected using tools available at the operating system level.
  • tags: A very important option that is always used to tag the metrics reported by the agent. Multiple key/value pairs can be specified.
  • collect_ec2_tags: By enabling this option, the AWS EC2 node tags can be collected...