Skip to content

Commit 3154524

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

14 files changed

+81
-39
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24164,6 +24164,9 @@ components:
2416424164
additionalProperties: false
2416524165
description: Wrapper for live span
2416624166
properties:
24167+
hide_incomplete_cost_data:
24168+
description: Whether to hide incomplete cost data in the widget.
24169+
type: boolean
2416724170
live_span:
2416824171
$ref: '#/components/schemas/WidgetLiveSpan'
2416924172
type: object
@@ -24364,6 +24367,9 @@ components:
2436424367
format: int64
2436524368
minimum: 0
2436624369
type: integer
24370+
hide_incomplete_cost_data:
24371+
description: Whether to hide incomplete cost data in the widget.
24372+
type: boolean
2436724373
to:
2436824374
description: End time in seconds since epoch.
2436924375
example: 1712083128
@@ -24388,6 +24394,9 @@ components:
2438824394
WidgetNewLiveSpan:
2438924395
description: Used for arbitrary live span times, such as 17 minutes or 6 hours.
2439024396
properties:
24397+
hide_incomplete_cost_data:
24398+
description: Whether to hide incomplete cost data in the widget.
24399+
type: boolean
2439124400
type:
2439224401
$ref: '#/components/schemas/WidgetNewLiveSpanType'
2439324402
unit:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-15T19:33:02.539Z
1+
2025-08-26T19:47:58.449Z

cassettes/features/v1/dashboards/Create-a-new-timeseries-widget-with-legacy-live-span-time-format.yml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-15T19:33:02.942Z
1+
2025-08-26T19:47:58.908Z

cassettes/features/v1/dashboards/Create-a-new-timeseries-widget-with-new-fixed-span-time-format.yml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-15T19:33:03.421Z
1+
2025-08-26T19:47:59.336Z

cassettes/features/v1/dashboards/Create-a-new-timeseries-widget-with-new-live-span-time-format.yml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/v1/dashboards/CreateDashboard_3066042014.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
type: DatadogAPIClient::V1::WidgetNewLiveSpanType::LIVE,
2323
unit: DatadogAPIClient::V1::WidgetLiveSpanUnit::MINUTE,
2424
value: 8,
25+
hide_incomplete_cost_data: true,
2526
}),
2627
type: DatadogAPIClient::V1::TimeseriesWidgetDefinitionType::TIMESERIES,
2728
requests: [

examples/v1/dashboards/CreateDashboard_3451918078.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
type: DatadogAPIClient::V1::WidgetNewFixedSpanType::FIXED,
2323
from: 1712080128,
2424
to: 1712083128,
25+
hide_incomplete_cost_data: true,
2526
}),
2627
type: DatadogAPIClient::V1::TimeseriesWidgetDefinitionType::TIMESERIES,
2728
requests: [

examples/v1/dashboards/CreateDashboard_4262729673.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
],
2121
time: DatadogAPIClient::V1::WidgetLegacyLiveSpan.new({
2222
live_span: DatadogAPIClient::V1::WidgetLiveSpan::PAST_FIVE_MINUTES,
23+
hide_incomplete_cost_data: true,
2324
}),
2425
type: DatadogAPIClient::V1::TimeseriesWidgetDefinitionType::TIMESERIES,
2526
requests: [

0 commit comments

Comments
 (0)