-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cassettes and update given (#2735)
Co-authored-by: ci.datadog-api-spec <[email protected]>
- Loading branch information
1 parent
0b98637
commit 23edc08
Showing
21 changed files
with
101 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-01-18T18:37:16.146Z | ||
2024-10-10T16:45:37.005Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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}} | ||
' | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
2 changes: 1 addition & 1 deletion
2
...rios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-01-18T18:37:16.878Z | ||
2024-10-10T16:45:04.791Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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}} | ||
' | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
2 changes: 1 addition & 1 deletion
2
...rios/v1/Feature_Downtimes/Scenario_Schedule_a_monitor_downtime_returns_OK_response.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-01-18T18:37:17.507Z | ||
2024-10-10T16:44:49.394Z |
Oops, something went wrong.