@@ -39,7 +39,7 @@ interactions:
3939 message : OK
4040- request :
4141 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
42- "datadog.org-sync.import.start", "type": 0, "points": [{"timestamp": 1730818010 ,
42+ "datadog.org-sync.import.start", "type": 0, "points": [{"timestamp": 1737662089 ,
4343 "value": 1}], "tags": null}]}'
4444 headers :
4545 Content-Type :
@@ -57,7 +57,7 @@ interactions:
5757 message : Accepted
5858- request :
5959 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
60- "datadog.org-sync.import.start", "type": 0, "points": [{"timestamp": 1730818010 ,
60+ "datadog.org-sync.import.start", "type": 0, "points": [{"timestamp": 1737662089 ,
6161 "value": 1}], "tags": null}]}'
6262 headers :
6363 Content-Type :
@@ -79,24 +79,24 @@ interactions:
7979 Content-Type :
8080 - application/json
8181 method : GET
82- uri : https://api.datadoghq.eu/api/v2/downtime
82+ uri : https://api.datadoghq.eu/api/v2/downtime?page%5Blimit%5D=100&page%5Boffset%5D=0
8383 response :
8484 body :
85- string : ' {"data": [{"type": "downtime", "attributes": {"mute_first_recovery_notification ":
86- false , "notify_end_types ": ["canceled", "expired"] , "status ": "active", "monitor_identifier":
87- {"monitor_id ": 20125252} , "schedule": {"start": "2024-10-28T19:03:20.783000+00:00",
88- "end ": null} , "canceled": null , "created ": "2024-10-28T19:03:37.269181+00:00",
89- "notify_end_states": ["no data", "warn", "alert"], "modified": " 2024-10-28T19:03:37.269181+00:00",
90- "message": "" , "display_timezone ": "America/New_York" , "scope ": "* "}, "id":
91- "84867542-29d9-4c77-b9f8-117e19347a27"}, {"type": "downtime", "attributes":
92- {"mute_first_recovery_notification ": false , "notify_end_types ": ["canceled ",
93- "expired"], "status ": "scheduled", "monitor_identifier": {"monitor_id": 20046756},
94- "schedule": {"current_downtime": {"start": "2024-11-05T19 :46:00+00:00", "end ":
95- "2024-11-05T19:56:00+00:00"}, "recurrences": [{"rrule": "FREQ=DAILY;INTERVAL=1",
96- "start ": "2024-10-28T14:46:00 ", "duration": "10m"} ], "timezone ": "America/New_York"},
97- "canceled ": null, "created": "2024-10-28T18:47:00.157356+00:00" , "notify_end_states":
98- ["no data", "warn", "alert"], "modified" : "2024-11-04T19:56:04.778566 +00:00",
99- "message": "test" , "display_timezone ": "America/New_York" , "scope ": "agent_type:native "},
85+ string : ' {"data": [{"type": "downtime", "attributes": {"scope": "*", "modified ":
86+ "2024-10-28T19:03:37.269181+00:00" , "schedule ": {"end": null , "start ": "2024-10-28T19:03:20.783000+00:00"},
87+ "notify_end_states ": ["no data" , "alert", "warn"], "monitor_identifier": {"monitor_id":
88+ 20125252}, "notify_end_types ": ["expired" , "canceled"] , "message ": "", "created":
89+ "2024-10-28T19:03:37.269181+00:00", "canceled": null, "display_timezone":
90+ "America/New_York" , "mute_first_recovery_notification ": false , "status ": "active "},
91+ "id": " 84867542-29d9-4c77-b9f8-117e19347a27"}, {"type": "downtime", "attributes":
92+ {"scope ": "agent_type:native" , "modified ": "2025-01-23T19:46:06.990749+00:00 ",
93+ "schedule": {"current_downtime ": {"end": "2025-01-23T19:56:00+00:00", "start":
94+ "2025-01-23T19 :46:00+00:00"} , "timezone": "America/New_York", "recurrences ":
95+ [{"rrule": "FREQ=DAILY;INTERVAL=1", "duration": "10m", "start": "2024-10-28T14:46:00"}]} ,
96+ "notify_end_states ": ["no data ", "alert", "warn" ], "monitor_identifier ": {"monitor_id":
97+ 20046756}, "notify_end_types ": ["expired", "canceled"] , "message": "test",
98+ "created" : "2024-10-28T18:47:00.157356 +00:00", "canceled": null, "display_timezone":
99+ "America/New_York" , "mute_first_recovery_notification ": false , "status ": "active "},
100100 "id": "e7c79b6e-4c04-4540-ad20-0d1f71d79061"}], "meta": {"page": {"total_filtered_count":
101101 2}}}'
102102 headers :
@@ -107,7 +107,7 @@ interactions:
107107 message : OK
108108- request :
109109 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
110- "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1730818010 , "value":
110+ "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1737662089 , "value":
111111 1}], "tags": ["id:84867542-29d9-4c77-b9f8-117e19347a27", "action_type:import",
112112 "status:success", "resource_type:downtime_schedules", "client_type:destination"]}]}'
113113 headers :
@@ -126,14 +126,14 @@ interactions:
126126 message : Accepted
127127- request :
128128 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
129- "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1730818010 , "value":
130- 1}], "tags": ["id:e7c79b6e-4c04-4540-ad20-0d1f71d79061 ", "action_type:import",
131- "status:success", "resource_type:downtime_schedules", "client_type:destination "]}]}'
129+ "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1737662089 , "value":
130+ 1}], "tags": ["id:84867542-29d9-4c77-b9f8-117e19347a27 ", "action_type:import",
131+ "status:success", "resource_type:downtime_schedules", "client_type:source "]}]}'
132132 headers :
133133 Content-Type :
134134 - application/json
135135 method : POST
136- uri : https://us5 .datadoghq.com /api/v2/series
136+ uri : https://api .datadoghq.eu /api/v2/series
137137 response :
138138 body :
139139 string : ' {"errors": []}'
@@ -145,14 +145,14 @@ interactions:
145145 message : Accepted
146146- request :
147147 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
148- "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1730818010 , "value":
149- 1}], "tags": ["id:84867542-29d9-4c77-b9f8-117e19347a27 ", "action_type:import",
150- "status:success", "resource_type:downtime_schedules", "client_type:source "]}]}'
148+ "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1737662089 , "value":
149+ 1}], "tags": ["id:e7c79b6e-4c04-4540-ad20-0d1f71d79061 ", "action_type:import",
150+ "status:success", "resource_type:downtime_schedules", "client_type:destination "]}]}'
151151 headers :
152152 Content-Type :
153153 - application/json
154154 method : POST
155- uri : https://api .datadoghq.eu /api/v2/series
155+ uri : https://us5 .datadoghq.com /api/v2/series
156156 response :
157157 body :
158158 string : ' {"errors": []}'
@@ -164,7 +164,7 @@ interactions:
164164 message : Accepted
165165- request :
166166 body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
167- "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1730818010 , "value":
167+ "datadog.org-sync.action", "type": 0, "points": [{"timestamp": 1737662089 , "value":
168168 1}], "tags": ["id:e7c79b6e-4c04-4540-ad20-0d1f71d79061", "action_type:import",
169169 "status:success", "resource_type:downtime_schedules", "client_type:source"]}]}'
170170 headers :
@@ -219,40 +219,4 @@ interactions:
219219 status :
220220 code : 200
221221 message : OK
222- - request :
223- body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
224- "datadog.org-sync.diffs.start", "type": 0, "points": [{"timestamp": 1730818010,
225- "value": 1}], "tags": null}]}'
226- headers :
227- Content-Type :
228- - application/json
229- method : POST
230- uri : https://api.datadoghq.eu/api/v2/series
231- response :
232- body :
233- string : ' {"errors": []}'
234- headers :
235- Content-Type :
236- - application/json
237- status :
238- code : 202
239- message : Accepted
240- - request :
241- body : ' {"series": [{"metadata": {"origin": {"origin_product": 24}}, "metric":
242- "datadog.org-sync.diffs.start", "type": 0, "points": [{"timestamp": 1730818010,
243- "value": 1}], "tags": null}]}'
244- headers :
245- Content-Type :
246- - application/json
247- method : POST
248- uri : https://us5.datadoghq.com/api/v2/series
249- response :
250- body :
251- string : ' {"errors": []}'
252- headers :
253- Content-Type :
254- - application/json
255- status :
256- code : 202
257- message : Accepted
258222version : 1
0 commit comments