@@ -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:
@@ -46094,9 +46094,6 @@ paths:
46094
46094
tags:
46095
46095
- DORA Metrics
46096
46096
x-codegen-request-body-name: body
46097
- x-unstable: '**Note**: This endpoint is in public beta.
46098
-
46099
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
46100
46097
/api/v2/dora/deployments:
46101
46098
post:
46102
46099
description: Use this API endpoint to get a list of deployment events.
@@ -46174,6 +46171,52 @@ paths:
46174
46171
operator: OR
46175
46172
permissions:
46176
46173
- dora_metrics_read
46174
+ /api/v2/dora/failure:
46175
+ post:
46176
+ description: 'Use this API endpoint to provide failure data for DORA metrics.
46177
+
46178
+
46179
+ This is necessary for:
46180
+
46181
+ - Change Failure Rate
46182
+
46183
+ - Time to Restore'
46184
+ operationId: CreateDORAFailure
46185
+ requestBody:
46186
+ content:
46187
+ application/json:
46188
+ schema:
46189
+ $ref: '#/components/schemas/DORAFailureRequest'
46190
+ required: true
46191
+ responses:
46192
+ '200':
46193
+ content:
46194
+ application/json:
46195
+ schema:
46196
+ $ref: '#/components/schemas/DORAFailureResponse'
46197
+ description: OK
46198
+ '202':
46199
+ content:
46200
+ application/json:
46201
+ schema:
46202
+ $ref: '#/components/schemas/DORAFailureResponse'
46203
+ description: OK - but delayed due to incident
46204
+ '400':
46205
+ content:
46206
+ application/json:
46207
+ schema:
46208
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
46209
+ description: Bad Request
46210
+ '403':
46211
+ $ref: '#/components/responses/NotAuthorizedResponse'
46212
+ '429':
46213
+ $ref: '#/components/responses/TooManyRequestsResponse'
46214
+ security:
46215
+ - apiKeyAuth: []
46216
+ summary: Send a failure event for DORA Metrics
46217
+ tags:
46218
+ - DORA Metrics
46219
+ x-codegen-request-body-name: body
46177
46220
/api/v2/dora/failures:
46178
46221
post:
46179
46222
description: Use this API endpoint to get a list of failure events.
@@ -46253,7 +46296,12 @@ paths:
46253
46296
- dora_metrics_read
46254
46297
/api/v2/dora/incident:
46255
46298
post:
46256
- description: 'Use this API endpoint to provide failure data for DORA metrics.
46299
+ deprecated: true
46300
+ description: '**Note**: This endpoint is deprecated. Please use `/api/v2/dora/failure`
46301
+ instead.
46302
+
46303
+
46304
+ Use this API endpoint to provide failure data for DORA metrics.
46257
46305
46258
46306
46259
46307
This is necessary for:
@@ -46266,20 +46314,20 @@ paths:
46266
46314
content:
46267
46315
application/json:
46268
46316
schema:
46269
- $ref: '#/components/schemas/DORAIncidentRequest '
46317
+ $ref: '#/components/schemas/DORAFailureRequest '
46270
46318
required: true
46271
46319
responses:
46272
46320
'200':
46273
46321
content:
46274
46322
application/json:
46275
46323
schema:
46276
- $ref: '#/components/schemas/DORAIncidentResponse '
46324
+ $ref: '#/components/schemas/DORAFailureResponse '
46277
46325
description: OK
46278
46326
'202':
46279
46327
content:
46280
46328
application/json:
46281
46329
schema:
46282
- $ref: '#/components/schemas/DORAIncidentResponse '
46330
+ $ref: '#/components/schemas/DORAFailureResponse '
46283
46331
description: OK - but delayed due to incident
46284
46332
'400':
46285
46333
content:
@@ -46297,9 +46345,6 @@ paths:
46297
46345
tags:
46298
46346
- DORA Metrics
46299
46347
x-codegen-request-body-name: body
46300
- x-unstable: '**Note**: This endpoint is in public beta.
46301
-
46302
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
46303
46348
/api/v2/downtime:
46304
46349
get:
46305
46350
description: Get all scheduled downtimes.
0 commit comments