Skip to content

Commit 3fa428b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 57b75ade of spec repo (#789)
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 c64e60b commit 3fa428b

File tree

35 files changed

+492
-254
lines changed

35 files changed

+492
-254
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-08-17 14:32:15.239932",
8-
"spec_repo_commit": "a957cd49"
7+
"regenerated": "2022-08-17 17:26:30.821396",
8+
"spec_repo_commit": "57b75ade"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-08-17 14:32:15.256391",
13-
"spec_repo_commit": "a957cd49"
12+
"regenerated": "2022-08-17 17:26:30.837440",
13+
"spec_repo_commit": "57b75ade"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6133,6 +6133,17 @@ components:
61336133
format: int64
61346134
nullable: true
61356135
type: integer
6136+
group_retention_duration:
6137+
description: 'The time span after which groups with missing data are dropped
6138+
from the monitor state.
6139+
6140+
The minimum value is one hour, and the maximum value is 72 hours.
6141+
6142+
Example values are: "60m", "1h", and "2d".
6143+
6144+
This option is only available for APM Trace Analytics, Audit Trail, CI,
6145+
Error Tracking, Event, Logs, and RUM monitors.'
6146+
type: string
61366147
groupby_simple_monitor:
61376148
description: Whether the log alert monitor triggers a single alert or multiple
61386149
alerts when any group breaches a threshold.
@@ -6223,6 +6234,8 @@ components:
62236234
description: A Boolean indicating whether this monitor notifies when data
62246235
stops reporting.
62256236
type: boolean
6237+
on_missing_data:
6238+
$ref: '#/components/schemas/OnMissingDataOption'
62266239
renotify_interval:
62276240
default: null
62286241
description: "The number of minutes after the last notification before a
@@ -7928,6 +7941,32 @@ components:
79287941
format: int64
79297942
type: integer
79307943
type: object
7944+
OnMissingDataOption:
7945+
description: 'Controls how groups or monitors are treated if an evaluation does
7946+
not return any data points.
7947+
7948+
The default option results in different behavior depending on the monitor
7949+
query type.
7950+
7951+
For monitors using Count queries, an empty monitor evaluation is treated as
7952+
0 and is compared to the threshold conditions.
7953+
7954+
For monitor using any query type other than Count, for example Gauge or Rate,
7955+
the monitor shows the last known status.
7956+
7957+
This option is only available for APM Trace Analytics, Audit Trail, CI, Error
7958+
Tracking, Event, Logs, and RUM monitors.'
7959+
enum:
7960+
- default
7961+
- show_no_data
7962+
- show_and_notify_no_data
7963+
- resolve
7964+
type: string
7965+
x-enum-varnames:
7966+
- DEFAULT
7967+
- SHOW_NO_DATA
7968+
- SHOW_AND_NOTIFY_NO_DATA
7969+
- RESOLVE
79317970
OrgDowngradedResponse:
79327971
description: Status of downgrade
79337972
properties:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-06T00:50:25.975Z"
1+
"2022-08-15T18:04:35.875Z"

cassettes/v1/Dashboards_1335235736/Create-a-new-dashboard-with-alert_graph-widget_583482879/recording.har

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "9daa1fe9bbb92cc6c9ae1a9b8e555681",
11+
"_id": "b0a9c66cafabf0db4cfc10c90e5ac287",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 719,
15+
"bodySize": 763,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 471,
29+
"headersSize": 555,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1641430225\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"groupby_simple_monitor\":true,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notify_audit\":false,\"notify_no_data\":false,\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1641430225\",\"env:ci\"],\"type\":\"log alert\"}"
35+
"text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1660586675\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"groupby_simple_monitor\":true,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1660586675\",\"env:ci\"],\"type\":\"log alert\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/monitor"
3939
},
4040
"response": {
41-
"bodySize": 1089,
41+
"bodySize": 1133,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 1089,
45-
"text": "{\"restricted_roles\":null,\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1641430225\",\"env:ci\"],\"deleted\":null,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"message\":\"some message Notify: @hipchat-channel\",\"id\":59800315,\"multi\":true,\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1641430225\",\"created\":\"2022-01-06T00:50:26.247872+00:00\",\"created_at\":1641430226000,\"creator\":{\"id\":1445416,\"handle\":\"[email protected]\",\"name\":null,\"email\":\"[email protected]\"},\"org_id\":321813,\"modified\":\"2022-01-06T00:50:26.247872+00:00\",\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"type\":\"log alert\",\"options\":{\"notify_audit\":false,\"locked\":false,\"timeout_h\":24,\"renotify_interval\":60,\"include_tags\":true,\"no_data_timeframe\":null,\"silenced\":{},\"new_host_delay\":600,\"require_full_window\":true,\"notify_no_data\":false,\"enable_logs_sample\":true,\"groupby_simple_monitor\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"thresholds\":{\"critical\":2,\"warning\":1}}}"
44+
"size": 1133,
45+
"text": "{\"restricted_roles\":null,\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1660586675\",\"env:ci\"],\"deleted\":null,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"message\":\"some message Notify: @hipchat-channel\",\"id\":80119038,\"multi\":true,\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1660586675\",\"created\":\"2022-08-15T18:04:36.610523+00:00\",\"created_at\":1660586676000,\"creator\":{\"id\":1445416,\"handle\":\"[email protected]\",\"name\":null,\"email\":\"[email protected]\"},\"org_id\":321813,\"modified\":\"2022-08-15T18:04:36.610523+00:00\",\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"type\":\"log alert\",\"options\":{\"notify_audit\":false,\"locked\":false,\"timeout_h\":24,\"renotify_interval\":60,\"include_tags\":true,\"no_data_timeframe\":null,\"silenced\":{},\"new_host_delay\":600,\"on_missing_data\":\"show_and_notify_no_data\",\"require_full_window\":true,\"notify_no_data\":false,\"enable_logs_sample\":true,\"groupby_simple_monitor\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"thresholds\":{\"critical\":2.0,\"warning\":1.0}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 515,
54+
"headersSize": 665,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-01-06T00:50:25.979Z",
61-
"time": 327
60+
"startedDateTime": "2022-08-15T18:04:35.898Z",
61+
"time": 792
6262
},
6363
{
64-
"_id": "8c06b025a7c84aa70a88624ea6a1e24f",
64+
"_id": "4a191566f87ae16b08bd48fb4aca41be",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,23 +79,23 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 475,
82+
"headersSize": 559,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "POST",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1641430225\",\"widgets\":[{\"definition\":{\"alert_id\":\"59800315\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}"
88+
"text": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1660586675\",\"widgets\":[{\"definition\":{\"alert_id\":\"80119038\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/dashboard"
9292
},
9393
"response": {
94-
"bodySize": 679,
94+
"bodySize": 678,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 679,
98-
"text": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"m8v-aud-r6a\",\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1641430225\",\"url\":\"/dashboard/m8v-aud-r6a/test-createanewdashboardwithalertgraphwidget-1641430225\",\"created_at\":\"2022-01-06T00:50:26.498395+00:00\",\"modified_at\":\"2022-01-06T00:50:26.498395+00:00\",\"author_handle\":\"[email protected]\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"viz_type\":\"timeseries\",\"title\":\"\",\"title_align\":\"left\",\"alert_id\":\"59800315\",\"time\":{},\"type\":\"alert_graph\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":5197028522086004}],\"layout_type\":\"free\"}"
97+
"size": 678,
98+
"text": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"shb-j47-ek7\",\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1660586675\",\"url\":\"/dashboard/shb-j47-ek7/test-createanewdashboardwithalertgraphwidget-1660586675\",\"created_at\":\"2022-08-15T18:04:37.095538+00:00\",\"modified_at\":\"2022-08-15T18:04:37.095538+00:00\",\"author_handle\":\"[email protected]\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"viz_type\":\"timeseries\",\"title\":\"\",\"title_align\":\"left\",\"alert_id\":\"80119038\",\"time\":{},\"type\":\"alert_graph\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":27855510418916}],\"layout_type\":\"free\"}\n"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -104,17 +104,17 @@
104104
"value": "application/json"
105105
}
106106
],
107-
"headersSize": 383,
107+
"headersSize": 593,
108108
"httpVersion": "HTTP/1.1",
109109
"redirectURL": "",
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2022-01-06T00:50:26.313Z",
114-
"time": 226
113+
"startedDateTime": "2022-08-15T18:04:36.727Z",
114+
"time": 462
115115
},
116116
{
117-
"_id": "137dc0c22b927d20fa4b2c3fc5485cfe",
117+
"_id": "81408bf1646661a7c0718571684a1c33",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -127,18 +127,18 @@
127127
"value": "application/json"
128128
}
129129
],
130-
"headersSize": 436,
130+
"headersSize": 520,
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v1/dashboard/m8v-aud-r6a"
134+
"url": "https://api.datadoghq.com/api/v1/dashboard/shb-j47-ek7"
135135
},
136136
"response": {
137-
"bodySize": 38,
137+
"bodySize": 39,
138138
"content": {
139139
"mimeType": "application/json",
140-
"size": 38,
141-
"text": "{\"deleted_dashboard_id\":\"m8v-aud-r6a\"}"
140+
"size": 39,
141+
"text": "{\"deleted_dashboard_id\":\"shb-j47-ek7\"}\n"
142142
},
143143
"cookies": [],
144144
"headers": [
@@ -147,17 +147,17 @@
147147
"value": "application/json"
148148
}
149149
],
150-
"headersSize": 382,
150+
"headersSize": 592,
151151
"httpVersion": "HTTP/1.1",
152152
"redirectURL": "",
153153
"status": 200,
154154
"statusText": "OK"
155155
},
156-
"startedDateTime": "2022-01-06T00:50:26.543Z",
157-
"time": 220
156+
"startedDateTime": "2022-08-15T18:04:37.202Z",
157+
"time": 484
158158
},
159159
{
160-
"_id": "2e8022d592ce6876a92c758a74636eb5",
160+
"_id": "9c155f49b83ed26540e7c3f232710712",
161161
"_order": 0,
162162
"cache": {},
163163
"request": {
@@ -170,18 +170,18 @@
170170
"value": "application/json"
171171
}
172172
],
173-
"headersSize": 429,
173+
"headersSize": 513,
174174
"httpVersion": "HTTP/1.1",
175175
"method": "DELETE",
176176
"queryString": [],
177-
"url": "https://api.datadoghq.com/api/v1/monitor/59800315"
177+
"url": "https://api.datadoghq.com/api/v1/monitor/80119038"
178178
},
179179
"response": {
180180
"bodySize": 31,
181181
"content": {
182182
"mimeType": "application/json",
183183
"size": 31,
184-
"text": "{\"deleted_monitor_id\":59800315}"
184+
"text": "{\"deleted_monitor_id\":80119038}"
185185
},
186186
"cookies": [],
187187
"headers": [
@@ -190,14 +190,14 @@
190190
"value": "application/json"
191191
}
192192
],
193-
"headersSize": 382,
193+
"headersSize": 635,
194194
"httpVersion": "HTTP/1.1",
195195
"redirectURL": "",
196196
"status": 200,
197197
"statusText": "OK"
198198
},
199-
"startedDateTime": "2022-01-06T00:50:26.766Z",
200-
"time": 234
199+
"startedDateTime": "2022-08-15T18:04:37.692Z",
200+
"time": 376
201201
}
202202
],
203203
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-06T00:50:27.007Z"
1+
"2022-08-15T18:04:38.079Z"

0 commit comments

Comments
 (0)