Skip to content

Commit

Permalink
Regenerate client from commit 5277ca03 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 16, 2022
1 parent 1e683f6 commit 54e66e6
Show file tree
Hide file tree
Showing 35 changed files with 492 additions and 254 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-08-15 14:37:09.699404",
"spec_repo_commit": "51cbf00f"
"regenerated": "2022-08-16 17:32:05.780949",
"spec_repo_commit": "5277ca03"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-08-15 14:37:09.711637",
"spec_repo_commit": "51cbf00f"
"regenerated": "2022-08-16 17:32:05.794831",
"spec_repo_commit": "5277ca03"
}
}
}
39 changes: 39 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6131,6 +6131,17 @@ components:
format: int64
nullable: true
type: integer
group_retention_duration:
description: 'The time span after which groups with missing data are dropped
from the monitor state.

The minimum value is one hour, and the maximum value is 72 hours.

Example values are: "60m", "1h", and "2d".

This option is only available for APM Trace Analytics, Audit Trail, CI,
Error Tracking, Event, Logs, and RUM monitors.'
type: string
groupby_simple_monitor:
description: Whether the log alert monitor triggers a single alert or multiple
alerts when any group breaches a threshold.
Expand Down Expand Up @@ -6221,6 +6232,8 @@ components:
description: A Boolean indicating whether this monitor notifies when data
stops reporting.
type: boolean
on_missing_data:
$ref: '#/components/schemas/OnMissingDataOption'
renotify_interval:
default: null
description: "The number of minutes after the last notification before a
Expand Down Expand Up @@ -7926,6 +7939,32 @@ components:
format: int64
type: integer
type: object
OnMissingDataOption:
description: 'Controls how groups or monitors are treated if an evaluation does
not return any data points.

The default option results in different behavior depending on the monitor
query type.

For monitors using Count queries, an empty monitor evaluation is treated as
0 and is compared to the threshold conditions.

For monitor using any query type other than Count, for example Gauge or Rate,
the monitor shows the last known status.

This option is only available for APM Trace Analytics, Audit Trail, CI, Error
Tracking, Event, Logs, and RUM monitors.'
enum:
- default
- show_no_data
- show_and_notify_no_data
- resolve
type: string
x-enum-varnames:
- DEFAULT
- SHOW_NO_DATA
- SHOW_AND_NOTIFY_NO_DATA
- RESOLVE
OrgDowngradedResponse:
description: Status of downgrade
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2022-01-06T00:50:25.975Z"
"2022-08-15T18:04:35.875Z"
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"entries": [
{
"_id": "9daa1fe9bbb92cc6c9ae1a9b8e555681",
"_id": "b0a9c66cafabf0db4cfc10c90e5ac287",
"_order": 0,
"cache": {},
"request": {
"bodySize": 719,
"bodySize": 763,
"cookies": [],
"headers": [
{
Expand All @@ -26,23 +26,23 @@
"value": "application/json"
}
],
"headersSize": 471,
"headersSize": 555,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"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\"}"
"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\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/monitor"
},
"response": {
"bodySize": 1089,
"bodySize": 1133,
"content": {
"mimeType": "application/json",
"size": 1089,
"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}}}"
"size": 1133,
"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}}}"
},
"cookies": [],
"headers": [
Expand All @@ -51,17 +51,17 @@
"value": "application/json"
}
],
"headersSize": 515,
"headersSize": 665,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-01-06T00:50:25.979Z",
"time": 327
"startedDateTime": "2022-08-15T18:04:35.898Z",
"time": 792
},
{
"_id": "8c06b025a7c84aa70a88624ea6a1e24f",
"_id": "4a191566f87ae16b08bd48fb4aca41be",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -79,23 +79,23 @@
"value": "application/json"
}
],
"headersSize": 475,
"headersSize": 559,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"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}}]}"
"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}}]}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/dashboard"
},
"response": {
"bodySize": 679,
"bodySize": 678,
"content": {
"mimeType": "application/json",
"size": 679,
"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\"}"
"size": 678,
"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"
},
"cookies": [],
"headers": [
Expand All @@ -104,17 +104,17 @@
"value": "application/json"
}
],
"headersSize": 383,
"headersSize": 593,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-01-06T00:50:26.313Z",
"time": 226
"startedDateTime": "2022-08-15T18:04:36.727Z",
"time": 462
},
{
"_id": "137dc0c22b927d20fa4b2c3fc5485cfe",
"_id": "81408bf1646661a7c0718571684a1c33",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -127,18 +127,18 @@
"value": "application/json"
}
],
"headersSize": 436,
"headersSize": 520,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/dashboard/m8v-aud-r6a"
"url": "https://api.datadoghq.com/api/v1/dashboard/shb-j47-ek7"
},
"response": {
"bodySize": 38,
"bodySize": 39,
"content": {
"mimeType": "application/json",
"size": 38,
"text": "{\"deleted_dashboard_id\":\"m8v-aud-r6a\"}"
"size": 39,
"text": "{\"deleted_dashboard_id\":\"shb-j47-ek7\"}\n"
},
"cookies": [],
"headers": [
Expand All @@ -147,17 +147,17 @@
"value": "application/json"
}
],
"headersSize": 382,
"headersSize": 592,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-01-06T00:50:26.543Z",
"time": 220
"startedDateTime": "2022-08-15T18:04:37.202Z",
"time": 484
},
{
"_id": "2e8022d592ce6876a92c758a74636eb5",
"_id": "9c155f49b83ed26540e7c3f232710712",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -170,18 +170,18 @@
"value": "application/json"
}
],
"headersSize": 429,
"headersSize": 513,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/monitor/59800315"
"url": "https://api.datadoghq.com/api/v1/monitor/80119038"
},
"response": {
"bodySize": 31,
"content": {
"mimeType": "application/json",
"size": 31,
"text": "{\"deleted_monitor_id\":59800315}"
"text": "{\"deleted_monitor_id\":80119038}"
},
"cookies": [],
"headers": [
Expand All @@ -190,14 +190,14 @@
"value": "application/json"
}
],
"headersSize": 382,
"headersSize": 635,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-01-06T00:50:26.766Z",
"time": 234
"startedDateTime": "2022-08-15T18:04:37.692Z",
"time": 376
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2022-01-06T00:50:27.007Z"
"2022-08-15T18:04:38.079Z"
Loading

0 comments on commit 54e66e6

Please sign in to comment.