@@ -11189,56 +11189,39 @@ components:
11189
11189
description: The type of the event.
11190
11190
type: string
11191
11191
type: object
11192
- DORAFetchResponse:
11193
- description: Response for the DORA fetch endpoints.
11194
- properties:
11195
- data:
11196
- $ref: '#/components/schemas/DORAEvent'
11197
- type: object
11198
- DORAGitInfo:
11199
- description: Git info for DORA Metrics events.
11200
- properties:
11201
- commit_sha:
11202
- $ref: '#/components/schemas/GitCommitSHA'
11203
- repository_url:
11204
- $ref: '#/components/schemas/GitRepositoryURL'
11205
- required:
11206
- - repository_url
11207
- - commit_sha
11208
- type: object
11209
- DORAIncidentRequest:
11210
- description: Request to create a DORA incident event.
11192
+ DORAFailureRequest:
11193
+ description: Request to create a DORA failure event.
11211
11194
properties:
11212
11195
data:
11213
- $ref: '#/components/schemas/DORAIncidentRequestData '
11196
+ $ref: '#/components/schemas/DORAFailureRequestData '
11214
11197
required:
11215
11198
- data
11216
11199
type: object
11217
- DORAIncidentRequestAttributes :
11218
- description: Attributes to create a DORA incident event.
11200
+ DORAFailureRequestAttributes :
11201
+ description: Attributes to create a DORA failure event.
11219
11202
properties:
11220
11203
env:
11221
- description: Environment name that was impacted by the incident .
11204
+ description: Environment name that was impacted by the failure .
11222
11205
example: staging
11223
11206
type: string
11224
11207
finished_at:
11225
- description: Unix timestamp when the incident finished. It must be in nanoseconds,
11208
+ description: Unix timestamp when the failure finished. It must be in nanoseconds,
11226
11209
milliseconds, or seconds, and it should not be older than 1 hour.
11227
11210
example: 1693491984000000000
11228
11211
format: int64
11229
11212
type: integer
11230
11213
git:
11231
11214
$ref: '#/components/schemas/DORAGitInfo'
11232
11215
id:
11233
- description: Incident ID. Must have at least 16 characters. Required to
11234
- update a previously sent incident .
11216
+ description: Failure ID. Must have at least 16 characters. Required to update
11217
+ a previously sent failure .
11235
11218
type: string
11236
11219
name:
11237
- description: Incident name.
11220
+ description: Failure name.
11238
11221
example: Webserver is down failing all requests.
11239
11222
type: string
11240
11223
services:
11241
- description: Service names impacted by the incident . If possible, use names
11224
+ description: Service names impacted by the failure . If possible, use names
11242
11225
registered in the Service Catalog. Required when the team field is not
11243
11226
provided.
11244
11227
example:
@@ -11247,11 +11230,11 @@ components:
11247
11230
type: string
11248
11231
type: array
11249
11232
severity:
11250
- description: Incident severity.
11233
+ description: Failure severity.
11251
11234
example: High
11252
11235
type: string
11253
11236
started_at:
11254
- description: Unix timestamp when the incident started. It must be in nanoseconds,
11237
+ description: Unix timestamp when the failure started. It must be in nanoseconds,
11255
11238
milliseconds, or seconds.
11256
11239
example: 1693491974000000000
11257
11240
format: int64
@@ -11269,43 +11252,60 @@ components:
11269
11252
required:
11270
11253
- started_at
11271
11254
type: object
11272
- DORAIncidentRequestData :
11255
+ DORAFailureRequestData :
11273
11256
description: The JSON:API data.
11274
11257
properties:
11275
11258
attributes:
11276
- $ref: '#/components/schemas/DORAIncidentRequestAttributes '
11259
+ $ref: '#/components/schemas/DORAFailureRequestAttributes '
11277
11260
required:
11278
11261
- attributes
11279
11262
type: object
11280
- DORAIncidentResponse :
11281
- description: Response after receiving a DORA incident event.
11263
+ DORAFailureResponse :
11264
+ description: Response after receiving a DORA failure event.
11282
11265
properties:
11283
11266
data:
11284
- $ref: '#/components/schemas/DORAIncidentResponseData '
11267
+ $ref: '#/components/schemas/DORAFailureResponseData '
11285
11268
required:
11286
11269
- data
11287
11270
type: object
11288
- DORAIncidentResponseData :
11289
- description: Response after receiving a DORA incident event.
11271
+ DORAFailureResponseData :
11272
+ description: Response after receiving a DORA failure event.
11290
11273
properties:
11291
11274
id:
11292
- description: The ID of the received DORA incident event.
11275
+ description: The ID of the received DORA failure event.
11293
11276
example: 4242fcdd31586083
11294
11277
type: string
11295
11278
type:
11296
- $ref: '#/components/schemas/DORAIncidentType '
11279
+ $ref: '#/components/schemas/DORAFailureType '
11297
11280
required:
11298
11281
- id
11299
11282
type: object
11300
- DORAIncidentType :
11301
- default: dora_incident
11302
- description: JSON:API type for DORA incident events.
11283
+ DORAFailureType :
11284
+ default: dora_failure
11285
+ description: JSON:API type for DORA failure events.
11303
11286
enum:
11304
- - dora_incident
11305
- example: dora_incident
11287
+ - dora_failure
11288
+ example: dora_failure
11306
11289
type: string
11307
11290
x-enum-varnames:
11308
- - DORA_INCIDENT
11291
+ - DORA_FAILURE
11292
+ DORAFetchResponse:
11293
+ description: Response for the DORA fetch endpoints.
11294
+ properties:
11295
+ data:
11296
+ $ref: '#/components/schemas/DORAEvent'
11297
+ type: object
11298
+ DORAGitInfo:
11299
+ description: Git info for DORA Metrics events.
11300
+ properties:
11301
+ commit_sha:
11302
+ $ref: '#/components/schemas/GitCommitSHA'
11303
+ repository_url:
11304
+ $ref: '#/components/schemas/GitRepositoryURL'
11305
+ required:
11306
+ - repository_url
11307
+ - commit_sha
11308
+ type: object
11309
11309
DORAListDeploymentsRequest:
11310
11310
description: Request to get a list of deployments.
11311
11311
properties:
@@ -45887,9 +45887,6 @@ paths:
45887
45887
tags:
45888
45888
- DORA Metrics
45889
45889
x-codegen-request-body-name: body
45890
- x-unstable: '**Note**: This endpoint is in public beta.
45891
-
45892
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
45893
45890
/api/v2/dora/deployments:
45894
45891
post:
45895
45892
description: Use this API endpoint to get a list of deployment events.
@@ -45967,6 +45964,52 @@ paths:
45967
45964
operator: OR
45968
45965
permissions:
45969
45966
- dora_metrics_read
45967
+ /api/v2/dora/failure:
45968
+ post:
45969
+ description: 'Use this API endpoint to provide failure data for DORA metrics.
45970
+
45971
+
45972
+ This is necessary for:
45973
+
45974
+ - Change Failure Rate
45975
+
45976
+ - Time to Restore'
45977
+ operationId: CreateDORAFailure
45978
+ requestBody:
45979
+ content:
45980
+ application/json:
45981
+ schema:
45982
+ $ref: '#/components/schemas/DORAFailureRequest'
45983
+ required: true
45984
+ responses:
45985
+ '200':
45986
+ content:
45987
+ application/json:
45988
+ schema:
45989
+ $ref: '#/components/schemas/DORAFailureResponse'
45990
+ description: OK
45991
+ '202':
45992
+ content:
45993
+ application/json:
45994
+ schema:
45995
+ $ref: '#/components/schemas/DORAFailureResponse'
45996
+ description: OK - but delayed due to incident
45997
+ '400':
45998
+ content:
45999
+ application/json:
46000
+ schema:
46001
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
46002
+ description: Bad Request
46003
+ '403':
46004
+ $ref: '#/components/responses/NotAuthorizedResponse'
46005
+ '429':
46006
+ $ref: '#/components/responses/TooManyRequestsResponse'
46007
+ security:
46008
+ - apiKeyAuth: []
46009
+ summary: Send a failure event for DORA Metrics
46010
+ tags:
46011
+ - DORA Metrics
46012
+ x-codegen-request-body-name: body
45970
46013
/api/v2/dora/failures:
45971
46014
post:
45972
46015
description: Use this API endpoint to get a list of failure events.
@@ -46046,7 +46089,12 @@ paths:
46046
46089
- dora_metrics_read
46047
46090
/api/v2/dora/incident:
46048
46091
post:
46049
- description: 'Use this API endpoint to provide failure data for DORA metrics.
46092
+ deprecated: true
46093
+ description: '**Note**: This endpoint is deprecated. Please use `/api/v2/dora/failure`
46094
+ instead.
46095
+
46096
+
46097
+ Use this API endpoint to provide failure data for DORA metrics.
46050
46098
46051
46099
46052
46100
This is necessary for:
@@ -46059,20 +46107,20 @@ paths:
46059
46107
content:
46060
46108
application/json:
46061
46109
schema:
46062
- $ref: '#/components/schemas/DORAIncidentRequest '
46110
+ $ref: '#/components/schemas/DORAFailureRequest '
46063
46111
required: true
46064
46112
responses:
46065
46113
'200':
46066
46114
content:
46067
46115
application/json:
46068
46116
schema:
46069
- $ref: '#/components/schemas/DORAIncidentResponse '
46117
+ $ref: '#/components/schemas/DORAFailureResponse '
46070
46118
description: OK
46071
46119
'202':
46072
46120
content:
46073
46121
application/json:
46074
46122
schema:
46075
- $ref: '#/components/schemas/DORAIncidentResponse '
46123
+ $ref: '#/components/schemas/DORAFailureResponse '
46076
46124
description: OK - but delayed due to incident
46077
46125
'400':
46078
46126
content:
@@ -46090,9 +46138,6 @@ paths:
46090
46138
tags:
46091
46139
- DORA Metrics
46092
46140
x-codegen-request-body-name: body
46093
- x-unstable: '**Note**: This endpoint is in public beta.
46094
-
46095
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
46096
46141
/api/v2/downtime:
46097
46142
get:
46098
46143
description: Get all scheduled downtimes.
0 commit comments