33 "httpRequest" : {
44 "body" : {
55 "type" : " JSON" ,
6- "json" : " {\" 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\\\" ) > 2\" , \" tags\" : [\" test:testcreateanewdashboardwithalertgraphwidget1674067036 \" , \" env:ci\" ], \" type\" : \" log alert\" }"
6+ "json" : " {\" 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\\\" ) > 2\" , \" tags\" : [\" test:testcreateanewdashboardwithalertgraphwidget1728578737 \" , \" env:ci\" ], \" type\" : \" log alert\" }"
77 },
88 "headers" : {},
99 "method" : " POST" ,
1212 "secure" : true
1313 },
1414 "httpResponse" : {
15- "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 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 Data\",\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":1445416}}\n",
15+ "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,\"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\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":1445416}}\n",
1616 "headers" : {
1717 "Content-Type" : [
1818 " application/json"
2727 "timeToLive" : {
2828 "unlimited" : true
2929 },
30- "id" : " 7cab4340-d73a-9dbc-5f31-0a5d03bdf56c "
30+ "id" : " d706321f-2b8a-11b9-cf0b-d3b09b52288e "
3131 },
3232 {
3333 "httpRequest" : {
3434 "body" : {
3535 "type" : " JSON" ,
36- "json" : " {\" 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}}]}"
36+ "json" : " {\" 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}}]}"
3737 },
3838 "headers" : {},
3939 "method" : " POST" ,
4242 "secure" : true
4343 },
4444 "httpResponse" : {
45- "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 \" : \" frog@datadoghq.com \" , \" 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 \" }\n " ,
45+ "body" : " {\" id \" :\" 9y7-dzu-fqr \" , \" title \" : \" Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737 \" ,\" description \" :\"\" ,\" author_handle \" :\" frog@datadoghq.com \" , \" 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 \" :[] }\n " ,
4646 "headers" : {
4747 "Content-Type" : [
4848 " application/json"
5757 "timeToLive" : {
5858 "unlimited" : true
5959 },
60- "id" : " 714e5eb4-1f13-3549-a38a-d019896c5ec1 "
60+ "id" : " b4ff48de-586a-27c9-94af-5d82e09b7b9a "
6161 },
6262 {
6363 "httpRequest" : {
6464 "headers" : {},
6565 "method" : " DELETE" ,
66- "path" : " /api/v1/dashboard/tvp-85z-v2d " ,
66+ "path" : " /api/v1/dashboard/9y7-dzu-fqr " ,
6767 "keepAlive" : false ,
6868 "secure" : true
6969 },
7070 "httpResponse" : {
71- "body" : " {\" deleted_dashboard_id\" :\" tvp-85z-v2d \" }\n " ,
71+ "body" : " {\" deleted_dashboard_id\" :\" 9y7-dzu-fqr \" }\n " ,
7272 "headers" : {
7373 "Content-Type" : [
7474 " application/json"
8383 "timeToLive" : {
8484 "unlimited" : true
8585 },
86- "id" : " 7e0a0e07-ac53-fda0-b4f8-f11fb0cd9664 "
86+ "id" : " 0834f466-2ca5-77ca-b120-f11d503b03b8 "
8787 },
8888 {
8989 "httpRequest" : {
9090 "headers" : {},
9191 "method" : " DELETE" ,
92- "path" : " /api/v1/monitor/108260299 " ,
92+ "path" : " /api/v1/monitor/155845586 " ,
9393 "keepAlive" : false ,
9494 "secure" : true
9595 },
9696 "httpResponse" : {
97- "body" : " {\" deleted_monitor_id\" :108260299 }\n " ,
97+ "body" : " {\" deleted_monitor_id\" :155845586 }\n " ,
9898 "headers" : {
9999 "Content-Type" : [
100100 " application/json"
109109 "timeToLive" : {
110110 "unlimited" : true
111111 },
112- "id" : " d1765d18-bd59-11d0-62ee-545b8379ef4b "
112+ "id" : " 2e16a3ef-f256-640c-8e5a-606622d21867 "
113113 }
114114]
0 commit comments