Skip to content

Commit 4d73088

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit d2c0157b of spec repo (#764)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 578f3e8 commit 4d73088

File tree

3 files changed

+51
-19
lines changed

3 files changed

+51
-19
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-07-19 07:52:54.577154",
8-
"spec_repo_commit": "fd2aa418"
7+
"regenerated": "2022-07-19 15:15:39.466629",
8+
"spec_repo_commit": "d2c0157b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-07-19 07:52:54.601203",
13-
"spec_repo_commit": "fd2aa418"
12+
"regenerated": "2022-07-19 15:15:39.506219",
13+
"spec_repo_commit": "d2c0157b"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13259,15 +13259,19 @@ components:
1325913259
type: object
1326013260
TreeMapColorBy:
1326113261
default: user
13262-
description: The attribute used to determine color in the widget.
13262+
deprecated: true
13263+
description: (deprecated) The attribute formerly used to determine color in
13264+
the widget.
1326313265
enum:
1326413266
- user
1326513267
example: user
1326613268
type: string
1326713269
x-enum-varnames:
1326813270
- USER
1326913271
TreeMapGroupBy:
13270-
description: The attribute used to group elements in the widget.
13272+
deprecated: true
13273+
description: (deprecated) The attribute formerly used to group elements in the
13274+
widget.
1327113275
enum:
1327213276
- user
1327313277
- family
@@ -13279,7 +13283,9 @@ components:
1327913283
- FAMILY
1328013284
- PROCESS
1328113285
TreeMapSizeBy:
13282-
description: The attribute used to determine size in the widget.
13286+
deprecated: true
13287+
description: (deprecated) The attribute formerly used to determine size in the
13288+
widget.
1328313289
enum:
1328413290
- pct_cpu
1328513291
- pct_mem
@@ -13289,27 +13295,35 @@ components:
1328913295
- PCT_CPU
1329013296
- PCT_MEM
1329113297
TreeMapWidgetDefinition:
13292-
description: "The treemap visualization found on the Host Dashboards comes from
13293-
the output of `ps auxww`. This is not continuously run on your hosts. Instead,
13294-
it\u2019s run once on Agent start/restart. The treemap is only supported for
13295-
process data on a single host dashboard \u2014 this may not be reused in other
13296-
dashboards or for other metrics."
13298+
description: The treemap visualization enables you to display hierarchical and
13299+
nested data. It is well suited for queries that describe part-whole relationships,
13300+
such as resource usage by availability zone, data center, or team.
1329713301
properties:
1329813302
color_by:
1329913303
$ref: '#/components/schemas/TreeMapColorBy'
13304+
custom_links:
13305+
description: List of custom links.
13306+
items:
13307+
$ref: '#/components/schemas/WidgetCustomLink'
13308+
type: array
1330013309
group_by:
1330113310
$ref: '#/components/schemas/TreeMapGroupBy'
1330213311
requests:
13303-
description: List of top list widget requests.
13312+
description: List of treemap widget requests.
1330413313
example:
13305-
- q: system.load.1
13314+
- aggregator: sum
13315+
data_source: metrics
13316+
name: query1
13317+
query: sum:system.mem.total{*} by {service}
1330613318
items:
1330713319
$ref: '#/components/schemas/TreeMapWidgetRequest'
1330813320
maxItems: 1
1330913321
minItems: 1
1331013322
type: array
1331113323
size_by:
1331213324
$ref: '#/components/schemas/TreeMapSizeBy'
13325+
time:
13326+
$ref: '#/components/schemas/WidgetTime'
1331313327
title:
1331413328
description: Title of your widget.
1331513329
type: string

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

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,39 @@ import { TreeMapGroupBy } from "./TreeMapGroupBy";
88
import { TreeMapSizeBy } from "./TreeMapSizeBy";
99
import { TreeMapWidgetDefinitionType } from "./TreeMapWidgetDefinitionType";
1010
import { TreeMapWidgetRequest } from "./TreeMapWidgetRequest";
11+
import { WidgetCustomLink } from "./WidgetCustomLink";
12+
import { WidgetTime } from "./WidgetTime";
1113

1214
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1315

1416
/**
15-
* The treemap visualization found on the Host Dashboards comes from the output of `ps auxww`. This is not continuously run on your hosts. Instead, it’s run once on Agent start/restart. The treemap is only supported for process data on a single host dashboard — this may not be reused in other dashboards or for other metrics.
17+
* The treemap visualization enables you to display hierarchical and nested data. It is well suited for queries that describe part-whole relationships, such as resource usage by availability zone, data center, or team.
1618
*/
1719
export class TreeMapWidgetDefinition {
1820
/**
19-
* The attribute used to determine color in the widget.
21+
* (deprecated) The attribute formerly used to determine color in the widget.
2022
*/
2123
"colorBy"?: TreeMapColorBy;
2224
/**
23-
* The attribute used to group elements in the widget.
25+
* List of custom links.
26+
*/
27+
"customLinks"?: Array<WidgetCustomLink>;
28+
/**
29+
* (deprecated) The attribute formerly used to group elements in the widget.
2430
*/
2531
"groupBy"?: TreeMapGroupBy;
2632
/**
27-
* List of top list widget requests.
33+
* List of treemap widget requests.
2834
*/
2935
"requests": [TreeMapWidgetRequest];
3036
/**
31-
* The attribute used to determine size in the widget.
37+
* (deprecated) The attribute formerly used to determine size in the widget.
3238
*/
3339
"sizeBy"?: TreeMapSizeBy;
40+
/**
41+
* Time setting for the widget.
42+
*/
43+
"time"?: WidgetTime;
3444
/**
3545
* Title of your widget.
3646
*/
@@ -53,6 +63,10 @@ export class TreeMapWidgetDefinition {
5363
baseName: "color_by",
5464
type: "TreeMapColorBy",
5565
},
66+
customLinks: {
67+
baseName: "custom_links",
68+
type: "Array<WidgetCustomLink>",
69+
},
5670
groupBy: {
5771
baseName: "group_by",
5872
type: "TreeMapGroupBy",
@@ -66,6 +80,10 @@ export class TreeMapWidgetDefinition {
6680
baseName: "size_by",
6781
type: "TreeMapSizeBy",
6882
},
83+
time: {
84+
baseName: "time",
85+
type: "WidgetTime",
86+
},
6987
title: {
7088
baseName: "title",
7189
type: "string",

0 commit comments

Comments
 (0)