|
8 | 8 | }, |
9 | 9 | "entries": [ |
10 | 10 | { |
11 | | - "_id": "7a58052f14ee83a62dfc2809be4dc559", |
| 11 | + "_id": "eef12d43f020a800f373e9557add2e5e", |
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-Create_a_RUM_formula_and_functions_monitor_returns_OK_response-1643835850\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"status:error\"}}]},\"priority\":3,\"query\":\"formula(\\\"query2 / query1 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"tags\":[\"test:testcreatearumformulaandfunctionsmonitorreturnsokresponse1643835850\",\"env:ci\"],\"type\":\"rum alert\"}" |
| 35 | + "text": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_RUM_formula_and_functions_monitor_returns_OK_response-1747261633\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"status:error\"}}]},\"priority\":3,\"query\":\"formula(\\\"query2 / query1 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"tags\":[\"test:testcreatearumformulaandfunctionsmonitorreturnsokresponse1747261633\",\"env:ci\"],\"type\":\"rum alert\"}" |
36 | 36 | }, |
37 | 37 | "queryString": [], |
38 | 38 | "url": "https://api.datadoghq.com/api/v1/monitor" |
39 | 39 | }, |
40 | 40 | "response": { |
41 | | - "bodySize": 1144, |
| 41 | + "bodySize": 1264, |
42 | 42 | "content": { |
43 | 43 | "mimeType": "application/json", |
44 | | - "size": 1144, |
45 | | - "text": "{\"restricted_roles\":null,\"tags\":[\"test:testcreatearumformulaandfunctionsmonitorreturnsokresponse1643835850\",\"env:ci\"],\"deleted\":null,\"query\":\"formula(\\\"query2 / query1 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"message\":\"some message Notify: @hipchat-channel\",\"id\":62683819,\"multi\":false,\"name\":\"Test-Create_a_RUM_formula_and_functions_monitor_returns_OK_response-1643835850\",\"created\":\"2022-02-02T21:04:10.947341+00:00\",\"created_at\":1643835850000,\"creator\":{\"id\":1445416,\"handle\":\"frog@datadoghq.com\",\"name\":null,\"email\":\"frog@datadoghq.com\"},\"org_id\":321813,\"modified\":\"2022-02-02T21:04:10.947341+00:00\",\"priority\":3,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"type\":\"rum alert\",\"options\":{\"notify_audit\":false,\"locked\":false,\"silenced\":{},\"include_tags\":true,\"thresholds\":{\"critical\":0.8},\"new_host_delay\":300,\"notify_no_data\":false,\"groupby_simple_monitor\":false,\"variables\":[{\"search\":{\"query\":\"\"},\"data_source\":\"rum\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query2\",\"indexes\":[\"*\"],\"group_by\":[]},{\"search\":{\"query\":\"status:error\"},\"data_source\":\"rum\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]}]}}" |
| 44 | + "size": 1264, |
| 45 | + "text": "{\"id\":172140181,\"org_id\":2,\"type\":\"rum alert\",\"name\":\"Test-Create_a_RUM_formula_and_functions_monitor_returns_OK_response-1747261633\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testcreatearumformulaandfunctionsmonitorreturnsokresponse1747261633\",\"env:ci\"],\"query\":\"formula(\\\"query2 / query1 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"status:error\"}}],\"notify_no_data\":false,\"notify_audit\":false,\"new_host_delay\":300,\"include_tags\":true,\"groupby_simple_monitor\":false,\"silenced\":{},\"avalanche_window\":20},\"multi\":false,\"created_at\":1747261634000,\"created\":\"2025-05-14T22:27:14.329045+00:00\",\"modified\":\"2025-05-14T22:27:14.329045+00:00\",\"deleted\":null,\"priority\":3,\"draft_status\":\"published\",\"restricted_roles\":null,\"restriction_policy\":null,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":\"Carl Martensen\",\"handle\":\"carl.martensen@datadoghq.com\",\"email\":\"carl.martensen@datadoghq.com\",\"id\":638339},\"run_as\":null,\"restricted\":true}\n" |
46 | 46 | }, |
47 | 47 | "cookies": [], |
48 | 48 | "headers": [ |
|
51 | 51 | "value": "application/json" |
52 | 52 | } |
53 | 53 | ], |
54 | | - "headersSize": 516, |
| 54 | + "headersSize": 680, |
55 | 55 | "httpVersion": "HTTP/1.1", |
56 | 56 | "redirectURL": "", |
57 | 57 | "status": 200, |
58 | 58 | "statusText": "OK" |
59 | 59 | }, |
60 | | - "startedDateTime": "2022-02-02T21:04:10.644Z", |
61 | | - "time": 350 |
| 60 | + "startedDateTime": "2025-05-14T22:27:13.835Z", |
| 61 | + "time": 615 |
62 | 62 | }, |
63 | 63 | { |
64 | | - "_id": "2c04155ecb9e82a5da2fb42d5676fc54", |
| 64 | + "_id": "f63b2a6e7ed44642d421e39aa05e50b5", |
65 | 65 | "_order": 0, |
66 | 66 | "cache": {}, |
67 | 67 | "request": { |
|
74 | 74 | "value": "application/json" |
75 | 75 | } |
76 | 76 | ], |
77 | | - "headersSize": 513, |
| 77 | + "headersSize": 514, |
78 | 78 | "httpVersion": "HTTP/1.1", |
79 | 79 | "method": "DELETE", |
80 | 80 | "queryString": [], |
81 | | - "url": "https://api.datadoghq.com/api/v1/monitor/62683819" |
| 81 | + "url": "https://api.datadoghq.com/api/v1/monitor/172140181" |
82 | 82 | }, |
83 | 83 | "response": { |
84 | | - "bodySize": 31, |
| 84 | + "bodySize": 33, |
85 | 85 | "content": { |
86 | 86 | "mimeType": "application/json", |
87 | | - "size": 31, |
88 | | - "text": "{\"deleted_monitor_id\":62683819}" |
| 87 | + "size": 33, |
| 88 | + "text": "{\"deleted_monitor_id\":172140181}\n" |
89 | 89 | }, |
90 | 90 | "cookies": [], |
91 | 91 | "headers": [ |
|
94 | 94 | "value": "application/json" |
95 | 95 | } |
96 | 96 | ], |
97 | | - "headersSize": 485, |
| 97 | + "headersSize": 547, |
98 | 98 | "httpVersion": "HTTP/1.1", |
99 | 99 | "redirectURL": "", |
100 | 100 | "status": 200, |
101 | 101 | "statusText": "OK" |
102 | 102 | }, |
103 | | - "startedDateTime": "2022-02-02T21:04:11.003Z", |
104 | | - "time": 289 |
| 103 | + "startedDateTime": "2025-05-14T22:27:14.463Z", |
| 104 | + "time": 285 |
105 | 105 | } |
106 | 106 | ], |
107 | 107 | "pages": [], |
|
0 commit comments