Skip to main content

Datadog Connector

Datadog Datadog is a monitoring and analytics platform for cloud-scale infrastructure, applications, and logs. This component allows submitting metrics, managing webhook integrations, and receiving monitor alert notifications from Datadog.

API Documentation

This component was built using the Datadog API Reference utilizing the v2 Metrics API and v1 Webhooks Integration API.

Connections

API Key + Application Key

Authenticate using a Datadog API Key and Application Key. The API Key authenticates your organization, and the Application Key authorizes management operations.

Prerequisites

To configure this connection, the following are required:

  • A Datadog account with appropriate permissions
  • A Datadog API Key (created under Organization Settings > API Keys)
  • A Datadog Application Key (created under Organization Settings > Application Keys)

Setup Steps

  1. Log in to the Datadog account.
  2. Navigate to Organization Settings > API Keys.
  3. Click + New Key to create an API Key. Copy the key value.
  4. Navigate to Organization Settings > Application Keys.
  5. Click + New Key to create an Application Key. Copy the key value.
  6. Note the Datadog site/region (e.g., US1, EU, US3).

Configure the Connection

Create a connection of type API Key + Application Key and enter:

FieldDescription
Datadog SiteSelect the Datadog site that matches the organization (US1, US3, US5, EU, AP1, AP2, or US1-FED).
API KeyThe Datadog API Key. Identifies the organization.
Application KeyThe Datadog Application Key. Authorizes management and read operations.
InputCommentsDefault
Datadog SiteSelect the Datadog site that matches your organization. This determines the API base URL.https://api.datadoghq.com
API KeyThe Datadog API Key. Create one at Organization Settings > API Keys in Datadog.
Application KeyThe Datadog Application Key. Required for management and read endpoints. Create one at Organization Settings > Application Keys in Datadog.

OAuth 2.0 Authorization Code

Authenticate using OAuth 2.0 Authorization Code flow. Primarily used for Datadog integration partners and marketplace apps.

Prerequisites

To configure this connection, the following are required:

  • A Datadog account with organization admin permissions
  • A registered OAuth application with Datadog (typically for marketplace/partner integrations)
  • The Client ID and Client Secret from the OAuth application

Setup Steps

  1. Register the application with Datadog as an integration partner.
  2. Obtain the Client ID and Client Secret from the Datadog Developer Platform.
  3. Configure the required OAuth scopes for the use case (e.g., metrics_read, create_webhooks).
  4. Note the Datadog site/region (e.g., US1, EU, US3).

Configure the Connection

Create a connection of type OAuth 2.0 Authorization Code and enter:

FieldDescription
Datadog SiteSelect the Datadog site that matches the organization.
ScopesSpace-separated OAuth scopes. Available: metrics_read, timeseries_query, metric_tags_manage, create_webhooks.
Client IDThe Client ID from the Datadog OAuth application.
Client SecretThe Client Secret from the Datadog OAuth application.

The Authorize URL and Token URL are pre-configured for the standard Datadog OAuth endpoints.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Datadog SiteSelect the Datadog site that matches your organization. This determines the API base URL.https://api.datadoghq.com
Client IDThe Client ID from your Datadog OAuth application.
Client SecretThe Client Secret from your Datadog OAuth application.

Triggers

Alert Notification Events

Receive Datadog monitor alert notifications via webhook. Automatically registers a webhook in Datadog on deploy and removes it on delete.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Webhook NameThe name of the webhook. Used in Datadog monitor notifications as @webhook-NAME.
PayloadCustom JSON payload for the webhook. If not provided, uses the default Datadog payload with standard variables like $ALERT_TITLE, $ALERT_STATUS, etc.
Custom HeadersCustom headers to attach to webhook requests as a JSON string. Useful for authentication headers.

Actions

Create Webhook

Create a new webhook integration endpoint in Datadog. The webhook can then be referenced in monitor notifications as @webhook-NAME.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Webhook NameThe name of the webhook. Used in Datadog monitor notifications as @webhook-NAME.
Webhook URLThe URL of the webhook endpoint that will receive the data.
Custom HeadersCustom headers to attach to webhook requests as a JSON string. Useful for authentication headers.
Encode AsEncoding type for the webhook payload. Defaults to "json".
PayloadCustom JSON payload for the webhook. If not provided, uses the default Datadog payload with standard variables like $ALERT_TITLE, $ALERT_STATUS, etc.

Delete Webhook

Delete a Datadog webhook integration by name. This action cannot be undone.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Webhook NameThe name of the webhook. Used in Datadog monitor notifications as @webhook-NAME.

Get Webhook

Retrieve the configuration of a specific Datadog webhook integration by name.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Webhook NameThe name of the webhook. Used in Datadog monitor notifications as @webhook-NAME.

List Metrics

List active metric names that have reported data since a given timestamp, with optional host and tag filtering.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
FromUnix timestamp (seconds) from which to list active metrics. Metrics reported after this time are returned.
HostHostname to filter the list of active metrics. Only metrics reported by this host are returned.
Tag FilterFilter metrics by tag. Supports boolean expressions (e.g., "env:production AND role:web").

Raw Request

Send a raw HTTP request to any Datadog API endpoint.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
URLThe URL path to send the request to. The base URL is determined by the Datadog Site configured in the connection. For example, to call the Submit Metrics endpoint, enter /api/v2/series.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Search Metrics

Search for Datadog metrics by name prefix. Returns matching metric names.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
QuerySearch query to find metrics by name prefix. The "metrics:" prefix is added automatically.

Submit Metrics

Submit time-series metric data to Datadog for graphing on dashboards. Uses the v2 API endpoint.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Metric SeriesJSON array of metric series to submit. Each series must include "metric" (name) and "points" (array of {timestamp, value}). Optional fields: type, interval, unit, tags, resources.

Submit Single Metric

Submit a single metric data point to Datadog. For bulk submissions, use the Submit Metrics action.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Metric NameThe name of the timeseries metric (e.g., system.load.1, custom.my_metric).
ValueThe numeric value for the metric data point (64-bit float).
TimestampUnix timestamp in seconds. Defaults to the current time if not provided. Must be within 10 minutes in the future or 1 hour in the past.
Metric TypeThe type of metric. Gauge is the default if unspecified. Count and Rate types require an interval.
TagsTags associated with the metric. Each tag is a string in "key:value" format.
UnitThe unit of the metric value (e.g., byte, second, request).
IntervalThe interval in seconds. Required if the metric type is rate or count.
Resource NameThe name of the resource to associate with this metric (e.g., hostname).
Resource TypeThe type of resource (e.g., "host").

Update Webhook

Update the configuration of an existing Datadog webhook integration.

InputCommentsDefault
ConnectionThe Datadog connection to use for authentication.
Webhook NameThe name of the webhook. Used in Datadog monitor notifications as @webhook-NAME.
Webhook URLThe URL of the webhook endpoint that will receive the data.
Custom HeadersCustom headers to attach to webhook requests as a JSON string. Useful for authentication headers.
Encode AsEncoding type for the webhook payload. Defaults to "json".
PayloadCustom JSON payload for the webhook. If not provided, uses the default Datadog payload with standard variables like $ALERT_TITLE, $ALERT_STATUS, etc.