Skip to content

Commit 21f0940

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Extend Widget time schema with support for hide_incomplete_cost_data (#31323)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c4b6361 commit 21f0940

File tree

9 files changed

+11698
-480
lines changed

9 files changed

+11698
-480
lines changed

content/en/api/v1/dashboards/examples.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

content/en/api/v1/dashboards/request.CreateDashboard_3066042014.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"time": {
1717
"type": "live",
1818
"unit": "minute",
19-
"value": 8
19+
"value": 8,
20+
"hide_incomplete_cost_data": true
2021
},
2122
"type": "timeseries",
2223
"requests": [

content/en/api/v1/dashboards/request.CreateDashboard_3451918078.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"time": {
1717
"type": "fixed",
1818
"from": 1712080128,
19-
"to": 1712083128
19+
"to": 1712083128,
20+
"hide_incomplete_cost_data": true
2021
},
2122
"type": "timeseries",
2223
"requests": [

content/en/api/v1/dashboards/request.CreateDashboard_4262729673.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"sum"
1515
],
1616
"time": {
17-
"live_span": "5m"
17+
"live_span": "5m",
18+
"hide_incomplete_cost_data": true
1819
},
1920
"type": "timeseries",
2021
"requests": [

content/en/api/v1/dashboards/widgets.json

Lines changed: 44 additions & 22 deletions
Large diffs are not rendered by default.

content/en/api/v1/notebooks/examples.json

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

data/api/v1/full_spec.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24401,6 +24401,9 @@ components:
2440124401
additionalProperties: false
2440224402
description: Wrapper for live span
2440324403
properties:
24404+
hide_incomplete_cost_data:
24405+
description: Whether to hide incomplete cost data in the widget.
24406+
type: boolean
2440424407
live_span:
2440524408
$ref: '#/components/schemas/WidgetLiveSpan'
2440624409
type: object
@@ -24601,6 +24604,9 @@ components:
2460124604
format: int64
2460224605
minimum: 0
2460324606
type: integer
24607+
hide_incomplete_cost_data:
24608+
description: Whether to hide incomplete cost data in the widget.
24609+
type: boolean
2460424610
to:
2460524611
description: End time in seconds since epoch.
2460624612
example: 1712083128
@@ -24625,6 +24631,9 @@ components:
2462524631
WidgetNewLiveSpan:
2462624632
description: Used for arbitrary live span times, such as 17 minutes or 6 hours.
2462724633
properties:
24634+
hide_incomplete_cost_data:
24635+
description: Whether to hide incomplete cost data in the widget.
24636+
type: boolean
2462824637
type:
2462924638
$ref: '#/components/schemas/WidgetNewLiveSpanType'
2463024639
unit:

0 commit comments

Comments
 (0)