Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3448,9 +3448,10 @@ components:
$ref: '#/components/schemas/WidgetCustomLink'
type: array
requests:
description: 'Array of one request object to display in the widget. The
request must contain a `group-by` tag whose value is a country ISO code.

description: 'Array of request objects to display in the widget. May include
an optional request for the region layer and/or an optional request for
the points layer. Region layer requests must contain a `group-by` tag
whose value is a country ISO code.

See the [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)

Expand All @@ -3461,7 +3462,7 @@ components:
query: <METRIC_1>{<SCOPE_1>}
items:
$ref: '#/components/schemas/GeomapWidgetRequest'
maxItems: 1
maxItems: 2
minItems: 1
type: array
style:
Expand Down Expand Up @@ -3519,8 +3520,9 @@ components:
focus: WORLD
properties:
focus:
description: The 2-letter ISO code of a country to focus the map on. Or
`WORLD`.
description: The 2-letter ISO code of a country to focus the map on, or
`WORLD` for global view, or a region (`EMEA`, `APAC`, `LATAM`), or a continent
(`NORTH_AMERICA`, `SOUTH_AMERICA`, `EUROPE`, `AFRICA`, `ASIA`, `OCEANIA`).
example: WORLD
type: string
required:
Expand All @@ -3539,6 +3541,12 @@ components:
items:
$ref: '#/components/schemas/ListStreamColumn'
type: array
conditional_formats:
description: Threshold (numeric) conditional formatting rules may be used
by a regions layer.
items:
$ref: '#/components/schemas/WidgetConditionalFormat'
type: array
formulas:
description: List of formulas that operate on queries.
items:
Expand All @@ -3564,6 +3572,23 @@ components:
$ref: '#/components/schemas/LogQueryDefinition'
sort:
$ref: '#/components/schemas/WidgetSortBy'
style:
$ref: '#/components/schemas/GeomapWidgetRequestStyle'
text_formats:
description: Text formatting rules may be used by a points layer.
items:
$ref: '#/components/schemas/TableWidgetTextFormatRule'
type: array
type: object
GeomapWidgetRequestStyle:
description: The style to apply to the request for points layer.
example:
color_by: status
properties:
color_by:
description: The category to color the points by.
example: status
type: string
type: object
GraphSnapshot:
description: Object representing a graph snapshot.
Expand Down
177 changes: 177 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15837,6 +15837,15 @@ components:
type: object
DORAListDeploymentsRequest:
description: Request to get a list of deployments.
example:
data:
attributes:
from: '2025-01-01T00:00:00Z'
limit: 100
query: service:(shopist OR api-service) env:production team:backend
sort: -started_at
to: '2025-01-31T23:59:59Z'
type: dora_deployments_list_request
properties:
data:
$ref: '#/components/schemas/DORAListDeploymentsRequestData'
Expand All @@ -15845,6 +15854,13 @@ components:
type: object
DORAListDeploymentsRequestAttributes:
description: Attributes to get a list of deployments.
example:
from: '2025-01-01T00:00:00Z'
limit: 500
query: service:(shopist OR api-service OR payment-service) env:(production
OR staging) team:(backend OR platform)
sort: -started_at
to: '2025-01-31T23:59:59Z'
properties:
from:
description: Minimum timestamp for requested events.
Expand All @@ -15869,6 +15885,14 @@ components:
type: object
DORAListDeploymentsRequestData:
description: The JSON:API data.
example:
attributes:
from: '2025-01-15T08:00:00Z'
limit: 200
query: env:production service:payment-service version:*v2*
sort: -finished_at
to: '2025-01-15T18:00:00Z'
type: dora_deployments_list_request
properties:
attributes:
$ref: '#/components/schemas/DORAListDeploymentsRequestAttributes'
Expand All @@ -15886,6 +15910,15 @@ components:
- DORA_DEPLOYMENTS_LIST_REQUEST
DORAListFailuresRequest:
description: Request to get a list of failures.
example:
data:
attributes:
from: '2025-01-01T00:00:00Z'
limit: 100
query: severity:(SEV-1 OR SEV-2) env:production team:backend
sort: -started_at
to: '2025-01-31T23:59:59Z'
type: dora_failures_list_request
properties:
data:
$ref: '#/components/schemas/DORAListFailuresRequestData'
Expand All @@ -15894,6 +15927,13 @@ components:
type: object
DORAListFailuresRequestAttributes:
description: Attributes to get a list of failures.
example:
from: '2025-01-01T00:00:00Z'
limit: 500
query: severity:(SEV-1 OR SEV-2) env:(production OR staging) service:(shopist
OR api-service OR payment-service) team:(backend OR platform OR payments)
sort: -started_at
to: '2025-01-31T23:59:59Z'
properties:
from:
description: Minimum timestamp for requested events.
Expand All @@ -15918,6 +15958,14 @@ components:
type: object
DORAListFailuresRequestData:
description: The JSON:API data.
example:
attributes:
from: '2025-01-15T00:00:00Z'
limit: 200
query: severity:SEV-1 service:(api-service OR payment-service) env:production
sort: -finished_at
to: '2025-01-15T23:59:59Z'
type: dora_failures_list_request
properties:
attributes:
$ref: '#/components/schemas/DORAListFailuresRequestAttributes'
Expand All @@ -15935,6 +15983,39 @@ components:
- DORA_FAILURES_LIST_REQUEST
DORAListResponse:
description: Response for the DORA list endpoints.
example:
data:
- attributes:
custom_tags:
- language:java
- department:engineering
- region:us-east-1
env: production
finished_at: 1693491984000000000
git:
commit_sha: 66adc9350f2cc9b250b69abddab733dd55e1a588
repository_url: https://github.com/organization/example-repository
service: shopist
started_at: 1693491974000000000
team: backend
version: v1.12.07
id: 4242fcdd31586083
type: dora_deployment
- attributes:
custom_tags:
- language:go
- department:platform
env: production
finished_at: 1693492084000000000
git:
commit_sha: 77bdc9350f2cc9b250b69abddab733dd55e1a599
repository_url: https://github.com/organization/api-service
service: api-service
started_at: 1693492074000000000
team: backend
version: v2.1.0
id: 4242fcdd31586084
type: dora_deployment
properties:
data:
description: The list of DORA events.
Expand Down Expand Up @@ -66871,6 +66952,24 @@ paths:
'200':
content:
application/json:
example:
data:
attributes:
custom_tags:
- language:java
- department:engineering
- region:us-east-1
env: staging
finished_at: 1693491984000000000
git:
commit_sha: 66adc9350f2cc9b250b69abddab733dd55e1a588
repository_url: https://github.com/organization/example-repository
service: shopist
started_at: 1693491974000000000
team: backend
version: v1.12.07
id: 4242fcdd31586083
type: dora_deployment
schema:
$ref: '#/components/schemas/DORAFetchResponse'
description: OK
Expand Down Expand Up @@ -66989,6 +67088,64 @@ paths:
'200':
content:
application/json:
example:
data:
- attributes:
custom_tags:
- language:java
- department:engineering
- region:us-east-1
env: production
finished_at: 1693491984000000000
git:
commit_sha: 66adc9350f2cc9b250b69abddab733dd55e1a588
repository_url: https://github.com/organization/example-repository
name: Web server is down; all requests are failing.
services:
- shopist
severity: SEV-1
started_at: 1693491974000000000
team: backend
id: 4242fcdd31586085
type: dora_failure
- attributes:
custom_tags:
- language:go
- department:platform
env: production
finished_at: 1693492084000000000
git:
commit_sha: 77bdc9350f2cc9b250b69abddab733dd55e1a599
repository_url: https://github.com/organization/api-service
name: Database connection timeout
services:
- api-service
- payment-service
severity: SEV-1
started_at: 1693492074000000000
team: platform
version: v2.1.0
id: 4242fcdd31586086
type: dora_failure
- attributes:
custom_tags:
- language:python
- department:payments
- region:eu-west-1
env: staging
finished_at: 1693492204000000000
git:
commit_sha: 99edc9350f2cc9b250b69abddab733dd55e1a601
repository_url: https://github.com/organization/payment-service
name: Payment gateway API rate limit exceeded
services:
- payment-service
severity: SEV-2
started_at: 1693492174000000000
team: payments
version: v1.8.3
id: 4242fcdd31586087
type: dora_failure
schema:
$ref: '#/components/schemas/DORAListResponse'
description: OK
Expand Down Expand Up @@ -67028,6 +67185,26 @@ paths:
'200':
content:
application/json:
example:
data:
attributes:
custom_tags:
- language:java
- department:engineering
- region:us-east-1
env: staging
finished_at: 1693491984000000000
git:
commit_sha: 66adc9350f2cc9b250b69abddab733dd55e1a588
repository_url: https://github.com/organization/example-repository
name: Web server is down; all requests are failing.
services:
- shopist
severity: High
started_at: 1693491974000000000
team: backend
id: 4242fcdd31586085
type: dora_failure
schema:
$ref: '#/components/schemas/DORAFetchResponse'
description: OK
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-12-08T10:46:15.353Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading