Skip to content

Commit

Permalink
Fix cassettes and update given (#2735)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 10, 2024
1 parent 0b98637 commit 23edc08
Show file tree
Hide file tree
Showing 21 changed files with 101 additions and 100 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.6",
"regenerated": "2024-10-09 23:04:51.492011",
"spec_repo_commit": "672b8739"
"regenerated": "2024-10-10 16:48:54.881752",
"spec_repo_commit": "56b8bb9b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-09 23:04:51.510548",
"spec_repo_commit": "672b8739"
"regenerated": "2024-10-10 16:48:54.900980",
"spec_repo_commit": "56b8bb9b"
}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:16.146Z
2024-10-10T16:45:37.005Z
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
interactions:
- request:
body: |
{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","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,"notification_preset_name":"hide_handles","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\") \u003e 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1674067036","env:ci"],"type":"log alert"}
{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","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\") \u003e 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"type":"log alert"}
form: {}
headers:
Accept:
Expand All @@ -12,11 +12,11 @@ interactions:
method: POST
url: https://api.datadoghq.com/api/v1/monitor
response:
body: '{"id":108260299,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1674067036","env:ci"],"query":"logs(\"service:foo
body: '{"id":155845586,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","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,"notification_preset_name":"hide_handles","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.0,"warning":1.0},"timeout_h":24,"silenced":{}},"multi":true,"created_at":1674067036000,"created":"2023-01-18T18:37:16.358564+00:00","modified":"2023-01-18T18:37:16.358564+00:00","deleted":null,"restricted_roles":null,"priority":3,"overall_state_modified":null,"overall_state":"No
has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","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.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578737000,"created":"2024-10-10T16:45:37.282544+00:00","modified":"2024-10-10T16:45:37.282544+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No
Data","creator":{"name":null,"handle":"[email protected]","email":"[email protected]","id":1445416}}
'
Expand All @@ -28,7 +28,7 @@ interactions:
status: 200 OK
- request:
body: |
{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","widgets":[{"definition":{"alert_id":"108260299","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}
{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}
form: {}
headers:
Accept:
Expand All @@ -39,7 +39,7 @@ interactions:
method: POST
url: https://api.datadoghq.com/api/v1/dashboard
response:
body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"tvp-85z-v2d","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","url":"/dashboard/tvp-85z-v2d/test-createanewdashboardwithalertgraphwidget-1674067036","created_at":"2023-01-18T18:37:16.495648+00:00","modified_at":"2023-01-18T18:37:16.495648+00:00","author_handle":"[email protected]","widgets":[{"definition":{"title_size":"16","viz_type":"timeseries","title":"","title_align":"left","alert_id":"108260299","time":{},"type":"alert_graph"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":236119153104762}],"layout_type":"free"}
body: '{"id":"9y7-dzu-fqr","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","description":"","author_handle":"[email protected]","author_name":null,"layout_type":"free","url":"/dashboard/9y7-dzu-fqr/test-createanewdashboardwithalertgraphwidget-1728578737","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":7729343486286001}],"notify_list":[],"created_at":"2024-10-10T16:45:37.490575+00:00","modified_at":"2024-10-10T16:45:37.490575+00:00","restricted_roles":[]}
'
code: 200
Expand All @@ -56,9 +56,9 @@ interactions:
- application/json
id: 2
method: DELETE
url: https://api.datadoghq.com/api/v1/dashboard/tvp-85z-v2d
url: https://api.datadoghq.com/api/v1/dashboard/9y7-dzu-fqr
response:
body: '{"deleted_dashboard_id":"tvp-85z-v2d"}
body: '{"deleted_dashboard_id":"9y7-dzu-fqr"}
'
code: 200
Expand All @@ -75,9 +75,9 @@ interactions:
- application/json
id: 3
method: DELETE
url: https://api.datadoghq.com/api/v1/monitor/108260299
url: https://api.datadoghq.com/api/v1/monitor/155845586
response:
body: '{"deleted_monitor_id":108260299}
body: '{"deleted_monitor_id":155845586}
'
code: 200
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:16.878Z
2024-10-10T16:45:04.791Z
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
interactions:
- request:
body: |
{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","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,"notification_preset_name":"hide_handles","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\") \u003e 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1674067036","env:ci"],"type":"log alert"}
{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","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\") \u003e 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"type":"log alert"}
form: {}
headers:
Accept:
Expand All @@ -12,11 +12,11 @@ interactions:
method: POST
url: https://api.datadoghq.com/api/v1/monitor
response:
body: '{"id":108260300,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1674067036","env:ci"],"query":"logs(\"service:foo
body: '{"id":155845560,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","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,"notification_preset_name":"hide_handles","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.0,"warning":1.0},"timeout_h":24,"silenced":{}},"multi":true,"created_at":1674067037000,"created":"2023-01-18T18:37:17.013180+00:00","modified":"2023-01-18T18:37:17.013180+00:00","deleted":null,"restricted_roles":null,"priority":3,"overall_state_modified":null,"overall_state":"No
has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","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.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578705000,"created":"2024-10-10T16:45:05.062415+00:00","modified":"2024-10-10T16:45:05.062415+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No
Data","creator":{"name":null,"handle":"[email protected]","email":"[email protected]","id":1445416}}
'
Expand All @@ -28,7 +28,7 @@ interactions:
status: 200 OK
- request:
body: |
{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","widgets":[{"definition":{"alert_id":"108260300","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]}
{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]}
form: {}
headers:
Accept:
Expand All @@ -39,7 +39,7 @@ interactions:
method: POST
url: https://api.datadoghq.com/api/v1/dashboard
response:
body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"ess-8yc-y8y","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","url":"/dashboard/ess-8yc-y8y/test-createanewdashboardwithalertvaluewidget-1674067036","created_at":"2023-01-18T18:37:17.145823+00:00","modified_at":"2023-01-18T18:37:17.145823+00:00","author_handle":"[email protected]","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","text_align":"left","precision":2,"alert_id":"108260300","type":"alert_value","unit":"auto"},"layout":{"y":0,"width":15,"x":0,"height":8},"id":3516493079797108}],"layout_type":"free"}
body: '{"id":"78k-2dh-sr5","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","description":"","author_handle":"[email protected]","author_name":null,"layout_type":"free","url":"/dashboard/78k-2dh-sr5/test-createanewdashboardwithalertvaluewidget-1728578704","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0},"id":8549155363482992}],"notify_list":[],"created_at":"2024-10-10T16:45:05.293418+00:00","modified_at":"2024-10-10T16:45:05.293418+00:00","restricted_roles":[]}
'
code: 200
Expand All @@ -56,9 +56,9 @@ interactions:
- application/json
id: 2
method: DELETE
url: https://api.datadoghq.com/api/v1/dashboard/ess-8yc-y8y
url: https://api.datadoghq.com/api/v1/dashboard/78k-2dh-sr5
response:
body: '{"deleted_dashboard_id":"ess-8yc-y8y"}
body: '{"deleted_dashboard_id":"78k-2dh-sr5"}
'
code: 200
Expand All @@ -75,9 +75,9 @@ interactions:
- application/json
id: 3
method: DELETE
url: https://api.datadoghq.com/api/v1/monitor/108260300
url: https://api.datadoghq.com/api/v1/monitor/155845560
response:
body: '{"deleted_monitor_id":108260300}
body: '{"deleted_monitor_id":155845560}
'
code: 200
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:17.507Z
2024-10-10T16:44:49.394Z
Loading

0 comments on commit 23edc08

Please sign in to comment.