Skip to content

Commit 285bbfe

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add quality_issues to monitor schema on monitor search API (#2085)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5fe83a9 commit 285bbfe

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-05 15:55:17.429997",
8-
"spec_repo_commit": "fe5af5dc"
7+
"regenerated": "2025-03-05 21:00:32.599861",
8+
"spec_repo_commit": "6105a175"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-05 15:55:17.445670",
13-
"spec_repo_commit": "fe5af5dc"
12+
"regenerated": "2025-03-05 21:00:32.616807",
13+
"spec_repo_commit": "6105a175"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -7551,6 +7551,9 @@ components:
75517551
75527552
name: Jane Doe
75537553
org_id: 1234
7554+
quality_issues:
7555+
- broken_at_handle
7556+
- noisy_monitor
75547557
scopes:
75557558
- '!availability-zone:us-east-1c'
75567559
- name:cassandra
@@ -7650,6 +7653,14 @@ components:
76507653
format: int64
76517654
readOnly: true
76527655
type: integer
7656+
quality_issues:
7657+
description: Quality issues detected with the monitor.
7658+
items:
7659+
description: A quality issue detected with the monitor.
7660+
readOnly: true
7661+
type: string
7662+
readOnly: true
7663+
type: array
76537664
query:
76547665
description: The monitor query.
76557666
example: avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100

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

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class MonitorSearchResult {
4646
* The ID of the organization.
4747
*/
4848
"orgId"?: number;
49+
/**
50+
* Quality issues detected with the monitor.
51+
*/
52+
"qualityIssues"?: Array<string>;
4953
/**
5054
* The monitor query.
5155
*/
@@ -121,6 +125,10 @@ export class MonitorSearchResult {
121125
type: "number",
122126
format: "int64",
123127
},
128+
qualityIssues: {
129+
baseName: "quality_issues",
130+
type: "Array<string>",
131+
},
124132
query: {
125133
baseName: "query",
126134
type: "string",

0 commit comments

Comments
 (0)