Datadog Connection

The Datadog Connection type enables integrations with the Datadog API client.

Default Connection IDs

Hooks and sensors related to Datadog use datadog_default by default.

Configuring the Connection

Host

Host name to associate with the sent events.

Extra

Specify the extra parameters (as a JSON dictionary) that can be used in Datadog connection.

api_host: Datadog API endpoint

api_key: Datadog API key

app_key: Datadog application key

source_type_name: Datadog source type name (defaults to my_apps).

Secret Management

When storing the connection details in a secret management system, it can be convenient to name the secret with the default value:

secret name: airflow/connections/datadog_default

The following json is an example of what the secret contents should look like:

{
  "conn_type": "datadog",
  "description": "Datadog connection for my app",
  "extra": {
    "api_host": "https://api.datadoghq.com",
    "api_key": "my api key",
    "app_key": "my app key",
    "source_type_name": "apache"
  },
  "host": "environment-region-application.domain.com"
}

Was this entry helpful?