|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Dashboards/Create a new dashboard with alert_graph widget", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "5.1.1" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "53e7d0e3a7abf7f5e5ace0d22f15863c", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 719, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "_fromType": "array", |
| 20 | + "name": "content-type", |
| 21 | + "value": "application/json" |
| 22 | + }, |
| 23 | + { |
| 24 | + "_fromType": "array", |
| 25 | + "name": "accept", |
| 26 | + "value": "application/json" |
| 27 | + } |
| 28 | + ], |
| 29 | + "headersSize": 421, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1640284288\",\"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:testcreateanewdashboardwithalertgraphwidget1640284288\",\"env:ci\"],\"type\":\"log alert\"}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v1/monitor" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 1089, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 1089, |
| 45 | + "text": "{\"restricted_roles\":null,\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1640284288\",\"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\":58748089,\"multi\":true,\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1640284288\",\"created\":\"2021-12-23T18:31:28.814099+00:00\",\"created_at\":1640284288000,\"creator\":{\"id\":1445416,\"handle\":\" [email protected]\",\"name\":null,\"email\":\" [email protected]\"},\"org_id\":321813,\"modified\":\"2021-12-23T18:31:28.814099+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.0,\"warning\":1.0}}}" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 482, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 200, |
| 58 | + "statusText": "OK" |
| 59 | + }, |
| 60 | + "startedDateTime": "2021-12-23T18:31:28.499Z", |
| 61 | + "time": 329 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "8064b96a1c0a871593367249f7a1eaba", |
| 65 | + "_order": 0, |
| 66 | + "cache": {}, |
| 67 | + "request": { |
| 68 | + "bodySize": 376, |
| 69 | + "cookies": [], |
| 70 | + "headers": [ |
| 71 | + { |
| 72 | + "_fromType": "array", |
| 73 | + "name": "content-type", |
| 74 | + "value": "application/json" |
| 75 | + }, |
| 76 | + { |
| 77 | + "_fromType": "array", |
| 78 | + "name": "accept", |
| 79 | + "value": "application/json" |
| 80 | + } |
| 81 | + ], |
| 82 | + "headersSize": 423, |
| 83 | + "httpVersion": "HTTP/1.1", |
| 84 | + "method": "POST", |
| 85 | + "postData": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "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-1640284288\",\"widgets\":[{\"definition\":{\"alert_id\":\"58748089\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" |
| 89 | + }, |
| 90 | + "queryString": [], |
| 91 | + "url": "https://api.datadoghq.com/api/v1/dashboard" |
| 92 | + }, |
| 93 | + "response": { |
| 94 | + "bodySize": 678, |
| 95 | + "content": { |
| 96 | + "mimeType": "application/json", |
| 97 | + "size": 678, |
| 98 | + "text": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"cz2-pvv-25h\",\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1640284288\",\"url\":\"/dashboard/cz2-pvv-25h/test-createanewdashboardwithalertgraphwidget-1640284288\",\"created_at\":\"2021-12-23T18:31:28.995402+00:00\",\"modified_at\":\"2021-12-23T18:31:28.995402+00:00\",\"author_handle\":\"[email protected]\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"viz_type\":\"timeseries\",\"title\":\"\",\"title_align\":\"left\",\"alert_id\":\"58748089\",\"time\":{},\"type\":\"alert_graph\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":269431710456897}],\"layout_type\":\"free\"}" |
| 99 | + }, |
| 100 | + "cookies": [], |
| 101 | + "headers": [ |
| 102 | + { |
| 103 | + "name": "content-type", |
| 104 | + "value": "application/json" |
| 105 | + } |
| 106 | + ], |
| 107 | + "headersSize": 383, |
| 108 | + "httpVersion": "HTTP/1.1", |
| 109 | + "redirectURL": "", |
| 110 | + "status": 200, |
| 111 | + "statusText": "OK" |
| 112 | + }, |
| 113 | + "startedDateTime": "2021-12-23T18:31:28.834Z", |
| 114 | + "time": 178 |
| 115 | + }, |
| 116 | + { |
| 117 | + "_id": "fe1a6b121c4c0a9fd43bfe5677885173", |
| 118 | + "_order": 0, |
| 119 | + "cache": {}, |
| 120 | + "request": { |
| 121 | + "bodySize": 0, |
| 122 | + "cookies": [], |
| 123 | + "headers": [ |
| 124 | + { |
| 125 | + "_fromType": "array", |
| 126 | + "name": "accept", |
| 127 | + "value": "application/json" |
| 128 | + } |
| 129 | + ], |
| 130 | + "headersSize": 384, |
| 131 | + "httpVersion": "HTTP/1.1", |
| 132 | + "method": "DELETE", |
| 133 | + "queryString": [], |
| 134 | + "url": "https://api.datadoghq.com/api/v1/dashboard/cz2-pvv-25h" |
| 135 | + }, |
| 136 | + "response": { |
| 137 | + "bodySize": 38, |
| 138 | + "content": { |
| 139 | + "mimeType": "application/json", |
| 140 | + "size": 38, |
| 141 | + "text": "{\"deleted_dashboard_id\":\"cz2-pvv-25h\"}" |
| 142 | + }, |
| 143 | + "cookies": [], |
| 144 | + "headers": [ |
| 145 | + { |
| 146 | + "name": "content-type", |
| 147 | + "value": "application/json" |
| 148 | + } |
| 149 | + ], |
| 150 | + "headersSize": 382, |
| 151 | + "httpVersion": "HTTP/1.1", |
| 152 | + "redirectURL": "", |
| 153 | + "status": 200, |
| 154 | + "statusText": "OK" |
| 155 | + }, |
| 156 | + "startedDateTime": "2021-12-23T18:31:29.017Z", |
| 157 | + "time": 217 |
| 158 | + }, |
| 159 | + { |
| 160 | + "_id": "a7d39fce10bdd13282a46eb0facd39bc", |
| 161 | + "_order": 0, |
| 162 | + "cache": {}, |
| 163 | + "request": { |
| 164 | + "bodySize": 0, |
| 165 | + "cookies": [], |
| 166 | + "headers": [ |
| 167 | + { |
| 168 | + "_fromType": "array", |
| 169 | + "name": "accept", |
| 170 | + "value": "application/json" |
| 171 | + } |
| 172 | + ], |
| 173 | + "headersSize": 379, |
| 174 | + "httpVersion": "HTTP/1.1", |
| 175 | + "method": "DELETE", |
| 176 | + "queryString": [], |
| 177 | + "url": "https://api.datadoghq.com/api/v1/monitor/58748089" |
| 178 | + }, |
| 179 | + "response": { |
| 180 | + "bodySize": 31, |
| 181 | + "content": { |
| 182 | + "mimeType": "application/json", |
| 183 | + "size": 31, |
| 184 | + "text": "{\"deleted_monitor_id\":58748089}" |
| 185 | + }, |
| 186 | + "cookies": [], |
| 187 | + "headers": [ |
| 188 | + { |
| 189 | + "name": "content-type", |
| 190 | + "value": "application/json" |
| 191 | + } |
| 192 | + ], |
| 193 | + "headersSize": 382, |
| 194 | + "httpVersion": "HTTP/1.1", |
| 195 | + "redirectURL": "", |
| 196 | + "status": 200, |
| 197 | + "statusText": "OK" |
| 198 | + }, |
| 199 | + "startedDateTime": "2021-12-23T18:31:29.237Z", |
| 200 | + "time": 221 |
| 201 | + } |
| 202 | + ], |
| 203 | + "pages": [], |
| 204 | + "version": "1.2" |
| 205 | + } |
| 206 | +} |
0 commit comments