Skip to content

Commit 591616d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark legacy non-FnF query fields and WidgetEvent as deprecated in dashboard spec and update Distribution docs (#3561)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 09d612a commit 591616d

15 files changed

+251
-32
lines changed

.generator/schemas/v1/openapi.yaml

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

packages/datadog-api-client-v1/models/BarChartWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class BarChartWidgetRequest {
5555
*/
5656
"profileMetricsQuery"?: LogQueryDefinition;
5757
/**
58-
* Widget query.
58+
* Widget query. Deprecated - Use `queries` and `formulas` instead.
5959
*/
6060
"q"?: string;
6161
/**

packages/datadog-api-client-v1/models/ChangeWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class ChangeWidgetRequest {
6868
*/
6969
"profileMetricsQuery"?: LogQueryDefinition;
7070
/**
71-
* Query definition.
71+
* Query definition. Deprecated - Use `queries` and `formulas` instead.
7272
*/
7373
"q"?: string;
7474
/**

packages/datadog-api-client-v1/models/DistributionWidgetRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class DistributionWidgetRequest {
5252
*/
5353
"profileMetricsQuery"?: LogQueryDefinition;
5454
/**
55-
* Widget query.
55+
* Widget query. Deprecated - Use `queries` and `formulas` instead.
5656
*/
5757
"q"?: string;
5858
/**
@@ -64,7 +64,7 @@ export class DistributionWidgetRequest {
6464
*/
6565
"query"?: DistributionWidgetHistogramRequestQuery;
6666
/**
67-
* Request type for the histogram request.
67+
* Request type for distribution of point values for distribution metrics. Query space aggregator must be `histogram:<metric name>` for points distributions.
6868
*/
6969
"requestType"?: WidgetHistogramRequestType;
7070
/**

packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class GeomapWidgetRequest {
3737
*/
3838
"logQuery"?: LogQueryDefinition;
3939
/**
40-
* The widget metrics query.
40+
* The widget metrics query. Deprecated - Use `queries` and `formulas` instead.
4141
*/
4242
"q"?: string;
4343
/**

packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class HeatMapWidgetDefinition {
2424
*/
2525
"customLinks"?: Array<WidgetCustomLink>;
2626
/**
27-
* List of widget events.
27+
* List of widget events. Deprecated - Use `overlay` request type instead.
2828
*/
2929
"events"?: Array<WidgetEvent>;
3030
/**

packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class HeatMapWidgetRequest {
4848
*/
4949
"profileMetricsQuery"?: LogQueryDefinition;
5050
/**
51-
* Widget query.
51+
* Widget query. Deprecated - Use `queries` and `formulas` instead.
5252
*/
5353
"q"?: string;
5454
/**
@@ -60,7 +60,7 @@ export class HeatMapWidgetRequest {
6060
*/
6161
"query"?: FormulaAndFunctionMetricQueryDefinition;
6262
/**
63-
* Request type for the histogram request.
63+
* Request type for distribution of point values for distribution metrics. Query space aggregator must be `histogram:<metric name>` for points distributions.
6464
*/
6565
"requestType"?: WidgetHistogramRequestType;
6666
/**

packages/datadog-api-client-v1/models/QueryValueWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class QueryValueWidgetRequest {
5858
*/
5959
"profileMetricsQuery"?: LogQueryDefinition;
6060
/**
61-
* TODO.
61+
* Widget query. Deprecated - Use `queries` and `formulas` instead.
6262
*/
6363
"q"?: string;
6464
/**

packages/datadog-api-client-v1/models/SunburstWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class SunburstWidgetRequest {
4949
*/
5050
"profileMetricsQuery"?: LogQueryDefinition;
5151
/**
52-
* Widget query.
52+
* Widget query. Deprecated - Use `queries` and `formulas` instead.
5353
*/
5454
"q"?: string;
5555
/**

packages/datadog-api-client-v1/models/TableWidgetRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class TableWidgetRequest {
7979
*/
8080
"profileMetricsQuery"?: LogQueryDefinition;
8181
/**
82-
* Query definition.
82+
* Query definition. Deprecated - Use `queries` and `formulas` instead.
8383
*/
8484
"q"?: string;
8585
/**

0 commit comments

Comments
 (0)