Datadog

Monitoring API key Windmill docs

Send metrics and events to Datadog, and query monitors, from any Windmill script, flow or app.

Set up in 3 steps

1

Copy your keys

In Datadog, open Organization Settings then API Keys. The API key is enough to send metrics and events; an Application key is only needed to read back monitors and dashboards.

2

Add the resource in Windmill

Open Resources, add a resource of type datadog, and fill apiKey. Set apiBase if your account is not on the US site — https://api.datadoghq.eu for the EU.

3

Run your first script

Fork any script below and send a test event.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Resource type

datadog — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
apiBasestringNo
apiKeystringYes
appKeystringYes

Questions

Do I need the application key?

Only for reading. Submitting metrics, events and logs needs the API key alone.

My calls return a 403

Usually the wrong site. Datadog is region-partitioned — set apiBase to your account's API host rather than the US default.

Is my key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.