DataDog

ENTERPRISE: Built-in integrations are available for Sensu Enterprise users only.

Overview

Create Datadog events for Sensu events. After managing your Datadog account API key, configure the handler (integration) with your API key.

Configuration

Example(s)

The following is an example global configuration for the datadog enterprise event handler (integration).

{
  "datadog": {
    "api_key": "9775a026f1ca7d1c6c5af9d94d9595a4",
    "timeout": 10
  }
}

Integration Specification

datadog attributes

The following attributes are configured within the {"datadog": {} } configuration scope.

api_key
description The Datadog account API key to use when creating Datadog events.
required true
type String
example
"api_key": "9775a026f1ca7d1c6c5af9d94d9595a4"
filters
description An array of Sensu event filters (names) to use when filtering events for the handler. Each array item must be a string. Specified filters are merged with default values.
required false
type Array
default
["handle_when", "check_dependencies"]
example
"filters": ["recurrence", "production"]
severities
description An array of check result severities the handler will handle. NOTE: event resolution bypasses this filtering.
required false
type Array
allowed values ok, warning, critical, unknown
example
 "severities": ["critical", "unknown"]
timeout
description The handler execution duration timeout in seconds (hard stop).
required false
type Integer
default 10
example
"timeout": 30