|
8 | 8 | },
|
9 | 9 | "entries": [
|
10 | 10 | {
|
11 |
| - "_id": "a6398d92236de6af6e0c182ccfc97958", |
| 11 | + "_id": "872abdb5f24e9461c6643498d4bc4eb3", |
12 | 12 | "_order": 0,
|
13 | 13 | "cache": {},
|
14 | 14 | "request": {
|
|
32 | 32 | "postData": {
|
33 | 33 | "mimeType": "application/json",
|
34 | 34 | "params": [],
|
35 |
| - "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1674067040\",\"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:testvalidateanexistingmonitorreturnsokresponse1674067040\",\"env:ci\"],\"type\":\"log alert\"}" |
| 35 | + "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1696443719\",\"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:testvalidateanexistingmonitorreturnsokresponse1696443719\",\"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": 1182,
|
45 |
| - "text": "{\"id\":108260307,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1674067040\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testvalidateanexistingmonitorreturnsokresponse1674067040\",\"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\":1674067040000,\"created\":\"2023-01-18T18:37:20.717952+00:00\",\"modified\":\"2023-01-18T18:37:20.717952+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" |
| 45 | + "text": "{\"id\":132537531,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1696443719\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testvalidateanexistingmonitorreturnsokresponse1696443719\",\"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\":1696443719000,\"created\":\"2023-10-04T18:21:59.676309+00:00\",\"modified\":\"2023-10-04T18:21:59.676309+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" |
46 | 46 | },
|
47 | 47 | "cookies": [],
|
48 | 48 | "headers": [
|
|
51 | 51 | "value": "application/json"
|
52 | 52 | }
|
53 | 53 | ],
|
54 |
| - "headersSize": 623, |
| 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:20.519Z", |
61 |
| - "time": 242 |
| 60 | + "startedDateTime": "2023-10-04T18:21:59.263Z", |
| 61 | + "time": 466 |
62 | 62 | },
|
63 | 63 | {
|
64 |
| - "_id": "b495ccaf91c389cb4434e4eba81e682d", |
| 64 | + "_id": "5617e437dd2a9746b727974e417a3e02", |
65 | 65 | "_order": 0,
|
66 | 66 | "cache": {},
|
67 | 67 | "request": {
|
|
85 | 85 | "postData": {
|
86 | 86 | "mimeType": "application/json",
|
87 | 87 | "params": [],
|
88 |
| - "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1674067040\",\"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:testvalidateanexistingmonitorreturnsokresponse1674067040\",\"env:ci\"],\"type\":\"log alert\"}" |
| 88 | + "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1696443719\",\"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:testvalidateanexistingmonitorreturnsokresponse1696443719\",\"env:ci\"],\"type\":\"log alert\"}" |
89 | 89 | },
|
90 | 90 | "queryString": [],
|
91 |
| - "url": "https://api.datadoghq.com/api/v1/monitor/108260307/validate" |
| 91 | + "url": "https://api.datadoghq.com/api/v1/monitor/132537531/validate" |
92 | 92 | },
|
93 | 93 | "response": {
|
94 | 94 | "bodySize": 3,
|
|
104 | 104 | "value": "application/json"
|
105 | 105 | }
|
106 | 106 | ],
|
107 |
| - "headersSize": 465, |
| 107 | + "headersSize": 492, |
108 | 108 | "httpVersion": "HTTP/1.1",
|
109 | 109 | "redirectURL": "",
|
110 | 110 | "status": 200,
|
111 | 111 | "statusText": "OK"
|
112 | 112 | },
|
113 |
| - "startedDateTime": "2023-01-18T18:37:20.767Z", |
114 |
| - "time": 202 |
| 113 | + "startedDateTime": "2023-10-04T18:21:59.738Z", |
| 114 | + "time": 368 |
115 | 115 | },
|
116 | 116 | {
|
117 |
| - "_id": "446ceaa56aae6e109dbabd3db5f74550", |
| 117 | + "_id": "63d7eb81b0cfd7dc7311ab550a0fd2f4", |
118 | 118 | "_order": 0,
|
119 | 119 | "cache": {},
|
120 | 120 | "request": {
|
|
131 | 131 | "httpVersion": "HTTP/1.1",
|
132 | 132 | "method": "DELETE",
|
133 | 133 | "queryString": [],
|
134 |
| - "url": "https://api.datadoghq.com/api/v1/monitor/108260307" |
| 134 | + "url": "https://api.datadoghq.com/api/v1/monitor/132537531" |
135 | 135 | },
|
136 | 136 | "response": {
|
137 | 137 | "bodySize": 33,
|
138 | 138 | "content": {
|
139 | 139 | "mimeType": "application/json",
|
140 | 140 | "size": 33,
|
141 |
| - "text": "{\"deleted_monitor_id\":108260307}\n" |
| 141 | + "text": "{\"deleted_monitor_id\":132537531}\n" |
142 | 142 | },
|
143 | 143 | "cookies": [],
|
144 | 144 | "headers": [
|
|
147 | 147 | "value": "application/json"
|
148 | 148 | }
|
149 | 149 | ],
|
150 |
| - "headersSize": 489, |
| 150 | + "headersSize": 516, |
151 | 151 | "httpVersion": "HTTP/1.1",
|
152 | 152 | "redirectURL": "",
|
153 | 153 | "status": 200,
|
154 | 154 | "statusText": "OK"
|
155 | 155 | },
|
156 |
| - "startedDateTime": "2023-01-18T18:37:20.975Z", |
157 |
| - "time": 117 |
| 156 | + "startedDateTime": "2023-10-04T18:22:00.114Z", |
| 157 | + "time": 482 |
158 | 158 | }
|
159 | 159 | ],
|
160 | 160 | "pages": [],
|
|
0 commit comments