|
8 | 8 | },
|
9 | 9 | "entries": [
|
10 | 10 | {
|
11 |
| - "_id": "6fbf40411708208e3520487160b77c03", |
| 11 | + "_id": "89558550211e3f22f6fd9315d5d89876", |
12 | 12 | "_order": 0,
|
13 | 13 | "cache": {},
|
14 | 14 | "request": {
|
|
26 | 26 | "value": "application/json"
|
27 | 27 | }
|
28 | 28 | ],
|
29 |
| - "headersSize": 555, |
| 29 | + "headersSize": 553, |
30 | 30 | "httpVersion": "HTTP/1.1",
|
31 | 31 | "method": "POST",
|
32 | 32 | "postData": {
|
33 | 33 | "mimeType": "application/json",
|
34 | 34 | "params": [],
|
35 |
| - "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1674067039\",\"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:testgetamonitorsdetailsreturnsokresponse1674067039\",\"env:ci\"],\"type\":\"log alert\"}" |
| 35 | + "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1684774946\",\"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:testgetamonitorsdetailsreturnsokresponse1684774946\",\"env:ci\"],\"type\":\"log alert\"}" |
36 | 36 | },
|
37 | 37 | "queryString": [],
|
38 | 38 | "url": "https://api.datadoghq.com/api/v1/monitor"
|
|
42 | 42 | "content": {
|
43 | 43 | "mimeType": "application/json",
|
44 | 44 | "size": 1171,
|
45 |
| - "text": "{\"id\":108260305,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1674067039\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testgetamonitorsdetailsreturnsokresponse1674067039\",\"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\":1674067039000,\"created\":\"2023-01-18T18:37:19.812019+00:00\",\"modified\":\"2023-01-18T18:37:19.812019+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\" [email protected]\",\"email\":\" [email protected]\",\"id\":1445416}}\n" |
| 45 | + "text": "{\"id\":119735290,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1684774946\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testgetamonitorsdetailsreturnsokresponse1684774946\",\"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\":1684774946000,\"created\":\"2023-05-22T17:02:26.996650+00:00\",\"modified\":\"2023-05-22T17:02:26.996650+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\" [email protected]\",\"email\":\" [email protected]\",\"id\":1445416}}\n" |
46 | 46 | },
|
47 | 47 | "cookies": [],
|
48 | 48 | "headers": [
|
|
51 | 51 | "value": "application/json"
|
52 | 52 | }
|
53 | 53 | ],
|
54 |
| - "headersSize": 622, |
| 54 | + "headersSize": 649, |
55 | 55 | "httpVersion": "HTTP/1.1",
|
56 | 56 | "redirectURL": "",
|
57 | 57 | "status": 200,
|
58 | 58 | "statusText": "OK"
|
59 | 59 | },
|
60 |
| - "startedDateTime": "2023-01-18T18:37:19.700Z", |
61 |
| - "time": 138 |
| 60 | + "startedDateTime": "2023-05-22T17:02:26.795Z", |
| 61 | + "time": 249 |
62 | 62 | },
|
63 | 63 | {
|
64 |
| - "_id": "2832aef55c52bab87b61f12eb73d1586", |
| 64 | + "_id": "26af356943861afad31f838b381a4cbe", |
65 | 65 | "_order": 0,
|
66 | 66 | "cache": {},
|
67 | 67 | "request": {
|
|
74 | 74 | "value": "application/json"
|
75 | 75 | }
|
76 | 76 | ],
|
77 |
| - "headersSize": 508, |
| 77 | + "headersSize": 526, |
78 | 78 | "httpVersion": "HTTP/1.1",
|
79 | 79 | "method": "GET",
|
80 |
| - "queryString": [], |
81 |
| - "url": "https://api.datadoghq.com/api/v1/monitor/108260305" |
| 80 | + "queryString": [ |
| 81 | + { |
| 82 | + "name": "with_downtimes", |
| 83 | + "value": "true" |
| 84 | + } |
| 85 | + ], |
| 86 | + "url": "https://api.datadoghq.com/api/v1/monitor/119735290?with_downtimes=true" |
82 | 87 | },
|
83 | 88 | "response": {
|
84 |
| - "bodySize": 1171, |
| 89 | + "bodySize": 1195, |
85 | 90 | "content": {
|
86 | 91 | "mimeType": "application/json",
|
87 |
| - "size": 1171, |
88 |
| - "text": "{\"id\":108260305,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1674067039\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testgetamonitorsdetailsreturnsokresponse1674067039\",\"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\":1674067039000,\"created\":\"2023-01-18T18:37:19.812019+00:00\",\"modified\":\"2023-01-18T18:37:19.812019+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\" [email protected]\",\"email\":\" [email protected]\",\"id\":1445416}}\n" |
| 92 | + "size": 1195, |
| 93 | + "text": "{\"id\":119735290,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1684774946\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testgetamonitorsdetailsreturnsokresponse1684774946\",\"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\":1684774946000,\"created\":\"2023-05-22T17:02:26.996650+00:00\",\"modified\":\"2023-05-22T17:02:26.996650+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\" [email protected]\",\"email\":\" [email protected]\",\"id\":1445416},\"matching_downtimes\":[]}\n" |
89 | 94 | },
|
90 | 95 | "cookies": [],
|
91 | 96 | "headers": [
|
|
94 | 99 | "value": "application/json"
|
95 | 100 | }
|
96 | 101 | ],
|
97 |
| - "headersSize": 623, |
| 102 | + "headersSize": 650, |
98 | 103 | "httpVersion": "HTTP/1.1",
|
99 | 104 | "redirectURL": "",
|
100 | 105 | "status": 200,
|
101 | 106 | "statusText": "OK"
|
102 | 107 | },
|
103 |
| - "startedDateTime": "2023-01-18T18:37:19.845Z", |
104 |
| - "time": 101 |
| 108 | + "startedDateTime": "2023-05-22T17:02:27.066Z", |
| 109 | + "time": 180 |
105 | 110 | },
|
106 | 111 | {
|
107 |
| - "_id": "d99fd48f4b670de45f64f09a5daf9ce4", |
| 112 | + "_id": "375ae2d712d7d1bd8b219f3e77e88b61", |
108 | 113 | "_order": 0,
|
109 | 114 | "cache": {},
|
110 | 115 | "request": {
|
|
117 | 122 | "value": "application/json"
|
118 | 123 | }
|
119 | 124 | ],
|
120 |
| - "headersSize": 514, |
| 125 | + "headersSize": 512, |
121 | 126 | "httpVersion": "HTTP/1.1",
|
122 | 127 | "method": "DELETE",
|
123 | 128 | "queryString": [],
|
124 |
| - "url": "https://api.datadoghq.com/api/v1/monitor/108260305" |
| 129 | + "url": "https://api.datadoghq.com/api/v1/monitor/119735290" |
125 | 130 | },
|
126 | 131 | "response": {
|
127 | 132 | "bodySize": 33,
|
128 | 133 | "content": {
|
129 | 134 | "mimeType": "application/json",
|
130 | 135 | "size": 33,
|
131 |
| - "text": "{\"deleted_monitor_id\":108260305}\n" |
| 136 | + "text": "{\"deleted_monitor_id\":119735290}\n" |
132 | 137 | },
|
133 | 138 | "cookies": [],
|
134 | 139 | "headers": [
|
|
137 | 142 | "value": "application/json"
|
138 | 143 | }
|
139 | 144 | ],
|
140 |
| - "headersSize": 489, |
| 145 | + "headersSize": 516, |
141 | 146 | "httpVersion": "HTTP/1.1",
|
142 | 147 | "redirectURL": "",
|
143 | 148 | "status": 200,
|
144 | 149 | "statusText": "OK"
|
145 | 150 | },
|
146 |
| - "startedDateTime": "2023-01-18T18:37:19.952Z", |
147 |
| - "time": 123 |
| 151 | + "startedDateTime": "2023-05-22T17:02:27.263Z", |
| 152 | + "time": 182 |
148 | 153 | }
|
149 | 154 | ],
|
150 | 155 | "pages": [],
|
|
0 commit comments