From a4391ea663eac6058a01d46d16418cb163947fbf Mon Sep 17 00:00:00 2001 From: Arthur Hemery Date: Wed, 13 Nov 2024 14:55:17 +0100 Subject: [PATCH] Fix cassettes url --- .../TestAccRumMetricAttributes.freeze | 2 +- .../cassettes/TestAccRumMetricAttributes.yaml | 108 +++++++++--------- .../cassettes/TestAccRumMetricImport.freeze | 2 +- .../cassettes/TestAccRumMetricImport.yaml | 38 +++--- 4 files changed, 75 insertions(+), 75 deletions(-) diff --git a/datadog/tests/cassettes/TestAccRumMetricAttributes.freeze b/datadog/tests/cassettes/TestAccRumMetricAttributes.freeze index f385bcbf6e..5ff118de3d 100644 --- a/datadog/tests/cassettes/TestAccRumMetricAttributes.freeze +++ b/datadog/tests/cassettes/TestAccRumMetricAttributes.freeze @@ -1 +1 @@ -2024-11-08T17:34:41.835001+01:00 \ No newline at end of file +2024-11-13T14:53:37.123281+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccRumMetricAttributes.yaml b/datadog/tests/cassettes/TestAccRumMetricAttributes.yaml index 2d584111d1..3ce7c4b6dd 100644 --- a/datadog/tests/cassettes/TestAccRumMetricAttributes.yaml +++ b/datadog/tests/cassettes/TestAccRumMetricAttributes.yaml @@ -9,18 +9,18 @@ interactions: content_length: 166 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"\"tf_TestAccRumMetricAttributes_local_1731083681\"","type":"rum_metrics"}} + {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"\"tf_TestAccRumMetricAttributes_local_1731506017\"","type":"rum_metrics"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics + url: https://api.datadoghq.com/api/v2/rum/config/metrics method: POST response: proto: HTTP/2.0 @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 212 + content_length: 175 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 201 Created code: 201 - duration: 760.036ms + duration: 815.741958ms - id: 1 request: proto: HTTP/1.1 @@ -45,7 +45,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -53,7 +53,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -61,15 +61,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 212 + content_length: 175 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 109.609959ms + duration: 109.067958ms - id: 2 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -86,7 +86,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: DELETE response: proto: HTTP/2.0 @@ -100,7 +100,7 @@ interactions: headers: {} status: 204 No Content code: 204 - duration: 108.3615ms + duration: 117.488125ms - id: 3 request: proto: HTTP/1.1 @@ -109,18 +109,18 @@ interactions: content_length: 219 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action"},"id":"\"tf_TestAccRumMetricAttributes_local_1731083681\"","type":"rum_metrics"}} + {"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action"},"id":"\"tf_TestAccRumMetricAttributes_local_1731506017\"","type":"rum_metrics"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics + url: https://api.datadoghq.com/api/v2/rum/config/metrics method: POST response: proto: HTTP/2.0 @@ -130,13 +130,13 @@ interactions: trailer: {} content_length: 228 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 201 Created code: 201 - duration: 1.01709575s + duration: 1.02972725s - id: 4 request: proto: HTTP/1.1 @@ -145,7 +145,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -153,7 +153,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -163,13 +163,13 @@ interactions: trailer: {} content_length: 228 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 104.9915ms + duration: 108.842709ms - id: 5 request: proto: HTTP/1.1 @@ -178,7 +178,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -186,7 +186,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: DELETE response: proto: HTTP/2.0 @@ -200,7 +200,7 @@ interactions: headers: {} status: 204 No Content code: 204 - duration: 112.969666ms + duration: 112.006667ms - id: 6 request: proto: HTTP/1.1 @@ -209,18 +209,18 @@ interactions: content_length: 203 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","filter":{"query":"@service:web-ui"}},"id":"\"tf_TestAccRumMetricAttributes_local_1731083681\"","type":"rum_metrics"}} + {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","filter":{"query":"@service:web-ui"}},"id":"\"tf_TestAccRumMetricAttributes_local_1731506017\"","type":"rum_metrics"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics + url: https://api.datadoghq.com/api/v2/rum/config/metrics method: POST response: proto: HTTP/2.0 @@ -228,15 +228,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 212 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","filter":{"query":"@service:web-ui"},"group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","filter":{"query":"@service:web-ui"},"group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 201 Created code: 201 - duration: 853.209917ms + duration: 247.393ms - id: 7 request: proto: HTTP/1.1 @@ -245,7 +245,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -253,7 +253,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -261,15 +261,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 212 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","filter":{"query":"@service:web-ui"},"group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","filter":{"query":"@service:web-ui"},"group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 103.880667ms + duration: 107.427541ms - id: 8 request: proto: HTTP/1.1 @@ -278,7 +278,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -286,7 +286,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: DELETE response: proto: HTTP/2.0 @@ -300,7 +300,7 @@ interactions: headers: {} status: 204 No Content code: 204 - duration: 104.034208ms + duration: 107.245458ms - id: 9 request: proto: HTTP/1.1 @@ -309,18 +309,18 @@ interactions: content_length: 251 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]},"id":"\"tf_TestAccRumMetricAttributes_local_1731083681\"","type":"rum_metrics"}} + {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]},"id":"\"tf_TestAccRumMetricAttributes_local_1731506017\"","type":"rum_metrics"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics + url: https://api.datadoghq.com/api/v2/rum/config/metrics method: POST response: proto: HTTP/2.0 @@ -328,15 +328,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 283 + content_length: 246 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]}}}' headers: Content-Type: - application/vnd.api+json status: 201 Created code: 201 - duration: 965.583375ms + duration: 550.922458ms - id: 10 request: proto: HTTP/1.1 @@ -345,7 +345,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -353,7 +353,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -361,15 +361,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 283 + content_length: 246 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricAttributes_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"}]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 103.185083ms + duration: 107.373583ms - id: 11 request: proto: HTTP/1.1 @@ -378,7 +378,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -386,7 +386,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricAttributes_local_1731506017 method: DELETE response: proto: HTTP/2.0 @@ -400,4 +400,4 @@ interactions: headers: {} status: 204 No Content code: 204 - duration: 109.502792ms + duration: 108.528417ms diff --git a/datadog/tests/cassettes/TestAccRumMetricImport.freeze b/datadog/tests/cassettes/TestAccRumMetricImport.freeze index 86645c8c6e..05e44395d8 100644 --- a/datadog/tests/cassettes/TestAccRumMetricImport.freeze +++ b/datadog/tests/cassettes/TestAccRumMetricImport.freeze @@ -1 +1 @@ -2024-11-08T17:34:41.835006+01:00 \ No newline at end of file +2024-11-13T14:53:37.123287+01:00 \ No newline at end of file diff --git a/datadog/tests/cassettes/TestAccRumMetricImport.yaml b/datadog/tests/cassettes/TestAccRumMetricImport.yaml index 0990b7fef9..6a2f59a8b2 100644 --- a/datadog/tests/cassettes/TestAccRumMetricImport.yaml +++ b/datadog/tests/cassettes/TestAccRumMetricImport.yaml @@ -9,18 +9,18 @@ interactions: content_length: 162 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: | - {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"\"tf_TestAccRumMetricImport_local_1731083681\"","type":"rum_metrics"}} + {"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"\"tf_TestAccRumMetricImport_local_1731506017\"","type":"rum_metrics"}} form: {} headers: Accept: - application/json Content-Type: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics + url: https://api.datadoghq.com/api/v2/rum/config/metrics method: POST response: proto: HTTP/2.0 @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 208 + content_length: 171 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 201 Created code: 201 - duration: 714.608459ms + duration: 707.791ms - id: 1 request: proto: HTTP/1.1 @@ -45,7 +45,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -53,7 +53,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -61,15 +61,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 208 + content_length: 171 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 105.67175ms + duration: 108.442334ms - id: 2 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -86,7 +86,7 @@ interactions: headers: Accept: - application/json - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731506017 method: GET response: proto: HTTP/2.0 @@ -94,15 +94,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 208 + content_length: 171 uncompressed: false - body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731083681","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count","include_percentiles":null,"path":""},"event_type":"action","group_by":[]}}}' + body: '{"data":{"id":"tf_TestAccRumMetricImport_local_1731506017","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}}}' headers: Content-Type: - application/vnd.api+json status: 200 OK code: 200 - duration: 109.853708ms + duration: 109.190917ms - id: 3 request: proto: HTTP/1.1 @@ -111,7 +111,7 @@ interactions: content_length: 0 transfer_encoding: [] trailer: {} - host: api.datad0g.com + host: api.datadoghq.com remote_addr: "" request_uri: "" body: "" @@ -119,7 +119,7 @@ interactions: headers: Accept: - '*/*' - url: https://api.datad0g.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731083681 + url: https://api.datadoghq.com/api/v2/rum/config/metrics/tf_TestAccRumMetricImport_local_1731506017 method: DELETE response: proto: HTTP/2.0 @@ -133,4 +133,4 @@ interactions: headers: {} status: 204 No Content code: 204 - duration: 106.122167ms + duration: 111.724542ms