From 621fe36d6d8bdc898c9a9408856b33dfdc9dfbac Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 4 Dec 2024 17:47:26 +0000 Subject: [PATCH] Regenerate client from commit 28c3eb4a of spec repo --- .apigentools-info | 8 ++++---- ...-metric-returns-Bad-Request-response.frozen | 2 +- ...ed-metric-returns-Bad-Request-response.json | 2 +- ...sed-metric-returns-Conflict-response.frozen | 2 +- ...based-metric-returns-Conflict-response.json | 16 ++++++++-------- ...ased-metric-returns-Created-response.frozen | 2 +- ...-based-metric-returns-Created-response.json | 4 ++-- ...d-metric-returns-No-Content-response.frozen | 2 +- ...sed-metric-returns-No-Content-response.json | 16 ++++++++-------- ...ed-metric-returns-Not-Found-response.frozen | 2 +- ...ased-metric-returns-Not-Found-response.json | 6 +++--- ...ed-metric-returns-Not-Found-response.frozen | 2 +- ...ased-metric-returns-Not-Found-response.json | 6 +++--- ...rum-based-metric-returns-OK-response.frozen | 2 +- ...a-rum-based-metric-returns-OK-response.json | 16 ++++++++-------- ...um-based-metrics-returns-OK-response.frozen | 2 +- ...-rum-based-metrics-returns-OK-response.json | 2 +- ...-metric-returns-Bad-Request-response.frozen | 2 +- ...ed-metric-returns-Bad-Request-response.json | 14 +++++++------- ...sed-metric-returns-Conflict-response.frozen | 2 +- ...based-metric-returns-Conflict-response.json | 14 +++++++------- ...ed-metric-returns-Not-Found-response.frozen | 2 +- ...ased-metric-returns-Not-Found-response.json | 12 ++++++------ ...rum-based-metric-returns-OK-response.frozen | 2 +- ...a-rum-based-metric-returns-OK-response.json | 18 +++++++++--------- tests/scenarios/features/v2/given.json | 2 +- 26 files changed, 80 insertions(+), 80 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 9fa1c6e10..87704b3f4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-03 18:40:45.002995", - "spec_repo_commit": "ce3146c2" + "regenerated": "2024-12-04 17:41:36.876808", + "spec_repo_commit": "28c3eb4a" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-03 18:40:45.022850", - "spec_repo_commit": "ce3146c2" + "regenerated": "2024-12-04 17:41:36.895838", + "spec_repo_commit": "28c3eb4a" } } } \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.frozen index aeb6d494b..68ac266aa 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:19.714Z \ No newline at end of file +2024-11-28T15:31:17.723Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json index ebf796e65..5413f06fa 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json @@ -32,7 +32,7 @@ "message": "Bad Request" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:19 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:17 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.frozen index 7ab47461a..d20e2a92b 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:20.162Z \ No newline at end of file +2024-11-28T15:31:18.166Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json index 304c7f731..7ab721cbb 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Create_a_rum_based_metric_returns_Conflict_response-1730203160\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Create_a_rum_based_metric_returns_Conflict_response-1730203160\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Create_a_rum_based_metric_returns_Conflict_response-1732807878\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testcreatearumbasedmetricreturnsconflictresponse1732807878\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Create_a_rum_based_metric_returns_Conflict_response_1730203160\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Create_a_rum_based_metric_returns_Conflict_response-1730203160\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testcreatearumbasedmetricreturnsconflictresponse1732807878\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Create_a_rum_based_metric_returns_Conflict_response-1732807878\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,12 +32,12 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:20 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:18 GMT" }, { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"event_type\":\"action\"},\"id\":\"Test_Create_a_rum_based_metric_returns_Conflict_response_1730203160\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"event_type\":\"action\"},\"id\":\"testcreatearumbasedmetricreturnsconflictresponse1732807878\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -53,7 +53,7 @@ }, "response": { "body": { - "string": "{\"errors\":[{\"status\":\"409\",\"title\":\"Conflict\",\"detail\":\"conflict(Field 'data.id' is invalid: 'Test_Create_a_rum_based_metric_returns_Conflict_response_1730203160' cannot be used as metric name, a metric already exists with that name)\"}]}", + "string": "{\"errors\":[{\"status\":\"409\",\"title\":\"Conflict\",\"detail\":\"conflict(Field 'data.id' is invalid: 'testcreatearumbasedmetricreturnsconflictresponse1732807878' cannot be used as metric name, a metric already exists with that name)\"}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "Conflict" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:20 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:18 GMT" }, { "request": { @@ -77,7 +77,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Create_a_rum_based_metric_returns_Conflict_response_1730203160" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnsconflictresponse1732807878" }, "response": { "body": { @@ -90,7 +90,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:20 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:18 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.frozen index 904b31816..ddbf7666e 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:21.453Z \ No newline at end of file +2024-11-28T15:31:19.388Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json index 32c458117..393111924 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:21 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:19 GMT" }, { "request": { @@ -56,7 +56,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:21 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:19 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.frozen index 6cfba31ac..dcea21296 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:22.291Z \ No newline at end of file +2024-11-28T15:31:20.155Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json index 1b0c084a5..3828a0144 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Delete_a_rum_based_metric_returns_No_Content_response-1730203162\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Delete_a_rum_based_metric_returns_No_Content_response-1730203162\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Delete_a_rum_based_metric_returns_No_Content_response-1732807880\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testdeletearumbasedmetricreturnsnocontentresponse1732807880\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Delete_a_rum_based_metric_returns_No_Content_response_1730203162\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Delete_a_rum_based_metric_returns_No_Content_response-1730203162\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testdeletearumbasedmetricreturnsnocontentresponse1732807880\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Delete_a_rum_based_metric_returns_No_Content_response-1732807880\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:22 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:20 GMT" }, { "request": { @@ -43,7 +43,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Delete_a_rum_based_metric_returns_No_Content_response_1730203162" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1732807880" }, "response": { "body": { @@ -56,7 +56,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:22 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:20 GMT" }, { "request": { @@ -67,11 +67,11 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Delete_a_rum_based_metric_returns_No_Content_response_1730203162" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1732807880" }, "response": { "body": { - "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'Test_Delete_a_rum_based_metric_returns_No_Content_response_1730203162' not found)\"}]}", + "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'testdeletearumbasedmetricreturnsnocontentresponse1732807880' not found)\"}]}", "encoding": null }, "headers": { @@ -84,7 +84,7 @@ "message": "Not Found" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:22 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:20 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.frozen index 2d4669c70..d1e929c7b 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:23.441Z \ No newline at end of file +2024-11-28T15:31:21.433Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json index 5e9c3c720..8c02ea27d 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json @@ -9,11 +9,11 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Delete_a_rum_based_metric_returns_Not_Found_response-1730203163" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Delete_a_rum_based_metric_returns_Not_Found_response-1732807881" }, "response": { "body": { - "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'Test-Delete_a_rum_based_metric_returns_Not_Found_response-1730203163' not found)\"}]}", + "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'Test-Delete_a_rum_based_metric_returns_Not_Found_response-1732807881' not found)\"}]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Not Found" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:23 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:21 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.frozen index bf0fe79db..cc0ea2fef 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:23.838Z \ No newline at end of file +2024-11-28T15:31:21.847Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json index c09248b1a..ef34b59ad 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json @@ -9,11 +9,11 @@ ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Get_a_rum_based_metric_returns_Not_Found_response-1730203163" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Get_a_rum_based_metric_returns_Not_Found_response-1732807881" }, "response": { "body": { - "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'Test-Get_a_rum_based_metric_returns_Not_Found_response-1730203163' not found)\"}]}", + "string": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"not_found(Metric with name 'Test-Get_a_rum_based_metric_returns_Not_Found_response-1732807881' not found)\"}]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Not Found" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:23 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:21 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.frozen index 166f9b69c..44989b330 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:24.146Z \ No newline at end of file +2024-11-28T15:31:22.200Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json index 39f4c29d0..a56bff91b 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1730203164\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Get_a_rum_based_metric_returns_OK_response-1730203164\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1732807882\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testgetarumbasedmetricreturnsokresponse1732807882\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Get_a_rum_based_metric_returns_OK_response_1730203164\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1730203164\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testgetarumbasedmetricreturnsokresponse1732807882\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1732807882\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:24 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:22 GMT" }, { "request": { @@ -43,11 +43,11 @@ ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Get_a_rum_based_metric_returns_OK_response_1730203164" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Get_a_rum_based_metric_returns_OK_response_1730203164\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1730203164\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testgetarumbasedmetricreturnsokresponse1732807882\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1732807882\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -60,7 +60,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:24 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:22 GMT" }, { "request": { @@ -71,7 +71,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Get_a_rum_based_metric_returns_OK_response_1730203164" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882" }, "response": { "body": { @@ -84,7 +84,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:24 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:22 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.frozen index b61a6a355..ae9abee58 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:25.250Z \ No newline at end of file +2024-11-28T15:31:23.558Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json index 94d5c90af..7d0d8984e 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:25 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:23 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.frozen index 311aa3beb..72e1a51e5 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:25.568Z \ No newline at end of file +2024-11-28T15:31:23.878Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json index ae714a749..43d716544 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Bad_Request_response-1730203165\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Update_a_rum_based_metric_returns_Bad_Request_response-1730203165\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Bad_Request_response-1732807883\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsbadrequestresponse1732807883\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Update_a_rum_based_metric_returns_Bad_Request_response_1730203165\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Bad_Request_response-1730203165\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testupdatearumbasedmetricreturnsbadrequestresponse1732807883\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Bad_Request_response-1732807883\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:25 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:23 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "patch", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_Bad_Request_response_1730203165" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:25 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:23 GMT" }, { "request": { @@ -77,7 +77,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_Bad_Request_response_1730203165" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883" }, "response": { "body": { @@ -90,7 +90,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:25 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:23 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.frozen index 85af2dc5c..cfe5fc951 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:27.027Z \ No newline at end of file +2024-11-28T15:31:25.162Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json index 3f0847dfc..4acefaffd 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Conflict_response-1730203167\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Update_a_rum_based_metric_returns_Conflict_response-1730203167\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Conflict_response-1732807885\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsconflictresponse1732807885\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Update_a_rum_based_metric_returns_Conflict_response_1730203167\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Conflict_response-1730203167\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testupdatearumbasedmetricreturnsconflictresponse1732807885\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Conflict_response-1732807885\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:27 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:25 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "patch", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_Conflict_response_1730203167" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Conflict" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:27 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:25 GMT" }, { "request": { @@ -77,7 +77,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_Conflict_response_1730203167" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885" }, "response": { "body": { @@ -90,7 +90,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:27 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:25 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.frozen index d0605146d..619b48a9e 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:28.193Z \ No newline at end of file +2024-11-28T15:31:26.276Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json index fc3c95d31..bed35c40b 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Not_Found_response-1730203168\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Update_a_rum_based_metric_returns_Not_Found_response-1730203168\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Not_Found_response-1732807886\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsnotfoundresponse1732807886\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Update_a_rum_based_metric_returns_Not_Found_response_1730203168\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Not_Found_response-1730203168\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testupdatearumbasedmetricreturnsnotfoundresponse1732807886\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Not_Found_response-1732807886\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:28 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:26 GMT" }, { "request": { @@ -66,7 +66,7 @@ "message": "Not Found" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:28 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:26 GMT" }, { "request": { @@ -77,7 +77,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_Not_Found_response_1730203168" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsnotfoundresponse1732807886" }, "response": { "body": { @@ -90,7 +90,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:28 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:26 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.frozen index 79f1ec749..60f066284 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.frozen @@ -1 +1 @@ -2024-10-29T11:59:29.233Z \ No newline at end of file +2024-11-28T15:31:27.438Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json index 001f8d5f1..af53b004d 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json @@ -3,7 +3,7 @@ { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_OK_response-1730203169\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"Test-Update_a_rum_based_metric_returns_OK_response-1730203169\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_OK_response-1732807887\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Update_a_rum_based_metric_returns_OK_response_1730203169\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_OK_response-1730203169\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_OK_response-1732807887\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -32,12 +32,12 @@ "message": "Created" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:29 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:27 GMT" }, { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":false},\"filter\":{\"query\":\"@service:rum-config\"},\"group_by\":[{\"path\":\"@browser.version\",\"tag_name\":\"browser_version\"}]},\"id\":\"Test_Update_a_rum_based_metric_returns_OK_response_1730203169\",\"type\":\"rum_metrics\"}}", + "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":false},\"filter\":{\"query\":\"@service:rum-config\"},\"group_by\":[{\"path\":\"@browser.version\",\"tag_name\":\"browser_version\"}]},\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\"}}", "encoding": null }, "headers": { @@ -49,11 +49,11 @@ ] }, "method": "patch", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_OK_response_1730203169" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"Test_Update_a_rum_based_metric_returns_OK_response_1730203169\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"@service:rum-config\"},\"group_by\":[{\"path\":\"@browser.version\",\"tag_name\":\"browser_version\"}],\"uniqueness\":{\"when\":\"match\"}}}}", + "string": "{\"data\":{\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\",\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"@service:rum-config\"},\"group_by\":[{\"path\":\"@browser.version\",\"tag_name\":\"browser_version\"}],\"uniqueness\":{\"when\":\"match\"}}}}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:29 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:27 GMT" }, { "request": { @@ -77,7 +77,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test_Update_a_rum_based_metric_returns_OK_response_1730203169" + "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887" }, "response": { "body": { @@ -90,7 +90,7 @@ "message": "No Content" } }, - "recorded_at": "Tue, 29 Oct 2024 11:59:29 GMT" + "recorded_at": "Thu, 28 Nov 2024 15:31:27 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/features/v2/given.json b/tests/scenarios/features/v2/given.json index 62f11ecc9..9fffec738 100644 --- a/tests/scenarios/features/v2/given.json +++ b/tests/scenarios/features/v2/given.json @@ -503,7 +503,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"id\": \"{{ unique }}\",\n \"type\": \"rum_metrics\",\n \"attributes\": {\n \"event_type\": \"session\",\n \"compute\": {\n \"aggregation_type\": \"distribution\",\n \"include_percentiles\": true,\n \"path\": \"@duration\"\n },\n \"filter\": {\n \"query\": \"source:{{ unique }}\"\n },\n \"group_by\": [{\n \"path\": \"@browser.name\",\n \"tag_name\": \"browser_name\"\n }],\n \"uniqueness\": {\n \"when\": \"match\"\n }\n }\n }\n}" + "value": "{\n \"data\": {\n \"id\": \"{{ unique_lower_alnum }}\",\n \"type\": \"rum_metrics\",\n \"attributes\": {\n \"event_type\": \"session\",\n \"compute\": {\n \"aggregation_type\": \"distribution\",\n \"include_percentiles\": true,\n \"path\": \"@duration\"\n },\n \"filter\": {\n \"query\": \"source:{{ unique }}\"\n },\n \"group_by\": [{\n \"path\": \"@browser.name\",\n \"tag_name\": \"browser_name\"\n }],\n \"uniqueness\": {\n \"when\": \"match\"\n }\n }\n }\n}" } ], "step": "there is a valid \"rum_metric\" in the system",