/api/v1/monitor to the organization’s Datadog API origin, such as
https://api.datadoghq.eu. Seal an OAuth access token with monitors read
permission as bearer auth. Pass the same label to the receiver binder and as the app’s data.
Initialize with
{ profile: { mode: "provider", provider: "datadog.monitors.observations", limit: 10 } }.
The feed advances id_offset through strictly increasing monitor IDs and
stores the returned monitor JSON keyed by ID. An empty page ends the scan
and the next poll starts from the beginning. A page holds 1–100 requested
monitors and at most 36 KiB. A monitor missing from a later scan remains
published. The feed requires the bundled parser artifact.
datadog.metrics(api, { query }) from @bijectionhq/library-connectors/datadog
fixes a metric query in the deployed declaration, with its digest in the
lock. A feed’s terms carry only its { from, to } window.
Datadog monitors API
Write monitors
Follow the native write app guide. BindproviderWriter("datadog.monitors.create-update-delete", { endpoint: "https://api.datadoghq.com", auth }, data) and pass it as receivers.writers["datadog.monitors.create-update-delete"]. Choose your official Datadog API region. Seal an OAuth bearer with monitor write access or seal the API and application keys separately as DD-API-KEY and DD-APPLICATION-KEY. HTTP 200 must return id for create and update, or deleted_monitor_id for delete. The delete is unforced, so Datadog can refuse a monitor referenced by another resource.
The writer records its evidence under the app’s data label. Commands take up to 24 KiB of JSON and carry no read cursor.
Provider write API
Incidents and events
UseproviderEndpoint(mode, origin, path, auth, data) for the
organization’s official Datadog API origin. Bind the receiver as
receivers.provider and bind data to the same protected label.
Seal an OAuth token with incident or event read permission, or use
multiSecret for separate API and application keys where the site
and endpoint accept them.
Initialize with
{ profile: { mode: "provider", provider: mode, limit: 10 } }.
For events add start and end as absolute UTC instants with second
precision, at most seven days apart. The same bounds apply to each page in
the sweep. Event queries that report warnings or incomplete status leave the
position unchanged.
Both modes accept up to 100 requested records and 36 KiB per page. A
terminal page restarts the sweep on the next poll. Visibility and provider
retention limit both feeds. Missing records remain published.
Incidents ·
Events
Metric query statements
datadog.metrics(api, { query }) from
@bijectionhq/library-connectors/datadog lands one record per returned
series, keyed by expression and scope, over a closed window. The feed’s
terms are only that window, { from, to } in Unix seconds. The query text is
a deployed statement in the metric language. bijection check locks it
on a statement … lang=metric line, and it never travels in a feed’s terms.
Datadog runs the query itself, so no statement provider installs it. A
metric statement retracts nothing: a series absent from a later window stays
landed.