Documentation
Plugins
Sources
Datadog
Configuration

CloudQuery Datadog Source Plugin Configuration Reference

Example

This example connects a single Datadog account to a Postgres destination. The (top level) source spec section is described in the Source Spec Reference.

kind: source
spec:
  # Source spec section
  name: "datadog"
  path: "cloudquery/datadog"
  version: "v4.2.0"
  tables: ["*"]
  destinations: ["postgresql"]

  spec:
    accounts:
      - name: example_account # Required. Name to distinguish accounts
        api_key: <DD_CLIENT_API_KEY> # Required. API key
        app_key: <DD_CLIENT_APP_KEY> # Required. App key
    # Optional parameters
    # site: datadoghq.eu
    # concurrency: 10000

Datadog Spec

This is the (nested) spec used by the Datadog source plugin.

  • accounts ([]account)

    Specify which accounts to sync data from.

  • site (string, optional, default: "")

    The Datadog site to connect to. This is usually one of datadoghq.com or datadoghq.eu - see site (opens in a new tab) documentation for more information.

  • concurrency (int, optional, default: 10000)

    A best effort maximum number of Go routines to use. Lower this number to reduce memory usage.

account

This is used to specify one or more accounts to extract information from. Note that it should be an array of objects, each with the following fields:

  • name (string)

    Account name.

  • api_key (string)

    Datadog API key.

  • app_key (string)

    Datadog App key.