Link Search Menu Expand Document

Datadog Integration Guide

Logo Company Estimated Time Functionality Vendor Docs
Datadog Datadog 15 minutes One-Way view

Datadog Integration

Datadog is a monitoring service for cloud-scale applications, bringing together data from servers, databases, tools, and services to present a unified view of an entire stack.

How Datadog users benefit from PagerTree

Datadog triggers user defined alerts by monitoring services and applications. PagerTree acts as the dispatcher for these alerts, determining the right people to notify based on on-call schedules. PagerTree notifies them via email, sms, voice, and/or push notifications until the alert is acknowledged or closed.

Functionality of Integration

The Datadog integration is one-way, meaning:

  • When a monitor alert is triggered (ALERT_TRANSITION === "Triggered") in Datadog, an alert is created in PagerTree automatically.
  • When a monitor alert is resolved (ALERT_TRANSITION === "Recovered") in Datadog, the alert is resolved in PagerTree automatically.

Tutorial Overview

In this integration tutorial we will show you how to send alerts from Datadog into PagerTree. The estimated time for this integration is 15 minutes. We assume that you already have a PagerTree and Datadog account setup.

In PagerTree

  1. From the integrations page, click the New Integration” button Click Create Integration Button
  2. Click the logo of the Type of integration you want to create
  3. In the “Create Integration” form, fill out the following:
    1. Name of the Integration.
    2. Select an appropriate Urgency for when this integration is triggered
    3. Select the Team this alert will be assigned to
    4. Any additional options requested by the integration
  4. Click Create
  5. Copy the Endpoint URL Copy Endpoint URL

In Datadog

Create the Integration
  1. Click Menu -> Integrations -> Integration Click Menu -> Integrations -> Integration
  2. Type “webhook” in the search bar, then click “+Available” Search webhook
  3. Click the “Configuration” tab Click configuration tab
  4. Scroll to the bottom and enter in the following values
    1. Name – Give you integration an appropriate name (e.g. “pt_retail_team_integration”)
    2. URL – Paste the PagerTree Endpoint URL you copied
    3. Check “Use custom payload”
    4. Copy & Paste the following
  1. Click “Install Integration” Configure and install integration
  2. Click outside the modal to exit
Attach the Integration to a Monitor

Its necessary the integration be attached to a monitor. The monitor will create an alert that is sent to PagerTree. In this example we actually create a new monitor, but you could just as easily attach it to an existing monitor.

  1. Click Menu -> Monitors -> New Monitor Create new monitor
  2. Click the appropriate monitor type for your scenario (e.g. “Host”) select-monitor-type
  3. Enter in appropriate monitor values for your situation
    1. Under the “Notify your team” section
      1. Select the Webhook Integration you just created (e.g. @webhook-pt_retail_team_integration) Configure Monitor
  4. Click “Save”

You have successfully completed the Datadog Integration. Now when Datadog creates an alert, PagerTree will create an alert and route it to the correct team member that is on-call. If you have any questions please contact [email protected]

© 2016-2022 PagerTree LLC. All rights reserved.