Skip to content

Commit ff832da

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

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:06:59.037"
2+
"spec_repo_commit": "b737cc4",
3+
"generated": "2025-07-28 13:11:26.011"
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

services/metrics/src/v2/models/MetricDashboardAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ export class MetricDashboardAttributes {
88
* Value from 0 to 5 that ranks popularity of the dashboard.
99
*/
1010
"popularity"?: number;
11+
/**
12+
* List of tag keys used in the asset.
13+
*/
14+
"tags"?: Array<string>;
1115
/**
1216
* Title of the asset.
1317
*/
@@ -36,6 +40,10 @@ export class MetricDashboardAttributes {
3640
type: "number",
3741
format: "double",
3842
},
43+
tags: {
44+
baseName: "tags",
45+
type: "Array<string>",
46+
},
3947
title: {
4048
baseName: "title",
4149
type: "string",

0 commit comments

Comments
 (0)