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)
1
Section 1: Getting Started with Datadog
9
Section 2: Extending Datadog
14
Section 3: Advanced Monitoring

Scripting Datadog

In this section, you will learn how to make calls to Datadog APIs using the curl command-line tool and how to use the APIs from Python. An important prerequisite to access the Datadog platform programmatically is to set up user access for that purpose. While authentication is done with the use of dedicated user credentials or SAML when the Datadog UI is accessed, a pair of application and API keys is used with Datadog APIs. Let's see how those keys are set up.

By navigating to Team | Applications Keys, a new application key pair can be created on the Application Keys page as shown in the following screenshot:

Figure 9.1 – Generating application keys

A new key can be created by clicking on the New Key button and providing it with a new name. The newly generated key will be listed on the same Application Keys page. It can be viewed and copied to the clipboard by clicking on a specific key listed in the preceding table, as in the...