@@ -11096,56 +11096,39 @@ components:
11096
11096
description: The type of the event.
11097
11097
type: string
11098
11098
type: object
11099
- DORAFetchResponse:
11100
- description: Response for the DORA fetch endpoints.
11101
- properties:
11102
- data:
11103
- $ref: '#/components/schemas/DORAEvent'
11104
- type: object
11105
- DORAGitInfo:
11106
- description: Git info for DORA Metrics events.
11107
- properties:
11108
- commit_sha:
11109
- $ref: '#/components/schemas/GitCommitSHA'
11110
- repository_url:
11111
- $ref: '#/components/schemas/GitRepositoryURL'
11112
- required:
11113
- - repository_url
11114
- - commit_sha
11115
- type: object
11116
- DORAIncidentRequest:
11117
- description: Request to create a DORA incident event.
11099
+ DORAFailureRequest:
11100
+ description: Request to create a DORA failure event.
11118
11101
properties:
11119
11102
data:
11120
- $ref: '#/components/schemas/DORAIncidentRequestData '
11103
+ $ref: '#/components/schemas/DORAFailureRequestData '
11121
11104
required:
11122
11105
- data
11123
11106
type: object
11124
- DORAIncidentRequestAttributes :
11125
- description: Attributes to create a DORA incident event.
11107
+ DORAFailureRequestAttributes :
11108
+ description: Attributes to create a DORA failure event.
11126
11109
properties:
11127
11110
env:
11128
- description: Environment name that was impacted by the incident .
11111
+ description: Environment name that was impacted by the failure .
11129
11112
example: staging
11130
11113
type: string
11131
11114
finished_at:
11132
- description: Unix timestamp when the incident finished. It must be in nanoseconds,
11115
+ description: Unix timestamp when the failure finished. It must be in nanoseconds,
11133
11116
milliseconds, or seconds, and it should not be older than 1 hour.
11134
11117
example: 1693491984000000000
11135
11118
format: int64
11136
11119
type: integer
11137
11120
git:
11138
11121
$ref: '#/components/schemas/DORAGitInfo'
11139
11122
id:
11140
- description: Incident ID. Must have at least 16 characters. Required to
11141
- update a previously sent incident .
11123
+ description: Failure ID. Must have at least 16 characters. Required to update
11124
+ a previously sent failure .
11142
11125
type: string
11143
11126
name:
11144
- description: Incident name.
11127
+ description: Failure name.
11145
11128
example: Webserver is down failing all requests.
11146
11129
type: string
11147
11130
services:
11148
- description: Service names impacted by the incident . If possible, use names
11131
+ description: Service names impacted by the failure . If possible, use names
11149
11132
registered in the Service Catalog. Required when the team field is not
11150
11133
provided.
11151
11134
example:
@@ -11154,11 +11137,11 @@ components:
11154
11137
type: string
11155
11138
type: array
11156
11139
severity:
11157
- description: Incident severity.
11140
+ description: Failure severity.
11158
11141
example: High
11159
11142
type: string
11160
11143
started_at:
11161
- description: Unix timestamp when the incident started. It must be in nanoseconds,
11144
+ description: Unix timestamp when the failure started. It must be in nanoseconds,
11162
11145
milliseconds, or seconds.
11163
11146
example: 1693491974000000000
11164
11147
format: int64
@@ -11176,43 +11159,60 @@ components:
11176
11159
required:
11177
11160
- started_at
11178
11161
type: object
11179
- DORAIncidentRequestData :
11162
+ DORAFailureRequestData :
11180
11163
description: The JSON:API data.
11181
11164
properties:
11182
11165
attributes:
11183
- $ref: '#/components/schemas/DORAIncidentRequestAttributes '
11166
+ $ref: '#/components/schemas/DORAFailureRequestAttributes '
11184
11167
required:
11185
11168
- attributes
11186
11169
type: object
11187
- DORAIncidentResponse :
11188
- description: Response after receiving a DORA incident event.
11170
+ DORAFailureResponse :
11171
+ description: Response after receiving a DORA failure event.
11189
11172
properties:
11190
11173
data:
11191
- $ref: '#/components/schemas/DORAIncidentResponseData '
11174
+ $ref: '#/components/schemas/DORAFailureResponseData '
11192
11175
required:
11193
11176
- data
11194
11177
type: object
11195
- DORAIncidentResponseData :
11196
- description: Response after receiving a DORA incident event.
11178
+ DORAFailureResponseData :
11179
+ description: Response after receiving a DORA failure event.
11197
11180
properties:
11198
11181
id:
11199
- description: The ID of the received DORA incident event.
11182
+ description: The ID of the received DORA failure event.
11200
11183
example: 4242fcdd31586083
11201
11184
type: string
11202
11185
type:
11203
- $ref: '#/components/schemas/DORAIncidentType '
11186
+ $ref: '#/components/schemas/DORAFailureType '
11204
11187
required:
11205
11188
- id
11206
11189
type: object
11207
- DORAIncidentType :
11208
- default: dora_incident
11209
- description: JSON:API type for DORA incident events.
11190
+ DORAFailureType :
11191
+ default: dora_failure
11192
+ description: JSON:API type for DORA failure events.
11210
11193
enum:
11211
- - dora_incident
11212
- example: dora_incident
11194
+ - dora_failure
11195
+ example: dora_failure
11213
11196
type: string
11214
11197
x-enum-varnames:
11215
- - DORA_INCIDENT
11198
+ - DORA_FAILURE
11199
+ DORAFetchResponse:
11200
+ description: Response for the DORA fetch endpoints.
11201
+ properties:
11202
+ data:
11203
+ $ref: '#/components/schemas/DORAEvent'
11204
+ type: object
11205
+ DORAGitInfo:
11206
+ description: Git info for DORA Metrics events.
11207
+ properties:
11208
+ commit_sha:
11209
+ $ref: '#/components/schemas/GitCommitSHA'
11210
+ repository_url:
11211
+ $ref: '#/components/schemas/GitRepositoryURL'
11212
+ required:
11213
+ - repository_url
11214
+ - commit_sha
11215
+ type: object
11216
11216
DORAListDeploymentsRequest:
11217
11217
description: Request to get a list of deployments.
11218
11218
properties:
@@ -45794,9 +45794,6 @@ paths:
45794
45794
tags:
45795
45795
- DORA Metrics
45796
45796
x-codegen-request-body-name: body
45797
- x-unstable: '**Note**: This endpoint is in public beta.
45798
-
45799
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
45800
45797
/api/v2/dora/deployments:
45801
45798
post:
45802
45799
description: Use this API endpoint to get a list of deployment events.
@@ -45874,6 +45871,52 @@ paths:
45874
45871
operator: OR
45875
45872
permissions:
45876
45873
- dora_metrics_read
45874
+ /api/v2/dora/failure:
45875
+ post:
45876
+ description: 'Use this API endpoint to provide failure data for DORA metrics.
45877
+
45878
+
45879
+ This is necessary for:
45880
+
45881
+ - Change Failure Rate
45882
+
45883
+ - Time to Restore'
45884
+ operationId: CreateDORAFailure
45885
+ requestBody:
45886
+ content:
45887
+ application/json:
45888
+ schema:
45889
+ $ref: '#/components/schemas/DORAFailureRequest'
45890
+ required: true
45891
+ responses:
45892
+ '200':
45893
+ content:
45894
+ application/json:
45895
+ schema:
45896
+ $ref: '#/components/schemas/DORAFailureResponse'
45897
+ description: OK
45898
+ '202':
45899
+ content:
45900
+ application/json:
45901
+ schema:
45902
+ $ref: '#/components/schemas/DORAFailureResponse'
45903
+ description: OK - but delayed due to incident
45904
+ '400':
45905
+ content:
45906
+ application/json:
45907
+ schema:
45908
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
45909
+ description: Bad Request
45910
+ '403':
45911
+ $ref: '#/components/responses/NotAuthorizedResponse'
45912
+ '429':
45913
+ $ref: '#/components/responses/TooManyRequestsResponse'
45914
+ security:
45915
+ - apiKeyAuth: []
45916
+ summary: Send a failure event for DORA Metrics
45917
+ tags:
45918
+ - DORA Metrics
45919
+ x-codegen-request-body-name: body
45877
45920
/api/v2/dora/failures:
45878
45921
post:
45879
45922
description: Use this API endpoint to get a list of failure events.
@@ -45953,7 +45996,12 @@ paths:
45953
45996
- dora_metrics_read
45954
45997
/api/v2/dora/incident:
45955
45998
post:
45956
- description: 'Use this API endpoint to provide failure data for DORA metrics.
45999
+ deprecated: true
46000
+ description: '**Note**: This endpoint is deprecated. Please use `/api/v2/dora/failure`
46001
+ instead.
46002
+
46003
+
46004
+ Use this API endpoint to provide failure data for DORA metrics.
45957
46005
45958
46006
45959
46007
This is necessary for:
@@ -45966,20 +46014,20 @@ paths:
45966
46014
content:
45967
46015
application/json:
45968
46016
schema:
45969
- $ref: '#/components/schemas/DORAIncidentRequest '
46017
+ $ref: '#/components/schemas/DORAFailureRequest '
45970
46018
required: true
45971
46019
responses:
45972
46020
'200':
45973
46021
content:
45974
46022
application/json:
45975
46023
schema:
45976
- $ref: '#/components/schemas/DORAIncidentResponse '
46024
+ $ref: '#/components/schemas/DORAFailureResponse '
45977
46025
description: OK
45978
46026
'202':
45979
46027
content:
45980
46028
application/json:
45981
46029
schema:
45982
- $ref: '#/components/schemas/DORAIncidentResponse '
46030
+ $ref: '#/components/schemas/DORAFailureResponse '
45983
46031
description: OK - but delayed due to incident
45984
46032
'400':
45985
46033
content:
@@ -45997,9 +46045,6 @@ paths:
45997
46045
tags:
45998
46046
- DORA Metrics
45999
46047
x-codegen-request-body-name: body
46000
- x-unstable: '**Note**: This endpoint is in public beta.
46001
-
46002
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
46003
46048
/api/v2/downtime:
46004
46049
get:
46005
46050
description: Get all scheduled downtimes.
0 commit comments