Skip to main content

dora_failures

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

Overview

Namedora_failures
TypeResource
Iddatadog.software_delivery.dora_failures

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the incident event.
attributesobjectThe attributes of the incident event.
typestringJSON:API type for DORA incident events. (dora_failure) (default: dora_failure, example: dora_failure)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_dorafailureselectfailure_idUse this API endpoint to get an incident event.
list_dorafailuresselectUse this API endpoint to get a list of incident events.
create_dorafailureinsertdataUse this API endpoint to provide incident data for DORA Metrics.<br />Note that change failure rate and failed deployment recovery time are computed from change failures detected on deployments, not from incident events sent through this endpoint.<br />Tracking incidents gives a side-by-side view of how failed deployments translate into real-world incidents, including their severity and frequency.
delete_dorafailuredeletefailure_idUse this API endpoint to delete an incident event.

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
failure_idstringThe ID of the incident event to delete.
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Use this API endpoint to get an incident event.

SELECT
id,
attributes,
type
FROM datadog.software_delivery.dora_failures
WHERE failure_id = '{{ failure_id }}' -- required
;

INSERT examples

Use this API endpoint to provide incident data for DORA Metrics.<br />Note that change failure rate and failed deployment recovery time are computed from change failures detected on deployments, not from incident events sent through this endpoint.<br />Tracking incidents gives a side-by-side view of how failed deployments translate into real-world incidents, including their severity and frequency.

INSERT INTO datadog.software_delivery.dora_failures (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;

DELETE examples

Use this API endpoint to delete an incident event.

DELETE FROM datadog.software_delivery.dora_failures
WHERE failure_id = '{{ failure_id }}' --required
;