Skip to content

Commit f33e4da

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
update metrics.yaml for ListMetricAssets (#2457)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a521805 commit f33e4da

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "4727afe",
3-
"generated": "2025-07-23 15:37:34.194"
2+
"spec_repo_commit": "c09ac23",
3+
"generated": "2025-07-24 19:58:57.103"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22454,8 +22454,19 @@ components:
2245422454
readOnly: true
2245522455
type: object
2245622456
MetricAssetAttributes:
22457-
description: Assets related to the object, including title and url.
22457+
description: Assets related to the object, including title, url, and tags.
2245822458
properties:
22459+
tags:
22460+
description: List of tag keys used in the asset.
22461+
example:
22462+
- env
22463+
- service
22464+
- host
22465+
- datacenter
22466+
items:
22467+
description: Tag key used in assets.
22468+
type: string
22469+
type: array
2245922470
title:
2246022471
description: Title of the asset.
2246122472
type: string

packages/datadog-api-client-v2/models/MetricAssetAttributes.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
88

99
/**
10-
* Assets related to the object, including title and url.
10+
* Assets related to the object, including title, url, and tags.
1111
*/
1212
export class MetricAssetAttributes {
13+
/**
14+
* List of tag keys used in the asset.
15+
*/
16+
"tags"?: Array<string>;
1317
/**
1418
* Title of the asset.
1519
*/
@@ -35,6 +39,10 @@ export class MetricAssetAttributes {
3539
* @ignore
3640
*/
3741
static readonly attributeTypeMap: AttributeTypeMap = {
42+
tags: {
43+
baseName: "tags",
44+
type: "Array<string>",
45+
},
3846
title: {
3947
baseName: "title",
4048
type: "string",

packages/datadog-api-client-v2/models/MetricMonitorAsset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313
*/
1414
export class MetricMonitorAsset {
1515
/**
16-
* Assets related to the object, including title and url.
16+
* Assets related to the object, including title, url, and tags.
1717
*/
1818
"attributes"?: MetricAssetAttributes;
1919
/**

packages/datadog-api-client-v2/models/MetricNotebookAsset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313
*/
1414
export class MetricNotebookAsset {
1515
/**
16-
* Assets related to the object, including title and url.
16+
* Assets related to the object, including title, url, and tags.
1717
*/
1818
"attributes"?: MetricAssetAttributes;
1919
/**

packages/datadog-api-client-v2/models/MetricSLOAsset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1313
*/
1414
export class MetricSLOAsset {
1515
/**
16-
* Assets related to the object, including title and url.
16+
* Assets related to the object, including title, url, and tags.
1717
*/
1818
"attributes"?: MetricAssetAttributes;
1919
/**

0 commit comments

Comments
 (0)