Skip to main content

Datadog

Overview

Connect Superblocks to Datadog to send metrics, logs, events, update notebooks, and more:

  • Send events to Datadog's Event Stream

Send events to Datadog's Event Stream

  • Send custom logs directly to Datadog logs

Send custom logs directly to Datadog logs

Setting up Datadog

Before getting started in Superblocks, log into your Datadog account or create a free trial. Create a new API Key within Organization Settings and take note of the key, as well as the URL of your Datadog instance.

info

If you are unable to create an API Key you may need to contact someone with the API Keys Write permission (e.g., a member of the Datadog Admin Role).

1. Add integration

In Superblocks, select REST API from the integrations page.

2. Configure settings

Fill out the form with the following settings:

SettingRequiredDescription
NameTRUEName that will be displayed to users when selecting this integration in Superblocks
Base URLTRUEWebhook URL, for example https://api.datadoghq.com/api/v1/ (see notes below)
AuthenticationTRUESelect API Key in the dropdown and specify DD-API-KEY as the key along with the value to add to the header
HeadersFALSEAdditional headers
ParamsFALSEAdditional query parameters
info

Base URL notes:

  • The Base URL will differ depending on your chosen Datadog region - for example .com or .eu.
  • Datadog's API also has two different versions, v1 and v2. Depending on which API features you need, you may need to setup separate REST integrations for each API version.
  • To lock the integration to a specific endpoint, set the Base URL to the full API URL. For example, to only allow users to create events in the US region, set the Base URL to https://api.datadoghq.com/api/v1/events.

3. Save

Click Create to save the integration.

info

If using Superblocks Cloud, add these Superblocks IPs to your allowlist (not necessary for On-Premise-Agent)

4. Set profiles

Optionally, configure different profiles for separate development environments.

success

Datadog Connected You can now to send metrics/events etc to Datadog in any Application, Workflow, or Scheduled Job.

Creating Datadog steps

Connect to your Datadog integration from Superblocks by creating steps in Application APIs, Workflows, and Scheduled Jobs.