Skip to main content

dora_deployments

Creates, updates, deletes, gets or lists a dora_deployments resource.

Overview

Namedora_deployments
TypeResource
Iddatadog.software_delivery.dora_deployments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the event.
attributesobjectThe attributes of the event.
typestringThe type of the event.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_doradeploymentselectdeployment_id, regionUse this API endpoint to get a deployment event.
list_doradeploymentsselectregionUse this API endpoint to get a list of deployment events.
create_doradeploymentinsertregion, data__dataUse this API endpoint to provide data about deployments for DORA metrics.

This is necessary for:
- Deployment Frequency
- Change Lead Time
- Change Failure Rate

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_idstringThe ID of the deployment event.
regionstring(default: datadoghq.com)

SELECT examples

Use this API endpoint to get a deployment event.

SELECT
id,
attributes,
type
FROM datadog.software_delivery.dora_deployments
WHERE deployment_id = '{{ deployment_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Use this API endpoint to provide data about deployments for DORA metrics.

This is necessary for:
- Deployment Frequency
- Change Lead Time
- Change Failure Rate

INSERT INTO datadog.software_delivery.dora_deployments (
data__data,
region
)
SELECT
'{{ data }}' /* required */,
'{{ region }}'
RETURNING
data
;