Skip to content

Commit f847ded

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
update metrics.yaml for ListMetricAssets and include Dashboard info (#2576)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9602fc9 commit f847ded

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
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": "e4f653f",
3-
"generated": "2025-07-25 14:08:22.342"
2+
"spec_repo_commit": "b737cc4",
3+
"generated": "2025-07-28 13:12:34.705"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22867,6 +22867,17 @@ components:
2286722867
maximum: 5
2286822868
minimum: 0
2286922869
type: number
22870+
tags:
22871+
description: List of tag keys used in the asset.
22872+
example:
22873+
- env
22874+
- service
22875+
- host
22876+
- datacenter
22877+
items:
22878+
description: Tag key used in assets.
22879+
type: string
22880+
type: array
2287022881
title:
2287122882
description: Title of the asset.
2287222883
type: string

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ export class MetricDashboardAttributes {
1414
* Value from 0 to 5 that ranks popularity of the dashboard.
1515
*/
1616
"popularity"?: number;
17+
/**
18+
* List of tag keys used in the asset.
19+
*/
20+
"tags"?: Array<string>;
1721
/**
1822
* Title of the asset.
1923
*/
@@ -44,6 +48,10 @@ export class MetricDashboardAttributes {
4448
type: "number",
4549
format: "double",
4650
},
51+
tags: {
52+
baseName: "tags",
53+
type: "Array<string>",
54+
},
4755
title: {
4856
baseName: "title",
4957
type: "string",

0 commit comments

Comments
 (0)