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
10 changes: 5 additions & 5 deletions content/en/api/v1/dashboards/examples.json

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions content/en/api/v1/dashboards/request.CreateDashboard_9836563.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"title": "Example-Dashboard",
"description": "Example-Dashboard",
"widgets": [
{
"definition": {
"title": "Log Count by Service and Source",
"type": "geomap",
"requests": [
{
"response_format": "scalar",
"queries": [
{
"data_source": "rum",
"name": "query1",
"search": {
"query": "@type:session"
},
"indexes": [
"*"
],
"compute": {
"aggregation": "count"
},
"group_by": []
}
],
"conditional_formats": [
{
"comparator": ">",
"value": 1000,
"palette": "white_on_green"
}
],
"formulas": [
{
"formula": "query1"
}
],
"sort": {
"count": 250,
"order_by": [
{
"type": "formula",
"index": 0,
"order": "desc"
}
]
}
},
{
"response_format": "event_list",
"query": {
"data_source": "logs_stream",
"query_string": "",
"indexes": [],
"storage": "hot"
},
"columns": [
{
"field": "@network.client.geoip.location.latitude",
"width": "auto"
},
{
"field": "@network.client.geoip.location.longitude",
"width": "auto"
},
{
"field": "@network.client.geoip.country.iso_code",
"width": "auto"
},
{
"field": "@network.client.geoip.subdivision.name",
"width": "auto"
}
],
"style": {
"color_by": "status"
},
"text_formats": [
{
"match": {
"type": "is",
"value": "error"
},
"palette": "white_on_red"
}
]
}
],
"style": {
"palette": "hostmap_blues",
"palette_flip": false
},
"view": {
"focus": "NORTH_AMERICA"
}
},
"layout": {
"x": 0,
"y": 0,
"width": 12,
"height": 6
}
}
],
"template_variables": [],
"layout_type": "ordered",
"notify_list": [],
"reflow_type": "fixed",
"tags": []
}
59 changes: 54 additions & 5 deletions content/en/api/v1/dashboards/widgets.json

Large diffs are not rendered by default.

78 changes: 72 additions & 6 deletions content/en/api/v2/aws-integration/examples.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions content/en/api/v2/aws-integration/request.CreateAWSAccount.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"ccm_config": {
"data_export_configs": [
{
"bucket_name": "my-bucket",
"bucket_region": "us-east-1",
"report_name": "my-report",
"report_prefix": "reports",
"report_type": "CUR2.0"
}
]
},
"logs_config": {
"lambda_forwarder": {
"lambdas": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"ccm_config": {
"data_export_configs": [
{
"bucket_name": "my-bucket",
"bucket_region": "us-east-1",
"report_name": "my-report",
"report_prefix": "reports",
"report_type": "CUR2.0"
}
]
},
"logs_config": {
"lambda_forwarder": {
"lambdas": [
Expand Down
11 changes: 11 additions & 0 deletions content/en/api/v2/aws-integration/request.UpdateAWSAccount.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
},
"aws_account_id": "123456789012",
"aws_partition": "aws",
"ccm_config": {
"data_export_configs": [
{
"bucket_name": "updated-bucket",
"bucket_region": "us-west-2",
"report_name": "updated-report",
"report_prefix": "cost-reports",
"report_type": "CUR2.0"
}
]
},
"logs_config": {
"lambda_forwarder": {
"lambdas": [
Expand Down
5 changes: 5 additions & 0 deletions data/api/v1/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
"suffix": "_3513586382",
"description": "Create a geomap widget using an event_list request"
},
{
"group": "dashboards",
"suffix": "_9836563",
"description": "Create a geomap widget with conditional formats and text formats"
},
{
"group": "dashboards",
"suffix": "",
Expand Down
37 changes: 31 additions & 6 deletions data/api/v1/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3555,9 +3555,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 @@ -3568,7 +3569,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 @@ -3626,8 +3627,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 @@ -3646,6 +3648,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 @@ -3671,6 +3679,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
39 changes: 39 additions & 0 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,8 @@ components:
$ref: '#/components/schemas/AWSAccountPartition'
aws_regions:
$ref: '#/components/schemas/AWSRegions'
ccm_config:
$ref: '#/components/schemas/AWSCCMConfig'
logs_config:
$ref: '#/components/schemas/AWSLogsConfig'
metrics_config:
Expand Down Expand Up @@ -1547,6 +1549,8 @@ components:
$ref: '#/components/schemas/AWSAccountPartition'
aws_regions:
$ref: '#/components/schemas/AWSRegions'
ccm_config:
$ref: '#/components/schemas/AWSCCMConfig'
created_at:
description: Timestamp of when the account integration was created.
format: date-time
Expand Down Expand Up @@ -1620,6 +1624,8 @@ components:
$ref: '#/components/schemas/AWSAccountPartition'
aws_regions:
$ref: '#/components/schemas/AWSRegions'
ccm_config:
$ref: '#/components/schemas/AWSCCMConfig'
logs_config:
$ref: '#/components/schemas/AWSLogsConfig'
metrics_config:
Expand Down Expand Up @@ -1751,6 +1757,15 @@ components:
required:
- role_name
type: object
AWSCCMConfig:
description: AWS Cloud Cost Management config.
properties:
data_export_configs:
description: List of data export configurations for Cost and Usage Reports.
items:
$ref: '#/components/schemas/DataExportConfig'
type: array
type: object
AWSCredentials:
description: The definition of `AWSCredentials` object.
oneOf:
Expand Down Expand Up @@ -16125,6 +16140,30 @@ components:
- INTEGRATION_SCREENBOARD
- INTEGRATION_TIMEBOARD
- HOST_TIMEBOARD
DataExportConfig:
description: AWS Cost and Usage Report data export configuration.
properties:
bucket_name:
description: Name of the S3 bucket where the Cost and Usage Report is stored.
example: billing
type: string
bucket_region:
description: AWS region of the S3 bucket.
example: us-east-1
type: string
report_name:
description: Name of the Cost and Usage Report.
example: cost-and-usage-report
type: string
report_prefix:
description: S3 prefix where the Cost and Usage Report is stored.
example: reports
type: string
report_type:
description: Type of the Cost and Usage Report.
example: CUR2.0
type: string
type: object
DataRelationshipsTeams:
description: Associates teams with this schedule in a data structure.
properties:
Expand Down
Loading