diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7b44538aeb..5b666039ab 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1559,7 +1559,7 @@ components: schema: type: string RumMetricIDParameter: - description: The name of the RUM-based metric. + description: The name of the rum-based metric. in: path name: metric_id required: true @@ -72866,7 +72866,7 @@ components: type: number type: object RumMetricCompute: - description: The compute rule to compute the RUM-based metric. + description: The compute rule to compute the rum-based metric. properties: aggregation_type: $ref: "#/components/schemas/RumMetricComputeAggregationType" @@ -72874,7 +72874,7 @@ components: $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" path: description: |- - The path to the value the RUM-based metric will aggregate on. + The path to the value the rum-based metric will aggregate on. Only present when `aggregation_type` is `distribution`. example: "@duration" type: string @@ -72894,7 +72894,7 @@ components: example: true type: boolean RumMetricCreateAttributes: - description: The object describing the Datadog RUM-based metric to create. + description: The object describing the Datadog rum-based metric to create. properties: compute: $ref: "#/components/schemas/RumMetricCompute" @@ -72914,7 +72914,7 @@ components: - compute type: object RumMetricCreateData: - description: The new RUM-based metric properties. + description: The new rum-based metric properties. properties: attributes: $ref: "#/components/schemas/RumMetricCreateAttributes" @@ -72928,7 +72928,7 @@ components: - attributes type: object RumMetricCreateRequest: - description: The new RUM-based metric body. + description: The new rum-based metric body. properties: data: $ref: "#/components/schemas/RumMetricCreateData" @@ -72942,7 +72942,7 @@ components: type: string x-enum-varnames: ["SESSION", "VIEW", "ACTION", "ERROR", "RESOURCE", "LONG_TASK", "VITAL"] RumMetricFilter: - description: The RUM-based metric filter. Events matching this filter will be aggregated in this metric. + description: The rum-based metric filter. Events matching this filter will be aggregated in this metric. properties: query: default: "*" @@ -72956,7 +72956,7 @@ components: description: A group by rule. properties: path: - description: The path to the value the RUM-based metric will be aggregated over. + description: The path to the value the rum-based metric will be aggregated over. example: "@browser.name" type: string tag_name: @@ -72967,17 +72967,17 @@ components: - path type: object RumMetricID: - description: The name of the RUM-based metric. + description: The name of the rum-based metric. example: "rum.sessions.webui.count" type: string RumMetricResponse: - description: The RUM-based metric object. + description: The rum-based metric object. properties: data: $ref: "#/components/schemas/RumMetricResponseData" type: object RumMetricResponseAttributes: - description: The object describing a Datadog RUM-based metric. + description: The object describing a Datadog rum-based metric. properties: compute: $ref: "#/components/schemas/RumMetricResponseCompute" @@ -72994,7 +72994,7 @@ components: $ref: "#/components/schemas/RumMetricResponseUniqueness" type: object RumMetricResponseCompute: - description: The compute rule to compute the RUM-based metric. + description: The compute rule to compute the rum-based metric. properties: aggregation_type: $ref: "#/components/schemas/RumMetricComputeAggregationType" @@ -73002,13 +73002,13 @@ components: $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" path: description: |- - The path to the value the RUM-based metric will aggregate on. + The path to the value the rum-based metric will aggregate on. Only present when `aggregation_type` is `distribution`. example: "@duration" type: string type: object RumMetricResponseData: - description: The RUM-based metric properties. + description: The rum-based metric properties. properties: attributes: $ref: "#/components/schemas/RumMetricResponseAttributes" @@ -73018,7 +73018,7 @@ components: $ref: "#/components/schemas/RumMetricType" type: object RumMetricResponseFilter: - description: The RUM-based metric filter. RUM events matching this filter will be aggregated in this metric. + description: The rum-based metric filter. RUM events matching this filter will be aggregated in this metric. properties: query: description: The search query - following the RUM search syntax. @@ -73029,7 +73029,7 @@ components: description: A group by rule. properties: path: - description: The path to the value the RUM-based metric will be aggregated over. + description: The path to the value the rum-based metric will be aggregated over. example: "@http.status_code" type: string tag_name: @@ -73066,7 +73066,7 @@ components: type: string x-enum-varnames: ["WHEN_MATCH", "WHEN_END"] RumMetricUpdateAttributes: - description: The RUM-based metric properties that will be updated. + description: The rum-based metric properties that will be updated. properties: compute: $ref: "#/components/schemas/RumMetricUpdateCompute" @@ -73079,13 +73079,13 @@ components: type: array type: object RumMetricUpdateCompute: - description: The compute rule to compute the RUM-based metric. + description: The compute rule to compute the rum-based metric. properties: include_percentiles: $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" type: object RumMetricUpdateData: - description: The new RUM-based metric properties. + description: The new rum-based metric properties. properties: attributes: $ref: "#/components/schemas/RumMetricUpdateAttributes" @@ -73098,7 +73098,7 @@ components: - attributes type: object RumMetricUpdateRequest: - description: The new RUM-based metric body. + description: The new rum-based metric body. properties: data: $ref: "#/components/schemas/RumMetricUpdateData" @@ -73106,10 +73106,10 @@ components: - data type: object RumMetricsResponse: - description: All the available RUM-based metric objects. + description: All the available rum-based metric objects. properties: data: - description: A list of RUM-based metric objects. + description: A list of rum-based metric objects. items: $ref: "#/components/schemas/RumMetricResponseData" type: array @@ -150822,7 +150822,7 @@ paths: - rum_apps_write /api/v2/rum/config/metrics: get: - description: Get the list of configured RUM-based metrics with their definitions. + description: Get the list of configured rum-based metrics with their definitions. operationId: ListRumMetrics responses: "200": @@ -150854,13 +150854,13 @@ paths: $ref: "#/components/responses/NotAuthorizedResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Get all RUM-based metrics + summary: Get all rum-based metrics tags: - Rum Metrics post: description: |- Create a metric based on your organization's RUM data. - Returns the RUM-based metric object from the request body when the request is successful. + Returns the rum-based metric object from the request body when the request is successful. operationId: CreateRumMetric requestBody: content: @@ -150886,7 +150886,7 @@ paths: type: rum_metrics schema: $ref: "#/components/schemas/RumMetricCreateRequest" - description: The definition of the new RUM-based metric. + description: The definition of the new rum-based metric. required: true responses: "201": @@ -150922,13 +150922,13 @@ paths: $ref: "#/components/responses/ConflictResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Create a RUM-based metric + summary: Create a rum-based metric tags: - Rum Metrics x-codegen-request-body-name: body /api/v2/rum/config/metrics/{metric_id}: delete: - description: Delete a specific RUM-based metric from your organization. + description: Delete a specific rum-based metric from your organization. operationId: DeleteRumMetric parameters: - $ref: "#/components/parameters/RumMetricIDParameter" @@ -150941,11 +150941,11 @@ paths: $ref: "#/components/responses/NotFoundResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Delete a RUM-based metric + summary: Delete a rum-based metric tags: - Rum Metrics get: - description: Get a specific RUM-based metric from your organization. + description: Get a specific rum-based metric from your organization. operationId: GetRumMetric parameters: - $ref: "#/components/parameters/RumMetricIDParameter" @@ -150981,13 +150981,13 @@ paths: $ref: "#/components/responses/NotFoundResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Get a RUM-based metric + summary: Get a rum-based metric tags: - Rum Metrics patch: description: |- - Update a specific RUM-based metric from your organization. - Returns the RUM-based metric object from the request body when the request is successful. + Update a specific rum-based metric from your organization. + Returns the rum-based metric object from the request body when the request is successful. operationId: UpdateRumMetric parameters: - $ref: "#/components/parameters/RumMetricIDParameter" @@ -151010,7 +151010,7 @@ paths: type: rum_metrics schema: $ref: "#/components/schemas/RumMetricUpdateRequest" - description: New definition of the RUM-based metric. + description: New definition of the rum-based metric. required: true responses: "200": @@ -151048,7 +151048,7 @@ paths: $ref: "#/components/responses/ConflictResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Update a RUM-based metric + summary: Update a rum-based metric tags: - Rum Metrics x-codegen-request-body-name: body @@ -151528,7 +151528,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: List RUM replay playlists + summary: List rum replay playlists tags: - Rum Replay Playlists post: @@ -151572,7 +151572,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Create RUM replay playlist + summary: Create rum replay playlist tags: - Rum Replay Playlists /api/v2/rum/replay/playlists/{playlist_id}: @@ -151596,7 +151596,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Delete RUM replay playlist + summary: Delete rum replay playlist tags: - Rum Replay Playlists get: @@ -151631,7 +151631,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Get RUM replay playlist + summary: Get rum replay playlist tags: - Rum Replay Playlists put: @@ -151683,7 +151683,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Update RUM replay playlist + summary: Update rum replay playlist tags: - Rum Replay Playlists /api/v2/rum/replay/playlists/{playlist_id}/sessions: @@ -151719,7 +151719,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Bulk remove RUM replay playlist sessions + summary: Bulk remove rum replay playlist sessions tags: - Rum Replay Playlists get: @@ -151766,7 +151766,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: List RUM replay playlist sessions + summary: List rum replay playlist sessions tags: - Rum Replay Playlists /api/v2/rum/replay/playlists/{playlist_id}/sessions/{session_id}: @@ -151797,7 +151797,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Remove RUM replay session from playlist + summary: Remove rum replay session from playlist tags: - Rum Replay Playlists put: @@ -151867,7 +151867,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Add RUM replay session to playlist + summary: Add rum replay session to playlist tags: - Rum Replay Playlists /api/v2/rum/replay/sessions/{session_id}/views/{view_id}/segments: @@ -151973,7 +151973,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: List RUM replay session watchers + summary: List rum replay session watchers tags: - Rum Replay Viewership /api/v2/rum/replay/sessions/{session_id}/watches: @@ -151997,7 +151997,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Delete RUM replay session watch + summary: Delete rum replay session watch tags: - Rum Replay Viewership post: @@ -152049,7 +152049,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Create RUM replay session watch + summary: Create rum replay session watch tags: - Rum Replay Viewership /api/v2/rum/replay/viewership-history/sessions: @@ -152122,7 +152122,7 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: List RUM replay viewership history sessions + summary: List rum replay viewership history sessions tags: - Rum Replay Viewership /api/v2/saml_configurations/idp_metadata: @@ -175754,7 +175754,7 @@ tags: - description: Auto-generated tag Rum Audience Management name: Rum Audience Management - description: |- - Manage configuration of [RUM-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. + Manage configuration of [rum-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. externalDocs: description: Find out more at url: https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics/ diff --git a/examples/v1/dashboards/CreateDashboard_2844071429.py b/examples/v1/dashboards/CreateDashboard_2932151909.py similarity index 97% rename from examples/v1/dashboards/CreateDashboard_2844071429.py rename to examples/v1/dashboards/CreateDashboard_2932151909.py index 96451bd8a2..48db8f8192 100644 --- a/examples/v1/dashboards/CreateDashboard_2844071429.py +++ b/examples/v1/dashboards/CreateDashboard_2932151909.py @@ -1,5 +1,5 @@ """ -Create a new dashboard with sankey widget and RUM data source +Create a new dashboard with sankey widget and rum data source """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/metrics/QueryScalarData_2086017331.py b/examples/v2/metrics/QueryScalarData_2312509843.py similarity index 97% rename from examples/v2/metrics/QueryScalarData_2086017331.py rename to examples/v2/metrics/QueryScalarData_2312509843.py index e1e3d4751b..c6447c559f 100644 --- a/examples/v2/metrics/QueryScalarData_2086017331.py +++ b/examples/v2/metrics/QueryScalarData_2312509843.py @@ -1,5 +1,5 @@ """ -Scalar cross product query with RUM data source returns "OK" response +Scalar cross product query with rum data source returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/metrics/QueryTimeseriesData_4190640887.py b/examples/v2/metrics/QueryTimeseriesData_123149143.py similarity index 97% rename from examples/v2/metrics/QueryTimeseriesData_4190640887.py rename to examples/v2/metrics/QueryTimeseriesData_123149143.py index 748c703c3c..c5f4fec484 100644 --- a/examples/v2/metrics/QueryTimeseriesData_4190640887.py +++ b/examples/v2/metrics/QueryTimeseriesData_123149143.py @@ -1,5 +1,5 @@ """ -Timeseries cross product query with RUM data source returns "OK" response +Timeseries cross product query with rum data source returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-metrics/CreateRumMetric.py b/examples/v2/rum-metrics/CreateRumMetric.py index 50acdbfe39..cf1183d7d5 100644 --- a/examples/v2/rum-metrics/CreateRumMetric.py +++ b/examples/v2/rum-metrics/CreateRumMetric.py @@ -1,5 +1,5 @@ """ -Create a RUM-based metric returns "Created" response +Create a rum-based metric returns "Created" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-metrics/DeleteRumMetric.py b/examples/v2/rum-metrics/DeleteRumMetric.py index a2f3a1d3ca..acd51d1c93 100644 --- a/examples/v2/rum-metrics/DeleteRumMetric.py +++ b/examples/v2/rum-metrics/DeleteRumMetric.py @@ -1,5 +1,5 @@ """ -Delete a RUM-based metric returns "No Content" response +Delete a rum-based metric returns "No Content" response """ from os import environ diff --git a/examples/v2/rum-metrics/GetRumMetric.py b/examples/v2/rum-metrics/GetRumMetric.py index 990a85ae3d..9542ac5e57 100644 --- a/examples/v2/rum-metrics/GetRumMetric.py +++ b/examples/v2/rum-metrics/GetRumMetric.py @@ -1,5 +1,5 @@ """ -Get a RUM-based metric returns "OK" response +Get a rum-based metric returns "OK" response """ from os import environ diff --git a/examples/v2/rum-metrics/ListRumMetrics.py b/examples/v2/rum-metrics/ListRumMetrics.py index d6521e98ab..a93b0c30ca 100644 --- a/examples/v2/rum-metrics/ListRumMetrics.py +++ b/examples/v2/rum-metrics/ListRumMetrics.py @@ -1,5 +1,5 @@ """ -Get all RUM-based metrics returns "OK" response +Get all rum-based metrics returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-metrics/UpdateRumMetric.py b/examples/v2/rum-metrics/UpdateRumMetric.py index 52cf39dcfa..99b27d4165 100644 --- a/examples/v2/rum-metrics/UpdateRumMetric.py +++ b/examples/v2/rum-metrics/UpdateRumMetric.py @@ -1,5 +1,5 @@ """ -Update a RUM-based metric returns "OK" response +Update a rum-based metric returns "OK" response """ from os import environ diff --git a/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.py b/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.py index d54c7910b0..6042a5de5e 100644 --- a/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.py +++ b/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.py @@ -1,5 +1,5 @@ """ -Add RUM replay session to playlist returns "OK" response +Add rum replay session to playlist returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.py b/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.py index d6e3c10523..8db5372ac9 100644 --- a/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.py +++ b/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.py @@ -1,5 +1,5 @@ """ -Bulk remove RUM replay playlist sessions returns "No Content" response +Bulk remove rum replay playlist sessions returns "No Content" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.py b/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.py index f37592eb9f..3a0dae6d4e 100644 --- a/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.py +++ b/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.py @@ -1,5 +1,5 @@ """ -Create RUM replay playlist returns "Created" response +Create rum replay playlist returns "Created" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.py b/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.py index fec1b64d01..b5491a9a8f 100644 --- a/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.py +++ b/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.py @@ -1,5 +1,5 @@ """ -Delete RUM replay playlist returns "No Content" response +Delete rum replay playlist returns "No Content" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.py b/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.py index ce57f4e5b3..af2bb044d3 100644 --- a/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.py +++ b/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.py @@ -1,5 +1,5 @@ """ -Get RUM replay playlist returns "OK" response +Get rum replay playlist returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.py b/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.py index 8ecbb7fded..ede5ab0f12 100644 --- a/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.py +++ b/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.py @@ -1,5 +1,5 @@ """ -List RUM replay playlist sessions returns "OK" response +List rum replay playlist sessions returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.py b/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.py index f56a21c433..e5f0745629 100644 --- a/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.py +++ b/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.py @@ -1,5 +1,5 @@ """ -List RUM replay playlists returns "OK" response +List rum replay playlists returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.py b/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.py index 99b88636ba..a9b8138c68 100644 --- a/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.py +++ b/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.py @@ -1,5 +1,5 @@ """ -Remove RUM replay session from playlist returns "No Content" response +Remove rum replay session from playlist returns "No Content" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.py b/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.py index 95b23bb9bd..023b3a15de 100644 --- a/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.py +++ b/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.py @@ -1,5 +1,5 @@ """ -Update RUM replay playlist returns "OK" response +Update rum replay playlist returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.py b/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.py index 44738a65cc..605849a46a 100644 --- a/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.py +++ b/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.py @@ -1,5 +1,5 @@ """ -Create RUM replay session watch returns "Created" response +Create rum replay session watch returns "Created" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.py b/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.py index 506d75123c..0b4932ade4 100644 --- a/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.py +++ b/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.py @@ -1,5 +1,5 @@ """ -Delete RUM replay session watch returns "No Content" response +Delete rum replay session watch returns "No Content" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.py b/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.py index 0d1d13dda8..05a2dfd199 100644 --- a/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.py +++ b/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.py @@ -1,5 +1,5 @@ """ -List RUM replay session watchers returns "OK" response +List rum replay session watchers returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.py b/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.py index ac21f7700f..c68f23931e 100644 --- a/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.py +++ b/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.py @@ -1,5 +1,5 @@ """ -List RUM replay viewership history sessions returns "OK" response +List rum replay viewership history sessions returns "OK" response """ from datadog_api_client import ApiClient, Configuration diff --git a/src/datadog_api_client/v2/api/rum_metrics_api.py b/src/datadog_api_client/v2/api/rum_metrics_api.py index c48801d8ba..e3f6c71c2a 100644 --- a/src/datadog_api_client/v2/api/rum_metrics_api.py +++ b/src/datadog_api_client/v2/api/rum_metrics_api.py @@ -15,7 +15,7 @@ class RumMetricsApi: """ - Manage configuration of `RUM-based metrics `_ for your organization. + Manage configuration of `rum-based metrics `_ for your organization. """ def __init__(self, api_client=None): @@ -135,12 +135,12 @@ def create_rum_metric( self, body: RumMetricCreateRequest, ) -> RumMetricResponse: - """Create a RUM-based metric. + """Create a rum-based metric. Create a metric based on your organization's RUM data. - Returns the RUM-based metric object from the request body when the request is successful. + Returns the rum-based metric object from the request body when the request is successful. - :param body: The definition of the new RUM-based metric. + :param body: The definition of the new rum-based metric. :type body: RumMetricCreateRequest :rtype: RumMetricResponse """ @@ -153,11 +153,11 @@ def delete_rum_metric( self, metric_id: str, ) -> None: - """Delete a RUM-based metric. + """Delete a rum-based metric. - Delete a specific RUM-based metric from your organization. + Delete a specific rum-based metric from your organization. - :param metric_id: The name of the RUM-based metric. + :param metric_id: The name of the rum-based metric. :type metric_id: str :rtype: None """ @@ -170,11 +170,11 @@ def get_rum_metric( self, metric_id: str, ) -> RumMetricResponse: - """Get a RUM-based metric. + """Get a rum-based metric. - Get a specific RUM-based metric from your organization. + Get a specific rum-based metric from your organization. - :param metric_id: The name of the RUM-based metric. + :param metric_id: The name of the rum-based metric. :type metric_id: str :rtype: RumMetricResponse """ @@ -186,9 +186,9 @@ def get_rum_metric( def list_rum_metrics( self, ) -> RumMetricsResponse: - """Get all RUM-based metrics. + """Get all rum-based metrics. - Get the list of configured RUM-based metrics with their definitions. + Get the list of configured rum-based metrics with their definitions. :rtype: RumMetricsResponse """ @@ -200,14 +200,14 @@ def update_rum_metric( metric_id: str, body: RumMetricUpdateRequest, ) -> RumMetricResponse: - """Update a RUM-based metric. + """Update a rum-based metric. - Update a specific RUM-based metric from your organization. - Returns the RUM-based metric object from the request body when the request is successful. + Update a specific rum-based metric from your organization. + Returns the rum-based metric object from the request body when the request is successful. - :param metric_id: The name of the RUM-based metric. + :param metric_id: The name of the rum-based metric. :type metric_id: str - :param body: New definition of the RUM-based metric. + :param body: New definition of the rum-based metric. :type body: RumMetricUpdateRequest :rtype: RumMetricResponse """ diff --git a/src/datadog_api_client/v2/api/rum_replay_playlists_api.py b/src/datadog_api_client/v2/api/rum_replay_playlists_api.py index f71f47e8eb..d59f164350 100644 --- a/src/datadog_api_client/v2/api/rum_replay_playlists_api.py +++ b/src/datadog_api_client/v2/api/rum_replay_playlists_api.py @@ -293,7 +293,7 @@ def add_rum_replay_session_to_playlist( *, data_source: Union[str, UnsetType] = unset, ) -> PlaylistsSession: - """Add RUM replay session to playlist. + """Add rum replay session to playlist. Add a session to a playlist. @@ -324,7 +324,7 @@ def bulk_remove_rum_replay_playlist_sessions( playlist_id: int, body: SessionIdArray, ) -> None: - """Bulk remove RUM replay playlist sessions. + """Bulk remove rum replay playlist sessions. Remove sessions from a playlist. @@ -344,7 +344,7 @@ def create_rum_replay_playlist( self, body: Playlist, ) -> Playlist: - """Create RUM replay playlist. + """Create rum replay playlist. Create a playlist. @@ -360,7 +360,7 @@ def delete_rum_replay_playlist( self, playlist_id: int, ) -> None: - """Delete RUM replay playlist. + """Delete rum replay playlist. Delete a playlist. @@ -377,7 +377,7 @@ def get_rum_replay_playlist( self, playlist_id: int, ) -> Playlist: - """Get RUM replay playlist. + """Get rum replay playlist. Get a playlist. @@ -398,7 +398,7 @@ def list_rum_replay_playlists( page_number: Union[int, UnsetType] = unset, page_size: Union[int, UnsetType] = unset, ) -> PlaylistArray: - """List RUM replay playlists. + """List rum replay playlists. List playlists. @@ -434,7 +434,7 @@ def list_rum_replay_playlist_sessions( page_number: Union[int, UnsetType] = unset, page_size: Union[int, UnsetType] = unset, ) -> PlaylistsSessionArray: - """List RUM replay playlist sessions. + """List rum replay playlist sessions. List sessions in a playlist. @@ -462,7 +462,7 @@ def remove_rum_replay_session_from_playlist( playlist_id: int, session_id: str, ) -> None: - """Remove RUM replay session from playlist. + """Remove rum replay session from playlist. Remove a session from a playlist. @@ -484,7 +484,7 @@ def update_rum_replay_playlist( playlist_id: int, body: Playlist, ) -> Playlist: - """Update RUM replay playlist. + """Update rum replay playlist. Update a playlist. diff --git a/src/datadog_api_client/v2/api/rum_replay_viewership_api.py b/src/datadog_api_client/v2/api/rum_replay_viewership_api.py index 6b2785fd90..4e5b71c494 100644 --- a/src/datadog_api_client/v2/api/rum_replay_viewership_api.py +++ b/src/datadog_api_client/v2/api/rum_replay_viewership_api.py @@ -165,7 +165,7 @@ def create_rum_replay_session_watch( session_id: str, body: Watch, ) -> Watch: - """Create RUM replay session watch. + """Create rum replay session watch. Record a session watch. @@ -185,7 +185,7 @@ def delete_rum_replay_session_watch( self, session_id: str, ) -> None: - """Delete RUM replay session watch. + """Delete rum replay session watch. Delete session watch history. @@ -205,7 +205,7 @@ def list_rum_replay_session_watchers( page_size: Union[int, UnsetType] = unset, page_number: Union[int, UnsetType] = unset, ) -> WatcherArray: - """List RUM replay session watchers. + """List rum replay session watchers. List session watchers. @@ -239,7 +239,7 @@ def list_rum_replay_viewership_history_sessions( page_size: Union[int, UnsetType] = unset, filter_application_id: Union[str, UnsetType] = unset, ) -> ViewershipHistorySessionArray: - """List RUM replay viewership history sessions. + """List rum replay viewership history sessions. List watched sessions. diff --git a/src/datadog_api_client/v2/model/rum_metric_compute.py b/src/datadog_api_client/v2/model/rum_metric_compute.py index 2acbcd374b..4476e612ea 100644 --- a/src/datadog_api_client/v2/model/rum_metric_compute.py +++ b/src/datadog_api_client/v2/model/rum_metric_compute.py @@ -42,7 +42,7 @@ def __init__( **kwargs, ): """ - The compute rule to compute the RUM-based metric. + The compute rule to compute the rum-based metric. :param aggregation_type: The type of aggregation to use. :type aggregation_type: RumMetricComputeAggregationType @@ -51,7 +51,7 @@ def __init__( Only present when ``aggregation_type`` is ``distribution``. :type include_percentiles: bool, optional - :param path: The path to the value the RUM-based metric will aggregate on. + :param path: The path to the value the rum-based metric will aggregate on. Only present when ``aggregation_type`` is ``distribution``. :type path: str, optional """ diff --git a/src/datadog_api_client/v2/model/rum_metric_create_attributes.py b/src/datadog_api_client/v2/model/rum_metric_create_attributes.py index 165dd21590..375ac457bf 100644 --- a/src/datadog_api_client/v2/model/rum_metric_create_attributes.py +++ b/src/datadog_api_client/v2/model/rum_metric_create_attributes.py @@ -56,15 +56,15 @@ def __init__( **kwargs, ): """ - The object describing the Datadog RUM-based metric to create. + The object describing the Datadog rum-based metric to create. - :param compute: The compute rule to compute the RUM-based metric. + :param compute: The compute rule to compute the rum-based metric. :type compute: RumMetricCompute :param event_type: The type of RUM events to filter on. :type event_type: RumMetricEventType - :param filter: The RUM-based metric filter. Events matching this filter will be aggregated in this metric. + :param filter: The rum-based metric filter. Events matching this filter will be aggregated in this metric. :type filter: RumMetricFilter, optional :param group_by: The rules for the group by. diff --git a/src/datadog_api_client/v2/model/rum_metric_create_data.py b/src/datadog_api_client/v2/model/rum_metric_create_data.py index 48799e97fb..5beb9b6a10 100644 --- a/src/datadog_api_client/v2/model/rum_metric_create_data.py +++ b/src/datadog_api_client/v2/model/rum_metric_create_data.py @@ -36,12 +36,12 @@ def openapi_types(_): def __init__(self_, attributes: RumMetricCreateAttributes, id: str, type: RumMetricType, **kwargs): """ - The new RUM-based metric properties. + The new rum-based metric properties. - :param attributes: The object describing the Datadog RUM-based metric to create. + :param attributes: The object describing the Datadog rum-based metric to create. :type attributes: RumMetricCreateAttributes - :param id: The name of the RUM-based metric. + :param id: The name of the rum-based metric. :type id: str :param type: The type of the resource. The value should always be rum_metrics. diff --git a/src/datadog_api_client/v2/model/rum_metric_create_request.py b/src/datadog_api_client/v2/model/rum_metric_create_request.py index 2530abef27..c06743c4ae 100644 --- a/src/datadog_api_client/v2/model/rum_metric_create_request.py +++ b/src/datadog_api_client/v2/model/rum_metric_create_request.py @@ -30,9 +30,9 @@ def openapi_types(_): def __init__(self_, data: RumMetricCreateData, **kwargs): """ - The new RUM-based metric body. + The new rum-based metric body. - :param data: The new RUM-based metric properties. + :param data: The new rum-based metric properties. :type data: RumMetricCreateData """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_metric_filter.py b/src/datadog_api_client/v2/model/rum_metric_filter.py index a67b4e4190..dcf3778675 100644 --- a/src/datadog_api_client/v2/model/rum_metric_filter.py +++ b/src/datadog_api_client/v2/model/rum_metric_filter.py @@ -23,7 +23,7 @@ def openapi_types(_): def __init__(self_, **kwargs): """ - The RUM-based metric filter. Events matching this filter will be aggregated in this metric. + The rum-based metric filter. Events matching this filter will be aggregated in this metric. :param query: The search query - following the RUM search syntax. :type query: str diff --git a/src/datadog_api_client/v2/model/rum_metric_group_by.py b/src/datadog_api_client/v2/model/rum_metric_group_by.py index c7d1b3a236..49a1f75835 100644 --- a/src/datadog_api_client/v2/model/rum_metric_group_by.py +++ b/src/datadog_api_client/v2/model/rum_metric_group_by.py @@ -30,7 +30,7 @@ def __init__(self_, path: str, tag_name: Union[str, UnsetType] = unset, **kwargs """ A group by rule. - :param path: The path to the value the RUM-based metric will be aggregated over. + :param path: The path to the value the rum-based metric will be aggregated over. :type path: str :param tag_name: Eventual name of the tag that gets created. By default, ``path`` is used as the tag name. diff --git a/src/datadog_api_client/v2/model/rum_metric_response.py b/src/datadog_api_client/v2/model/rum_metric_response.py index a24c1ecec8..c69a044beb 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response.py +++ b/src/datadog_api_client/v2/model/rum_metric_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[RumMetricResponseData, UnsetType] = unset, **kwargs): """ - The RUM-based metric object. + The rum-based metric object. - :param data: The RUM-based metric properties. + :param data: The rum-based metric properties. :type data: RumMetricResponseData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/rum_metric_response_attributes.py b/src/datadog_api_client/v2/model/rum_metric_response_attributes.py index f3c2e08987..83c06f5ec4 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response_attributes.py +++ b/src/datadog_api_client/v2/model/rum_metric_response_attributes.py @@ -56,15 +56,15 @@ def __init__( **kwargs, ): """ - The object describing a Datadog RUM-based metric. + The object describing a Datadog rum-based metric. - :param compute: The compute rule to compute the RUM-based metric. + :param compute: The compute rule to compute the rum-based metric. :type compute: RumMetricResponseCompute, optional :param event_type: The type of RUM events to filter on. :type event_type: RumMetricEventType, optional - :param filter: The RUM-based metric filter. RUM events matching this filter will be aggregated in this metric. + :param filter: The rum-based metric filter. RUM events matching this filter will be aggregated in this metric. :type filter: RumMetricResponseFilter, optional :param group_by: The rules for the group by. diff --git a/src/datadog_api_client/v2/model/rum_metric_response_compute.py b/src/datadog_api_client/v2/model/rum_metric_response_compute.py index 4dcca23518..da93452938 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response_compute.py +++ b/src/datadog_api_client/v2/model/rum_metric_response_compute.py @@ -42,7 +42,7 @@ def __init__( **kwargs, ): """ - The compute rule to compute the RUM-based metric. + The compute rule to compute the rum-based metric. :param aggregation_type: The type of aggregation to use. :type aggregation_type: RumMetricComputeAggregationType, optional @@ -51,7 +51,7 @@ def __init__( Only present when ``aggregation_type`` is ``distribution``. :type include_percentiles: bool, optional - :param path: The path to the value the RUM-based metric will aggregate on. + :param path: The path to the value the rum-based metric will aggregate on. Only present when ``aggregation_type`` is ``distribution``. :type path: str, optional """ diff --git a/src/datadog_api_client/v2/model/rum_metric_response_data.py b/src/datadog_api_client/v2/model/rum_metric_response_data.py index 5a565fe91c..a1f263b5ed 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response_data.py +++ b/src/datadog_api_client/v2/model/rum_metric_response_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ - The RUM-based metric properties. + The rum-based metric properties. - :param attributes: The object describing a Datadog RUM-based metric. + :param attributes: The object describing a Datadog rum-based metric. :type attributes: RumMetricResponseAttributes, optional - :param id: The name of the RUM-based metric. + :param id: The name of the rum-based metric. :type id: str, optional :param type: The type of the resource. The value should always be rum_metrics. diff --git a/src/datadog_api_client/v2/model/rum_metric_response_filter.py b/src/datadog_api_client/v2/model/rum_metric_response_filter.py index 1c1b9400b5..a1002772bd 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response_filter.py +++ b/src/datadog_api_client/v2/model/rum_metric_response_filter.py @@ -26,7 +26,7 @@ def openapi_types(_): def __init__(self_, query: Union[str, UnsetType] = unset, **kwargs): """ - The RUM-based metric filter. RUM events matching this filter will be aggregated in this metric. + The rum-based metric filter. RUM events matching this filter will be aggregated in this metric. :param query: The search query - following the RUM search syntax. :type query: str, optional diff --git a/src/datadog_api_client/v2/model/rum_metric_response_group_by.py b/src/datadog_api_client/v2/model/rum_metric_response_group_by.py index c70a74ac47..bc0679ccf6 100644 --- a/src/datadog_api_client/v2/model/rum_metric_response_group_by.py +++ b/src/datadog_api_client/v2/model/rum_metric_response_group_by.py @@ -30,7 +30,7 @@ def __init__(self_, path: Union[str, UnsetType] = unset, tag_name: Union[str, Un """ A group by rule. - :param path: The path to the value the RUM-based metric will be aggregated over. + :param path: The path to the value the rum-based metric will be aggregated over. :type path: str, optional :param tag_name: Eventual name of the tag that gets created. By default, ``path`` is used as the tag name. diff --git a/src/datadog_api_client/v2/model/rum_metric_update_attributes.py b/src/datadog_api_client/v2/model/rum_metric_update_attributes.py index 5e2dc1d90f..42e12c5e5f 100644 --- a/src/datadog_api_client/v2/model/rum_metric_update_attributes.py +++ b/src/datadog_api_client/v2/model/rum_metric_update_attributes.py @@ -46,12 +46,12 @@ def __init__( **kwargs, ): """ - The RUM-based metric properties that will be updated. + The rum-based metric properties that will be updated. - :param compute: The compute rule to compute the RUM-based metric. + :param compute: The compute rule to compute the rum-based metric. :type compute: RumMetricUpdateCompute, optional - :param filter: The RUM-based metric filter. Events matching this filter will be aggregated in this metric. + :param filter: The rum-based metric filter. Events matching this filter will be aggregated in this metric. :type filter: RumMetricFilter, optional :param group_by: The rules for the group by. diff --git a/src/datadog_api_client/v2/model/rum_metric_update_compute.py b/src/datadog_api_client/v2/model/rum_metric_update_compute.py index c6f5a23915..67a1112343 100644 --- a/src/datadog_api_client/v2/model/rum_metric_update_compute.py +++ b/src/datadog_api_client/v2/model/rum_metric_update_compute.py @@ -26,7 +26,7 @@ def openapi_types(_): def __init__(self_, include_percentiles: Union[bool, UnsetType] = unset, **kwargs): """ - The compute rule to compute the RUM-based metric. + The compute rule to compute the rum-based metric. :param include_percentiles: Toggle to include or exclude percentile aggregations for distribution metrics. Only present when ``aggregation_type`` is ``distribution``. diff --git a/src/datadog_api_client/v2/model/rum_metric_update_data.py b/src/datadog_api_client/v2/model/rum_metric_update_data.py index 5b677446ae..92da48cb92 100644 --- a/src/datadog_api_client/v2/model/rum_metric_update_data.py +++ b/src/datadog_api_client/v2/model/rum_metric_update_data.py @@ -40,12 +40,12 @@ def __init__( self_, attributes: RumMetricUpdateAttributes, type: RumMetricType, id: Union[str, UnsetType] = unset, **kwargs ): """ - The new RUM-based metric properties. + The new rum-based metric properties. - :param attributes: The RUM-based metric properties that will be updated. + :param attributes: The rum-based metric properties that will be updated. :type attributes: RumMetricUpdateAttributes - :param id: The name of the RUM-based metric. + :param id: The name of the rum-based metric. :type id: str, optional :param type: The type of the resource. The value should always be rum_metrics. diff --git a/src/datadog_api_client/v2/model/rum_metric_update_request.py b/src/datadog_api_client/v2/model/rum_metric_update_request.py index 9396a4c8d1..e1bdd6fbd9 100644 --- a/src/datadog_api_client/v2/model/rum_metric_update_request.py +++ b/src/datadog_api_client/v2/model/rum_metric_update_request.py @@ -30,9 +30,9 @@ def openapi_types(_): def __init__(self_, data: RumMetricUpdateData, **kwargs): """ - The new RUM-based metric body. + The new rum-based metric body. - :param data: The new RUM-based metric properties. + :param data: The new rum-based metric properties. :type data: RumMetricUpdateData """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_metrics_response.py b/src/datadog_api_client/v2/model/rum_metrics_response.py index 5c99102399..b79effc170 100644 --- a/src/datadog_api_client/v2/model/rum_metrics_response.py +++ b/src/datadog_api_client/v2/model/rum_metrics_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[List[RumMetricResponseData], UnsetType] = unset, **kwargs): """ - All the available RUM-based metric objects. + All the available rum-based metric objects. - :param data: A list of RUM-based metric objects. + :param data: A list of rum-based metric objects. :type data: [RumMetricResponseData], optional """ if data is not unset: diff --git a/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.frozen b/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.frozen index bee81a6b80..6f1ee04a8f 100644 --- a/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.frozen +++ b/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.frozen @@ -1 +1 @@ -2026-06-02T12:32:21.161Z \ No newline at end of file +2026-01-02T15:26:19.626Z \ No newline at end of file diff --git a/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.yaml b/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.yaml index 6e220d16d4..59b47d5f55 100644 --- a/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.yaml +++ b/tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_sankey_widget_and_rum_data_source.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_sankey_widget_and_RUM_data_source-1780403541","widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","mode":"source","query_string":"@type:view"},"request_type":"sankey"}],"title":"","title_align":"left","title_size":"16","type":"sankey"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}' + body: '{"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_sankey_widget_and_rum_data_source-1767367579","widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","mode":"source","query_string":"@type:view"},"request_type":"sankey"}],"title":"","title_align":"left","title_size":"16","type":"sankey"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}' headers: accept: - application/json @@ -10,8 +10,8 @@ interactions: uri: https://api.datadoghq.com/api/v1/dashboard response: body: - string: '{"id":"js9-hx8-hsy","title":"Test-Create_a_new_dashboard_with_sankey_widget_and_RUM_data_source-1780403541","description":"","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"free","url":"/dashboard/js9-hx8-hsy/test-createanewdashboardwithsankeywidgetandrumdatasource-1780403541","template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","mode":"source","query_string":"@type:view"},"request_type":"sankey"}],"title":"","title_align":"left","title_size":"16","type":"sankey"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":8566545221037666}],"notify_list":[],"created_at":"2026-06-02T12:32:21.497655+00:00","modified_at":"2026-06-02T12:32:21.497655+00:00","restricted_roles":[]}' + string: '{"id":"pgj-vt6-zeg","title":"Test-Create_a_new_dashboard_with_sankey_widget_and_rum_data_source-1767367579","description":"","author_handle":"sophie.cao@datadoghq.com","author_name":"Sophie + Cao","layout_type":"free","url":"/dashboard/pgj-vt6-zeg/test-createanewdashboardwithsankeywidgetandrumdatasource-1767367579","template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","mode":"source","query_string":"@type:view"},"request_type":"sankey"}],"title":"","title_align":"left","title_size":"16","type":"sankey"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":1607494419972582}],"notify_list":[],"created_at":"2026-01-02T15:26:19.817734+00:00","modified_at":"2026-01-02T15:26:19.817734+00:00","restricted_roles":[]}' headers: content-type: - application/json @@ -24,10 +24,10 @@ interactions: accept: - application/json method: DELETE - uri: https://api.datadoghq.com/api/v1/dashboard/js9-hx8-hsy + uri: https://api.datadoghq.com/api/v1/dashboard/pgj-vt6-zeg response: body: - string: '{"deleted_dashboard_id":"js9-hx8-hsy"}' + string: '{"deleted_dashboard_id":"pgj-vt6-zeg"}' headers: content-type: - application/json diff --git a/tests/v1/features/dashboards.feature b/tests/v1/features/dashboards.feature index 932dc22b0b..65c4c044ab 100644 --- a/tests/v1/features/dashboards.feature +++ b/tests/v1/features/dashboards.feature @@ -836,18 +836,6 @@ Feature: Dashboards And the response "widgets[0].definition.workflow_id" is equal to "2e055f16-8b6a-4cdd-b452-17a34c44b160" And the response "widgets[0].definition.inputs[0]" is equal to {"name": "environment", "value": "$env.value"} - @team:DataDog/dashboards-backend - Scenario: Create a new dashboard with sankey widget and RUM data source - Given new "CreateDashboard" request - And body from file "dashboards_json_payload/sankey_rum_widget.json" - When the request is sent - Then the response status is 200 OK - And the response "widgets[0].definition.type" is equal to "sankey" - And the response "widgets[0].definition.requests[0].query.data_source" is equal to "rum" - And the response "widgets[0].definition.requests[0].query.query_string" is equal to "@type:view" - And the response "widgets[0].definition.requests[0].query.mode" is equal to "source" - And the response "widgets[0].definition.requests[0].request_type" is equal to "sankey" - @team:DataDog/dashboards-backend Scenario: Create a new dashboard with sankey widget and network data source Given new "CreateDashboard" request @@ -873,6 +861,18 @@ Feature: Dashboards And the response "widgets[0].definition.requests[0].query.mode" is equal to "source" And the response "widgets[0].definition.requests[0].request_type" is equal to "sankey" + @team:DataDog/dashboards-backend + Scenario: Create a new dashboard with sankey widget and rum data source + Given new "CreateDashboard" request + And body from file "dashboards_json_payload/sankey_rum_widget.json" + When the request is sent + Then the response status is 200 OK + And the response "widgets[0].definition.type" is equal to "sankey" + And the response "widgets[0].definition.requests[0].query.data_source" is equal to "rum" + And the response "widgets[0].definition.requests[0].query.query_string" is equal to "@type:view" + And the response "widgets[0].definition.requests[0].query.mode" is equal to "source" + And the response "widgets[0].definition.requests[0].request_type" is equal to "sankey" + @team:DataDog/dashboards-backend Scenario: Create a new dashboard with scatterplot widget Given new "CreateDashboard" request diff --git a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_bad_request_response.frozen b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_bad_request_response.frozen index 8c183907e2..68ac266aa8 100644 --- a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_bad_request_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_bad_request_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:35.224Z \ No newline at end of file +2024-11-28T15:31:17.723Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.frozen b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.frozen index 468c54e97a..d20e2a92bc 100644 --- a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:35.746Z \ No newline at end of file +2024-11-28T15:31:18.166Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.yaml b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.yaml index 722b834c3e..a2315e9773 100644 --- a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_conflict_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403555"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testcreatearumbasedmetricreturnsconflictresponse1780403555","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testcreatearumbasedmetricreturnsconflictresponse1780403555","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-1780403555"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -18,7 +18,7 @@ interactions: code: 201 message: Created - request: - body: '{"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"testcreatearumbasedmetricreturnsconflictresponse1780403555","type":"rum_metrics"}}' + body: '{"data":{"attributes":{"compute":{"aggregation_type":"count"},"event_type":"action"},"id":"testcreatearumbasedmetricreturnsconflictresponse1732807878","type":"rum_metrics"}}' headers: accept: - application/json @@ -29,7 +29,7 @@ interactions: response: body: string: '{"errors":[{"status":"409","title":"Conflict","detail":"conflict(Field - ''data.id'' is invalid: ''testcreatearumbasedmetricreturnsconflictresponse1780403555'' + ''data.id'' is invalid: ''testcreatearumbasedmetricreturnsconflictresponse1732807878'' cannot be used as metric name, a metric already exists with that name)"}]}' headers: content-type: @@ -43,7 +43,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnsconflictresponse1780403555 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnsconflictresponse1732807878 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.frozen b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.frozen index 6ddf8a6276..7304d8219a 100644 --- a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:37.019Z \ No newline at end of file +2025-05-22T06:41:46.880Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.yaml b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.yaml index 9d62c0402d..3c201ccac7 100644 --- a/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_create_a_rumbased_metric_returns_created_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testcreatearumbasedmetricreturnscreatedresponse1780403557","type":"rum_metrics"}}' + body: '{"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testcreatearumbasedmetricreturnscreatedresponse1747896106","type":"rum_metrics"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testcreatearumbasedmetricreturnscreatedresponse1780403557","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}}}' + string: '{"data":{"id":"testcreatearumbasedmetricreturnscreatedresponse1747896106","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}}}' headers: content-type: - application/vnd.api+json @@ -23,7 +23,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnscreatedresponse1780403557 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnscreatedresponse1747896106 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.frozen b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.frozen index 0b000af184..dcea212965 100644 --- a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:38.038Z \ No newline at end of file +2024-11-28T15:31:20.155Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.yaml b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.yaml index 6aafd25f81..50111f66d3 100644 --- a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_no_content_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403558"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testdeletearumbasedmetricreturnsnocontentresponse1780403558","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testdeletearumbasedmetricreturnsnocontentresponse1780403558","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-1780403558"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -23,7 +23,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1780403558 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1732807880 response: body: string: '' @@ -37,11 +37,11 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1780403558 + 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 ''testdeletearumbasedmetricreturnsnocontentresponse1780403558'' + with name ''testdeletearumbasedmetricreturnsnocontentresponse1732807880'' not found)"}]}' headers: content-type: diff --git a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.frozen b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.frozen index 734c26d1e6..d1e929c7be 100644 --- a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:39.442Z \ No newline at end of file +2024-11-28T15:31:21.433Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.yaml b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.yaml index 9b3efe0fe5..be8795d56a 100644 --- a/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_delete_a_rumbased_metric_returns_not_found_response.yaml @@ -5,11 +5,11 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Delete_a_RUM_based_metric_returns_Not_Found_response-1780403559 + 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-1780403559'' + with name ''Test-Delete_a_rum_based_metric_returns_Not_Found_response-1732807881'' not found)"}]}' headers: content-type: diff --git a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.frozen b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.frozen index a572ad420c..cc0ea2feff 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:39.828Z \ No newline at end of file +2024-11-28T15:31:21.847Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.yaml b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.yaml index 68055001e2..d8ee94f0b5 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_not_found_response.yaml @@ -5,11 +5,11 @@ interactions: accept: - application/json method: GET - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Get_a_RUM_based_metric_returns_Not_Found_response-1780403559 + 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-1780403559'' + with name ''Test-Get_a_rum_based_metric_returns_Not_Found_response-1732807881'' not found)"}]}' headers: content-type: diff --git a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.frozen index fb526bf13d..44989b3301 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:40.188Z \ No newline at end of file +2024-11-28T15:31:22.200Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.yaml index a34377cb13..30b8d01cae 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_get_a_rumbased_metric_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403560"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testgetarumbasedmetricreturnsokresponse1780403560","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testgetarumbasedmetricreturnsokresponse1780403560","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-1780403560"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -23,10 +23,10 @@ interactions: accept: - application/json method: GET - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1780403560 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882 response: body: - string: '{"data":{"id":"testgetarumbasedmetricreturnsokresponse1780403560","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-1780403560"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -39,7 +39,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1780403560 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.frozen index d1e67e6228..ae9abee582 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:41.286Z \ No newline at end of file +2024-11-28T15:31:23.558Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.yaml index f336f10718..3785c83454 100644 --- a/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_get_all_rumbased_metrics_returns_ok_response.yaml @@ -8,7 +8,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":[{"id":"tf_TestAccRumMetricAttributes_local_1748953468","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"session","group_by":[],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1754429067","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":false,"path":"@duration"},"event_type":"action","group_by":[]}},{"id":"tf_TestAccRumMetricAttributes_local_1756383271","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","filter":{"query":"@service:web-ui"},"group_by":[]}},{"id":"examplegetarumbasedmetricreturnsokresponse1756438670","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1756438670"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptupdatearumbasedmetricreturnsnotfoundresponse1759230768","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Update_a_rum_based_metric_returns_Not_Found_response-1759230768"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptdeletearumbasedmetricreturnsnocontentresponse1760329500","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Delete_a_rum_based_metric_returns_No_Content_response-1760329500"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"exampleupdatearumbasedmetricreturnsokresponse1760974704","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"}}},{"id":"testjavaupdatearumbasedmetricreturnsbadrequestresponse1761017953","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Java-Update_a_rum_based_metric_returns_Bad_Request_response-1761017953"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testing_rum_metric_francesco","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"},{"path":"path_only","tag_name":"path_only"}]}},{"id":"tf_TestAccRumMetricAttributes_local_1762777350","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}},{"id":"exampleupdatearumbasedmetricreturnsokresponse1763393904","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"}}},{"id":"testtypescriptdeletearumbasedmetricreturnsnocontentresponse1763440561","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Delete_a_rum_based_metric_returns_No_Content_response-1763440561"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplecreatearumbasedmetricreturnscreatedresponse1763580024","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1764030439","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}},{"id":"testjavaupdatearumbasedmetricreturnsokresponse1764042240","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Java-Update_a_rum_based_metric_returns_OK_response-1764042240"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1764203828","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[{"path":"@os","tag_name":"os"},{"path":"@service","tag_name":"service"},{"path":"path_only","tag_name":"path_only"}]}},{"id":"testtypescriptgetarumbasedmetricreturnsokresponse1765192455","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Get_a_rum_based_metric_returns_OK_response-1765192455"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testgogetarumbasedmetricreturnsokresponse1765586988","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Go-Get_a_rum_based_metric_returns_OK_response-1765586988"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptgetarumbasedmetricreturnsokresponse1765774021","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Get_a_rum_based_metric_returns_OK_response-1765774021"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptupdatearumbasedmetricreturnsokresponse1765797324","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Update_a_rum_based_metric_returns_OK_response-1765797324"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrustdeletearumbasedmetricreturnsnocontentresponse1766121984","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Rust-Delete_a_rum_based_metric_returns_No_Content_response-1766121984"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1766146771","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}},{"id":"exampleupdatearumbasedmetricreturnsokresponse1767123504","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Update_a_rum_based_metric_returns_OK_response_1767123504"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrustupdatearumbasedmetricreturnsbadrequestresponse1768281919","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Rust-Update_a_rum_based_metric_returns_Bad_Request_response-1768281919"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testgocreatearumbasedmetricreturnscreatedresponse1768352135","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"exampledeletearumbasedmetricreturnsnocontentresponse1769312302","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Delete_a_rum_based_metric_returns_No_Content_response_1769312302"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptupdatearumbasedmetricreturnsokresponse1769512735","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Update_a_rum_based_metric_returns_OK_response-1769512735"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplegetarumbasedmetricreturnsokresponse1770305870","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1770305870"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplegetarumbasedmetricreturnsokresponse1770363470","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1770363470"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testjavacreatearumbasedmetricreturnscreatedresponse1770834693","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplegetarumbasedmetricreturnsokresponse1770853070","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1770853070"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testjavacreatearumbasedmetricreturnsconflictresponse1772165946","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Java-Create_a_rum_based_metric_returns_Conflict_response-1772165946"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrustupdatearumbasedmetricreturnsnotfoundresponse1772344054","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Rust-Update_a_rum_based_metric_returns_Not_Found_response-1772344054"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptcreatearumbasedmetricreturnsconflictresponse1773378034","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Create_a_rum_based_metric_returns_Conflict_response-1773378034"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplecreatearumbasedmetricreturnscreatedresponse1775676024","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrustupdatearumbasedmetricreturnsbadrequestresponse1776146576","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Rust-Update_a_rum_based_metric_returns_Bad_Request_response-1776146576"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplegetarumbasedmetricreturnsokresponse1777837070","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1777837070"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testtypescriptgetarumbasedmetricreturnsokresponse1778218442","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Typescript-Get_a_rum_based_metric_returns_OK_response-1778218442"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplecreatearumbasedmetricreturnscreatedresponse1778239224","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrubyupdatearumbasedmetricreturnsconflictresponse1778815556","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Ruby-Update_a_rum_based_metric_returns_Conflict_response-1778815556"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testjavadeletearumbasedmetricreturnsnocontentresponse1778993479","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Java-Delete_a_rum_based_metric_returns_No_Content_response-1778993479"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplegetarumbasedmetricreturnsokresponse1779176270","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Example-Get_a_rum_based_metric_returns_OK_response_1779176270"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"testrubycreatearumbasedmetricreturnsconflictresponse1779334157","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Ruby-Create_a_rum_based_metric_returns_Conflict_response-1779334157"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"examplecreatearumbasedmetricreturnscreatedresponse1779434424","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"@service:web-ui"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1779629264","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"action","group_by":[]}},{"id":"testrubyupdatearumbasedmetricreturnsokresponse1780025259","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"source:Test-Ruby-Update_a_rum_based_metric_returns_OK_response-1780025259"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}},{"id":"tf_TestAccRumMetricAttributes_local_1780063691","type":"rum_metrics","attributes":{"compute":{"aggregation_type":"count"},"event_type":"action","group_by":[]}},{"id":"testcreatearumbasedmetricreturnsconflictresponse1780393737","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-1780393737"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}}}]}' + string: '{"data":[]}' headers: content-type: - application/vnd.api+json diff --git a/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.frozen index df0f34970c..b045cd705c 100644 --- a/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:24.522Z \ No newline at end of file +2026-04-15T23:06:39.329Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.yaml index c320e5598d..4116eaf60f 100644 --- a/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_scalar_cross_product_query_with_rum_data_source_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"data":{"attributes":{"formulas":[{"formula":"a","limit":{"count":10,"order":"desc"}}],"from":1780399944000,"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"a","search":{"query":"*"}}],"to":1780403544000},"type":"scalar_request"}}' + body: '{"data":{"attributes":{"formulas":[{"formula":"a","limit":{"count":10,"order":"desc"}}],"from":1776290799000,"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"a","search":{"query":"*"}}],"to":1776294399000},"type":"scalar_request"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/query/scalar response: body: - string: '{"data":{"id":"0","type":"scalar_response","attributes":{"columns":[{"name":"a","values":[340.0],"type":"number","meta":{"unit":null}}]}}}' + string: '{"data":{"id":"0","type":"scalar_response","attributes":{"columns":[{"name":"a","values":[338.0],"type":"number","meta":{"unit":null}}]}}}' headers: content-type: - application/vnd.api+json diff --git a/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.frozen index 301417e834..8d9c1fd4b3 100644 --- a/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:31.838Z \ No newline at end of file +2026-04-15T23:06:43.715Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.yaml index cc9665b44a..37cac63fd5 100644 --- a/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_timeseries_cross_product_query_with_rum_data_source_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"data":{"attributes":{"formulas":[{"formula":"a","limit":{"count":10,"order":"desc"}}],"from":1780399951000,"interval":5000,"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"a","search":{"query":"*"}}],"to":1780403551000},"type":"timeseries_request"}}' + body: '{"data":{"attributes":{"formulas":[{"formula":"a","limit":{"count":10,"order":"desc"}}],"from":1776290803000,"interval":5000,"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","indexes":["*"],"name":"a","search":{"query":"*"}}],"to":1776294403000},"type":"timeseries_request"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/query/timeseries response: body: - string: '{"data":{"id":"0","type":"timeseries_response","attributes":{"series":[{"group_tags":[],"query_index":0,"unit":null}],"times":[1780399970000,1780400270000,1780400275000,1780400570000,1780400870000,1780401170000,1780401470000,1780401475000,1780401770000,1780402070000,1780402370000,1780402670000,1780402970000,1780403270000],"values":[[27,22,11,27,27,31,27,2,27,31,26,26,29,27]]}}} + string: '{"data":{"id":"0","type":"timeseries_response","attributes":{"series":[{"group_tags":[],"query_index":0,"unit":null}],"times":[1776290870000,1776291170000,1776291175000,1776291470000,1776291770000,1776292070000,1776292370000,1776292670000,1776292970000,1776293270000,1776293570000,1776293870000,1776294170000],"values":[[28,30,2,28,30,27,26,26,27,30,28,26,30]]}}} ' headers: diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.frozen b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.frozen index f936fad079..72e1a51e58 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:41.688Z \ No newline at end of file +2024-11-28T15:31:23.878Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.yaml b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.yaml index 3ec7eb47c7..a9d7e5d1e2 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_bad_request_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403561"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testupdatearumbasedmetricreturnsbadrequestresponse1780403561","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testupdatearumbasedmetricreturnsbadrequestresponse1780403561","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-1780403561"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -25,7 +25,7 @@ interactions: content-type: - application/json method: PATCH - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1780403561 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883 response: body: string: '{"errors":[{"status":"400","title":"Bad Request","detail":"got type @@ -42,7 +42,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1780403561 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.frozen b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.frozen index bfc7014f2b..cfe5fc951f 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:42.946Z \ No newline at end of file +2024-11-28T15:31:25.162Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.yaml b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.yaml index f74e736895..73d992460c 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_conflict_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403562"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testupdatearumbasedmetricreturnsconflictresponse1780403562","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testupdatearumbasedmetricreturnsconflictresponse1780403562","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-1780403562"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -25,7 +25,7 @@ interactions: content-type: - application/json method: PATCH - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1780403562 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885 response: body: string: '{"errors":[{"status":"409","title":"Conflict","detail":"ID provided @@ -42,7 +42,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1780403562 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.frozen b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.frozen index e256891d81..619b48a9eb 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:44.259Z \ No newline at end of file +2024-11-28T15:31:26.276Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.yaml b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.yaml index 611445acf7..9c93cd6431 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_not_found_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403564"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testupdatearumbasedmetricreturnsnotfoundresponse1780403564","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testupdatearumbasedmetricreturnsnotfoundresponse1780403564","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-1780403564"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -42,7 +42,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsnotfoundresponse1780403564 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsnotfoundresponse1732807886 response: body: string: '' diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.frozen index 405852dc64..60f066284b 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.frozen +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.frozen @@ -1 +1 @@ -2026-06-02T12:32:46.608Z \ No newline at end of file +2024-11-28T15:31:27.438Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.yaml index aad716067c..a6e2fe26d6 100644 --- a/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.yaml +++ b/tests/v2/cassettes/test_scenarios/test_update_a_rumbased_metric_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"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-1780403566"},"group_by":[{"path":"@browser.name","tag_name":"browser_name"}],"uniqueness":{"when":"match"}},"id":"testupdatearumbasedmetricreturnsokresponse1780403566","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json @@ -10,7 +10,7 @@ interactions: uri: https://api.datadoghq.com/api/v2/rum/config/metrics response: body: - string: '{"data":{"id":"testupdatearumbasedmetricreturnsokresponse1780403566","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-1780403566"},"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"}}}}' headers: content-type: - application/vnd.api+json @@ -18,17 +18,17 @@ interactions: code: 201 message: Created - request: - body: '{"data":{"attributes":{"compute":{"include_percentiles":false},"filter":{"query":"@service:rum-config"},"group_by":[{"path":"@browser.version","tag_name":"browser_version"}]},"id":"testupdatearumbasedmetricreturnsokresponse1780403566","type":"rum_metrics"}}' + body: '{"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"}}' headers: accept: - application/json content-type: - application/json method: PATCH - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1780403566 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887 response: body: - string: '{"data":{"id":"testupdatearumbasedmetricreturnsokresponse1780403566","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"}}}}' headers: content-type: - application/vnd.api+json @@ -41,7 +41,7 @@ interactions: accept: - '*/*' method: DELETE - uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1780403566 + uri: https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887 response: body: string: '' diff --git a/tests/v2/features/metrics.feature b/tests/v2/features/metrics.feature index 032b561fc6..114814e21e 100644 --- a/tests/v2/features/metrics.feature +++ b/tests/v2/features/metrics.feature @@ -344,15 +344,6 @@ Feature: Metrics And the response "data.type" is equal to "scalar_response" And the response "data.attributes.columns[0].name" is equal to "a" - @skip-validation @team:Datadog/timeseries-query - Scenario: Scalar cross product query with RUM data source returns "OK" response - Given a valid "appKeyAuth" key in the system - And new "QueryScalarData" request - And body with value {"data": {"attributes": {"formulas": [{"formula": "a", "limit": {"count": 10, "order": "desc"}}], "from": {{ timestamp('now - 1h') }}000, "queries": [{"data_source": "rum", "name": "a", "compute": {"aggregation": "count"}, "search": {"query": "*"}, "indexes": ["*"]}], "to": {{ timestamp('now') }}000}, "type": "scalar_request"}} - When the request is sent - Then the response status is 200 OK - And the response "data.type" is equal to "scalar_response" - @skip-validation @team:Datadog/timeseries-query Scenario: Scalar cross product query with apm_dependency_stats data source returns "OK" response Given a valid "appKeyAuth" key in the system @@ -488,6 +479,15 @@ Feature: Metrics Then the response status is 200 OK And the response "data.type" is equal to "scalar_response" + @skip-validation @team:Datadog/timeseries-query + Scenario: Scalar cross product query with rum data source returns "OK" response + Given a valid "appKeyAuth" key in the system + And new "QueryScalarData" request + And body with value {"data": {"attributes": {"formulas": [{"formula": "a", "limit": {"count": 10, "order": "desc"}}], "from": {{ timestamp('now - 1h') }}000, "queries": [{"data_source": "rum", "name": "a", "compute": {"aggregation": "count"}, "search": {"query": "*"}, "indexes": ["*"]}], "to": {{ timestamp('now') }}000}, "type": "scalar_request"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "scalar_response" + @skip-validation @team:Datadog/timeseries-query Scenario: Scalar cross product query with security_signals data source returns "OK" response Given a valid "appKeyAuth" key in the system @@ -586,15 +586,6 @@ Feature: Metrics Then the response status is 200 OK And the response "data.type" is equal to "timeseries_response" - @skip-validation @team:Datadog/timeseries-query - Scenario: Timeseries cross product query with RUM data source returns "OK" response - Given a valid "appKeyAuth" key in the system - And new "QueryTimeseriesData" request - And body with value {"data": {"attributes": {"formulas": [{"formula": "a", "limit": {"count": 10, "order": "desc"}}], "from": {{ timestamp('now - 1h') }}000, "interval": 5000, "queries": [{"data_source": "rum", "name": "a", "compute": {"aggregation": "count"}, "search": {"query": "*"}, "indexes": ["*"]}], "to": {{ timestamp('now') }}000}, "type": "timeseries_request"}} - When the request is sent - Then the response status is 200 OK - And the response "data.type" is equal to "timeseries_response" - @skip-validation @team:Datadog/timeseries-query Scenario: Timeseries cross product query with apm_dependency_stats data source returns "OK" response Given a valid "appKeyAuth" key in the system @@ -730,6 +721,15 @@ Feature: Metrics Then the response status is 200 OK And the response "data.type" is equal to "timeseries_response" + @skip-validation @team:Datadog/timeseries-query + Scenario: Timeseries cross product query with rum data source returns "OK" response + Given a valid "appKeyAuth" key in the system + And new "QueryTimeseriesData" request + And body with value {"data": {"attributes": {"formulas": [{"formula": "a", "limit": {"count": 10, "order": "desc"}}], "from": {{ timestamp('now - 1h') }}000, "interval": 5000, "queries": [{"data_source": "rum", "name": "a", "compute": {"aggregation": "count"}, "search": {"query": "*"}, "indexes": ["*"]}], "to": {{ timestamp('now') }}000}, "type": "timeseries_request"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "timeseries_response" + @skip-validation @team:Datadog/timeseries-query Scenario: Timeseries cross product query with security_signals data source returns "OK" response Given a valid "appKeyAuth" key in the system diff --git a/tests/v2/features/rum_metrics.feature b/tests/v2/features/rum_metrics.feature index c87b3187ba..59cff8c7c9 100644 --- a/tests/v2/features/rum_metrics.feature +++ b/tests/v2/features/rum_metrics.feature @@ -1,6 +1,6 @@ @endpoint(rum-metrics) @endpoint(rum-metrics-v2) Feature: Rum Metrics - Manage configuration of [RUM-based + Manage configuration of [rum-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. @@ -10,14 +10,14 @@ Feature: Rum Metrics And an instance of "RumMetrics" API @team:DataDog/rum-backend - Scenario: Create a RUM-based metric returns "Bad Request" response + Scenario: Create a rum-based metric returns "Bad Request" response Given new "CreateRumMetric" request And body with value {"data": {"id": "rum.actions.invalid", "type": "rum_metrics", "attributes": {"event_type": "action", "compute": {"aggregation_type": "count"}, "uniqueness":{"when": "match"}}}} When the request is sent Then the response status is 400 Bad Request @team:DataDog/rum-backend - Scenario: Create a RUM-based metric returns "Conflict" response + Scenario: Create a rum-based metric returns "Conflict" response Given there is a valid "rum_metric" in the system And new "CreateRumMetric" request And body with value {"data": {"id": "{{ rum_metric.data.id }}", "type": "rum_metrics", "attributes": {"compute": {"aggregation_type": "count"}, "event_type": "action"}}} @@ -25,7 +25,7 @@ Feature: Rum Metrics Then the response status is 409 Conflict @team:DataDog/rum-backend - Scenario: Create a RUM-based metric returns "Created" response + Scenario: Create a rum-based metric returns "Created" response Given new "CreateRumMetric" request And body with value {"data": {"attributes": {"compute": {"aggregation_type": "distribution", "include_percentiles": true, "path": "@duration"}, "event_type": "session", "filter": {"query": "@service:web-ui"}, "group_by": [{"path": "@browser.name", "tag_name": "browser_name"}], "uniqueness": {"when": "match"}}, "id": "{{ unique_lower_alnum }}", "type": "rum_metrics"}} When the request is sent @@ -42,7 +42,7 @@ Feature: Rum Metrics And the response "data.attributes.uniqueness.when" is equal to "match" @team:DataDog/rum-backend - Scenario: Delete a RUM-based metric returns "No Content" response + Scenario: Delete a rum-based metric returns "No Content" response Given there is a valid "rum_metric" in the system And new "DeleteRumMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" @@ -50,21 +50,21 @@ Feature: Rum Metrics Then the response status is 204 No Content @team:DataDog/rum-backend - Scenario: Delete a RUM-based metric returns "Not Found" response + Scenario: Delete a rum-based metric returns "Not Found" response Given new "DeleteRumMetric" request And request contains "metric_id" parameter with value "{{ unique }}" When the request is sent Then the response status is 404 Not Found @team:DataDog/rum-backend - Scenario: Get a RUM-based metric returns "Not Found" response + Scenario: Get a rum-based metric returns "Not Found" response Given new "GetRumMetric" request And request contains "metric_id" parameter with value "{{ unique }}" When the request is sent Then the response status is 404 Not Found @team:DataDog/rum-backend - Scenario: Get a RUM-based metric returns "OK" response + Scenario: Get a rum-based metric returns "OK" response Given there is a valid "rum_metric" in the system And new "GetRumMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" @@ -82,13 +82,13 @@ Feature: Rum Metrics And the response "data.attributes.uniqueness.when" has the same value as "rum_metric.data.attributes.uniqueness.when" @team:DataDog/rum-backend - Scenario: Get all RUM-based metrics returns "OK" response + Scenario: Get all rum-based metrics returns "OK" response Given new "ListRumMetrics" request When the request is sent Then the response status is 200 OK @team:DataDog/rum-backend - Scenario: Update a RUM-based metric returns "Bad Request" response + Scenario: Update a rum-based metric returns "Bad Request" response Given there is a valid "rum_metric" in the system And new "UpdateRumMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" @@ -97,7 +97,7 @@ Feature: Rum Metrics Then the response status is 400 Bad Request @team:DataDog/rum-backend - Scenario: Update a RUM-based metric returns "Conflict" response + Scenario: Update a rum-based metric returns "Conflict" response Given there is a valid "rum_metric" in the system And new "UpdateRumMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" @@ -106,7 +106,7 @@ Feature: Rum Metrics Then the response status is 409 Conflict @team:DataDog/rum-backend - Scenario: Update a RUM-based metric returns "Not Found" response + Scenario: Update a rum-based metric returns "Not Found" response Given there is a valid "rum_metric" in the system And new "UpdateRumMetric" request And request contains "metric_id" parameter with value "8fc991bf-967e-4652-8a5b-0711a985abe3" @@ -115,7 +115,7 @@ Feature: Rum Metrics Then the response status is 404 Not Found @team:DataDog/rum-backend - Scenario: Update a RUM-based metric returns "OK" response + Scenario: Update a rum-based metric returns "OK" response Given there is a valid "rum_metric" in the system And new "UpdateRumMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" diff --git a/tests/v2/features/rum_replay_playlists.feature b/tests/v2/features/rum_replay_playlists.feature index 2fd317e4df..5e5f41d54b 100644 --- a/tests/v2/features/rum_replay_playlists.feature +++ b/tests/v2/features/rum_replay_playlists.feature @@ -9,7 +9,7 @@ Feature: Rum Replay Playlists And an instance of "RumReplayPlaylists" API @generated @skip @team:DataDog/session-replay-backend - Scenario: Add RUM replay session to playlist returns "Created" response + Scenario: Add rum replay session to playlist returns "Created" response Given new "AddRumReplaySessionToPlaylist" request And request contains "ts" parameter from "REPLACE.ME" And request contains "playlist_id" parameter from "REPLACE.ME" @@ -18,7 +18,7 @@ Feature: Rum Replay Playlists Then the response status is 201 Created @generated @skip @team:DataDog/session-replay-backend - Scenario: Add RUM replay session to playlist returns "OK" response + Scenario: Add rum replay session to playlist returns "OK" response Given new "AddRumReplaySessionToPlaylist" request And request contains "ts" parameter from "REPLACE.ME" And request contains "playlist_id" parameter from "REPLACE.ME" @@ -27,7 +27,7 @@ Feature: Rum Replay Playlists Then the response status is 200 OK @generated @skip @team:DataDog/session-replay-backend - Scenario: Bulk remove RUM replay playlist sessions returns "No Content" response + Scenario: Bulk remove rum replay playlist sessions returns "No Content" response Given new "BulkRemoveRumReplayPlaylistSessions" request And request contains "playlist_id" parameter from "REPLACE.ME" And body with value {"data": [{"id": "00000000-0000-0000-0000-000000000001", "type": "rum_replay_session"}]} @@ -35,41 +35,41 @@ Feature: Rum Replay Playlists Then the response status is 204 No Content @generated @skip @team:DataDog/session-replay-backend - Scenario: Create RUM replay playlist returns "Created" response + Scenario: Create rum replay playlist returns "Created" response Given new "CreateRumReplayPlaylist" request And body with value {"data": {"attributes": {"created_by": {"handle": "john.doe@example.com", "id": "00000000-0000-0000-0000-000000000001", "uuid": "00000000-0000-0000-0000-000000000001"}, "name": "My Playlist"}, "type": "rum_replay_playlist"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/session-replay-backend - Scenario: Delete RUM replay playlist returns "No Content" response + Scenario: Delete rum replay playlist returns "No Content" response Given new "DeleteRumReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/session-replay-backend - Scenario: Get RUM replay playlist returns "OK" response + Scenario: Get rum replay playlist returns "OK" response Given new "GetRumReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/session-replay-backend - Scenario: List RUM replay playlist sessions returns "OK" response + Scenario: List rum replay playlist sessions returns "OK" response Given new "ListRumReplayPlaylistSessions" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/session-replay-backend - Scenario: List RUM replay playlists returns "OK" response + Scenario: List rum replay playlists returns "OK" response Given new "ListRumReplayPlaylists" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/session-replay-backend - Scenario: Remove RUM replay session from playlist returns "No Content" response + Scenario: Remove rum replay session from playlist returns "No Content" response Given new "RemoveRumReplaySessionFromPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" And request contains "session_id" parameter from "REPLACE.ME" @@ -77,7 +77,7 @@ Feature: Rum Replay Playlists Then the response status is 204 No Content @generated @skip @team:DataDog/session-replay-backend - Scenario: Update RUM replay playlist returns "OK" response + Scenario: Update rum replay playlist returns "OK" response Given new "UpdateRumReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"created_by": {"handle": "john.doe@example.com", "id": "00000000-0000-0000-0000-000000000001", "uuid": "00000000-0000-0000-0000-000000000001"}, "name": "My Playlist"}, "type": "rum_replay_playlist"}} diff --git a/tests/v2/features/rum_replay_viewership.feature b/tests/v2/features/rum_replay_viewership.feature index e339e1e5e4..216c419e11 100644 --- a/tests/v2/features/rum_replay_viewership.feature +++ b/tests/v2/features/rum_replay_viewership.feature @@ -9,7 +9,7 @@ Feature: Rum Replay Viewership And an instance of "RumReplayViewership" API @generated @skip @team:DataDog/session-replay-backend - Scenario: Create RUM replay session watch returns "Created" response + Scenario: Create rum replay session watch returns "Created" response Given new "CreateRumReplaySessionWatch" request And request contains "session_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"application_id": "aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb", "event_id": "11111111-2222-3333-4444-555555555555", "timestamp": "2026-01-13T17:15:53.208340Z"}, "type": "rum_replay_watch"}} @@ -17,21 +17,21 @@ Feature: Rum Replay Viewership Then the response status is 201 Created @generated @skip @team:DataDog/session-replay-backend - Scenario: Delete RUM replay session watch returns "No Content" response + Scenario: Delete rum replay session watch returns "No Content" response Given new "DeleteRumReplaySessionWatch" request And request contains "session_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/session-replay-backend - Scenario: List RUM replay session watchers returns "OK" response + Scenario: List rum replay session watchers returns "OK" response Given new "ListRumReplaySessionWatchers" request And request contains "session_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/session-replay-backend - Scenario: List RUM replay viewership history sessions returns "OK" response + Scenario: List rum replay viewership history sessions returns "OK" response Given new "ListRumReplayViewershipHistorySessions" request When the request is sent Then the response status is 200 OK