diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b38ef6ff13f8..124ae278d8ae 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -4781,111 +4781,6 @@ components: required: - agentTrigger type: object - AggregatedHighFrozenFrameRate: - description: Aggregated high frozen frame rate detection at view level. - properties: - avg_frozen_frame_rate: - description: Average frozen frame rate as a fraction of total frames. - example: 0.15 - format: double - type: number - avg_segment_duration: - description: Average segment duration in nanoseconds. - example: 3000000000 - format: int64 - type: integer - avg_total_frozen_duration: - description: Average total frozen duration in nanoseconds. - example: 500000000 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$mno345 - type: string - impact_score: - description: Impact score for this detection. - example: 14.0 - format: double - type: number - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 5 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - view_occurrences - - avg_frozen_frame_rate - - avg_total_frozen_duration - - avg_segment_duration - - impact_score - type: object - AggregatedHighScriptEval: - description: Aggregated high script evaluation detection grouped by source. - properties: - avg_duration: - description: Average script evaluation duration in nanoseconds. - example: 300000000 - format: int64 - type: integer - avg_forced_style_layout: - description: Average forced style/layout duration in nanoseconds. - example: 0 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$7766a8c2180aa153f5526ba8868999f8 - type: string - impact_score: - description: Impact score combining view frequency and duration severity. - example: 30.0 - format: double - type: number - instance_count: - description: Total number of detection instances across sampled views. - example: 3 - format: int32 - maximum: 2147483647 - type: integer - invoker_type: - description: Type of invoker that triggered the script evaluation. - example: user-callback - type: string - source_category: - description: Category of the script source. - example: third-party - nullable: true - type: string - source_function_name: - description: Name of the function that triggered the high script evaluation. - example: handleClick - type: string - source_url: - description: URL of the script that triggered the high script evaluation. - example: https://cdn.example.com/app.js - nullable: true - type: string - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 3 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - source_url - - source_function_name - - source_category - - invoker_type - - view_occurrences - - instance_count - - avg_duration - - avg_forced_style_layout - - impact_score - type: object AggregatedLongTasksByInvokerType: description: Aggregated long task statistics for a single invoker type. properties: @@ -5085,71 +4980,6 @@ components: - type - attributes type: object - AggregatedLowCacheHitRate: - description: Aggregated low cache hit rate detection at view level. - properties: - avg_cache_hit_rate: - description: Average cache hit rate across affected views. - example: 0.15 - format: double - type: number - avg_resource_download_size_bytes: - description: Average total download size of uncached resources in bytes. - example: 1048576 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$abc123 - type: string - impact_score: - description: Impact score for this detection. - example: 20.0 - format: double - type: number - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 5 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - view_occurrences - - avg_cache_hit_rate - - avg_resource_download_size_bytes - - impact_score - type: object - AggregatedMobileScrollFriction: - description: Aggregated mobile scroll friction detection at view level. - properties: - avg_scroll_frozen_frame_count: - description: Average number of frozen frames during scroll interactions. - example: 3 - format: int32 - maximum: 2147483647 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$ghi789 - type: string - impact_score: - description: Impact score for this detection. - example: 12.0 - format: double - type: number - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 6 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - view_occurrences - - avg_scroll_frozen_frame_count - - impact_score - type: object AggregatedResource: description: Aggregated performance statistics for a single network resource across sampled view instances. properties: @@ -5348,310 +5178,6 @@ components: - avg_first_byte_ms - avg_download_ms type: object - AggregatedSignalsProblemsRequest: - description: Request body for the aggregated signals and problems endpoint. - properties: - data: - $ref: "#/components/schemas/AggregatedSignalsProblemsRequestData" - required: - - data - type: object - AggregatedSignalsProblemsRequestAttributes: - description: Attributes for an aggregated signals and problems query. - properties: - application_id: - description: The RUM application ID to analyze. - example: ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b - type: string - criteria: - $ref: "#/components/schemas/AggregatedWaterfallPerformanceCriteria" - detection_types: - description: List of detection types to include in the response. When omitted, all types are returned. - example: - - high_script_evaluations - - uncompressed_resources - items: - type: string - type: array - filter: - description: RUM query string to filter events (for example, @session.type:user @geo.country:US). - example: "@session.type:user" - type: string - from: - description: Start of the time range as a Unix timestamp in seconds. - example: 1762437564 - format: int64 - type: integer - sample_size: - description: Number of view instances to sample, between 1 and 50. - example: 30 - format: int32 - maximum: 50 - minimum: 1 - type: integer - to: - description: End of the time range as a Unix timestamp in seconds. - example: 1762523964 - format: int64 - type: integer - view_name: - description: The RUM view name to analyze (for example, /account/login). - example: /account/login(/:type) - type: string - required: - - application_id - - view_name - - from - - to - - sample_size - type: object - AggregatedSignalsProblemsRequestData: - description: Data envelope for an aggregated signals and problems request. - properties: - attributes: - $ref: "#/components/schemas/AggregatedSignalsProblemsRequestAttributes" - type: - $ref: "#/components/schemas/AggregatedSignalsProblemsRequestType" - required: - - type - - attributes - type: object - AggregatedSignalsProblemsRequestType: - description: The JSON:API type for aggregated signals and problems requests. - enum: - - aggregated_signals_problems - example: aggregated_signals_problems - type: string - x-enum-varnames: - - AGGREGATED_SIGNALS_PROBLEMS - AggregatedSignalsProblemsResponse: - description: Response body for the aggregated signals and problems endpoint. - properties: - data: - $ref: "#/components/schemas/AggregatedSignalsProblemsResponseData" - required: - - data - type: object - AggregatedSignalsProblemsResponseAttributes: - description: Attributes of an aggregated signals and problems response. - properties: - application_id: - description: The RUM application ID that was analyzed. - example: ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b - type: string - criteria: - $ref: "#/components/schemas/AggregatedWaterfallPerformanceCriteria" - from: - description: Start of the analyzed time range as a Unix timestamp in seconds. - example: 1710000000 - format: int64 - type: integer - problem_detections: - $ref: "#/components/schemas/SignalsProblemsDetections" - sample_metadata: - $ref: "#/components/schemas/SignalsProblemsSampleMetadata" - to: - description: End of the analyzed time range as a Unix timestamp in seconds. - example: 1710003600 - format: int64 - type: integer - view_name: - description: The RUM view name that was analyzed. - example: /checkout - type: string - required: - - view_name - - application_id - - from - - to - - sample_metadata - - problem_detections - type: object - AggregatedSignalsProblemsResponseData: - description: Data envelope for an aggregated signals and problems response. - properties: - attributes: - $ref: "#/components/schemas/AggregatedSignalsProblemsResponseAttributes" - id: - description: Hash-based unique identifier for this aggregation. - example: 2f0b3455 - type: string - type: - $ref: "#/components/schemas/AggregatedSignalsProblemsRequestType" - required: - - id - - type - - attributes - type: object - AggregatedSlowFCPHighBytes: - description: Aggregated slow first contentful paint with high byte count detection. - properties: - avg_bytes_before_fcp_bytes: - description: Average total bytes loaded before first contentful paint. - example: 2097152 - format: int64 - type: integer - avg_first_contentful_paint_ms: - description: Average first contentful paint time in milliseconds. - example: 3500 - format: int64 - type: integer - avg_resource_count_before_fcp: - description: Average number of resources loaded before first contentful paint. - example: 25 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$def456 - type: string - impact_score: - description: Impact score for this detection. - example: 18.0 - format: double - type: number - platform: - description: Platform identifier for the affected views. - example: browser - type: string - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 4 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - view_occurrences - - avg_first_contentful_paint_ms - - avg_bytes_before_fcp_bytes - - avg_resource_count_before_fcp - - platform - - impact_score - type: object - AggregatedSlowInteractionLongTask: - description: Aggregated slow interaction with long task detection grouped by action and selector. - properties: - action_type: - description: Type of user interaction that triggered the slow response. - example: click - type: string - avg_blocking_duration: - description: Average long task blocking duration in nanoseconds. - example: 250000000 - format: int64 - type: integer - avg_duration: - description: Average total interaction duration in nanoseconds. - example: 320000000 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$jkl012 - type: string - impact_score: - description: Impact score combining view frequency and blocking severity. - example: 22.0 - format: double - type: number - instance_count: - description: Total number of detection instances across sampled views. - example: 9 - format: int32 - maximum: 2147483647 - type: integer - selector: - description: CSS selector of the element that was interacted with. - example: "#submit-button" - nullable: true - type: string - selector_normalized: - description: Normalized CSS selector with dynamic parts replaced. - example: button[data-action] - nullable: true - type: string - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 7 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - action_type - - selector - - selector_normalized - - view_occurrences - - instance_count - - avg_blocking_duration - - avg_duration - - impact_score - type: object - AggregatedUncompressedResource: - description: Aggregated uncompressed resource detection grouped by URL path. - properties: - avg_body_size: - description: Average uncompressed body size in bytes. - example: 524288 - format: int64 - type: integer - avg_duration: - description: Average resource loading duration in nanoseconds. - example: 0 - format: int64 - type: integer - fingerprint: - description: Unique fingerprint identifying this detection group. - example: v1$65e268e25cab3a1f6230405ccf011a68 - type: string - impact_score: - description: Impact score combining view frequency and resource size. - example: 16.67 - format: double - type: number - instance_count: - description: Total number of detection instances across sampled views. - example: 1 - format: int32 - maximum: 2147483647 - type: integer - provider_type: - description: CDN or hosting provider type for the resource. - example: cloudfront - nullable: true - type: string - render_blocking: - description: Whether the resource is render-blocking. - example: blocking - nullable: true - type: string - resource_type: - description: Type of the resource (JS, CSS, image, fetch, and so on). - example: image - type: string - url_path_group: - description: Normalized URL path pattern for the uncompressed resource. - example: /cdn/hero.jpg - type: string - view_occurrences: - description: Number of sampled views where this detection occurred. - example: 1 - format: int32 - maximum: 2147483647 - type: integer - required: - - fingerprint - - url_path_group - - resource_type - - render_blocking - - provider_type - - view_occurrences - - instance_count - - avg_body_size - - avg_duration - - impact_score - type: object AggregatedWaterfallPerformanceCriteria: description: Performance criteria to filter view instances by a metric threshold. properties: @@ -111819,85 +111345,6 @@ components: display_name: Test User principal_id: user@example.com type: object - SignalsProblemsDetections: - description: Grouped detection results by detection type. - properties: - high_frozen_frame_rates: - description: Detected high frozen frame rate issues. - items: - $ref: "#/components/schemas/AggregatedHighFrozenFrameRate" - type: array - high_script_evaluations: - description: Detected high script evaluation issues. - items: - $ref: "#/components/schemas/AggregatedHighScriptEval" - type: array - low_cache_hit_rates: - description: Detected low cache hit rate issues. - items: - $ref: "#/components/schemas/AggregatedLowCacheHitRate" - type: array - mobile_scroll_frictions: - description: Detected mobile scroll friction issues. - items: - $ref: "#/components/schemas/AggregatedMobileScrollFriction" - type: array - slow_fcp_high_bytes: - description: Detected slow first contentful paint with high byte count issues. - items: - $ref: "#/components/schemas/AggregatedSlowFCPHighBytes" - type: array - slow_interaction_long_tasks: - description: Detected slow interaction with long task issues. - items: - $ref: "#/components/schemas/AggregatedSlowInteractionLongTask" - type: array - uncompressed_resources: - description: Detected uncompressed resource issues. - items: - $ref: "#/components/schemas/AggregatedUncompressedResource" - type: array - type: object - SignalsProblemsSampleMetadata: - description: Metadata about the sampling quality for a signals and problems query. - properties: - failed: - description: Number of view instances that failed to process. - example: 2 - format: int32 - maximum: 2147483647 - type: integer - requested: - description: Number of view instances requested for sampling. - example: 30 - format: int32 - maximum: 2147483647 - type: integer - sampled_view_ids: - description: List of RUM view IDs that were sampled. - example: - - 6fbf69b6-9455-436a-b894-a6bf64126d40 - items: - type: string - type: array - succeeded: - description: Number of view instances successfully processed. - example: 28 - format: int32 - maximum: 2147483647 - type: integer - success_rate: - description: Ratio of successfully processed views to requested views. - example: 0.93 - format: double - type: number - required: - - requested - - succeeded - - failed - - success_rate - - sampled_view_ids - type: object SimpleMonitorUserTemplate: description: A simplified version of a monitor user template. properties: @@ -202745,88 +202192,6 @@ paths: x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). - /api/v2/rum/query/insight/aggregated_signals_problems: - post: - description: |- - Get aggregated performance signals and problem detections for a RUM view, sampled across multiple view instances. - operationId: QueryAggregatedSignalsProblems - requestBody: - content: - application/json: - examples: - default: - value: - data: - attributes: - application_id: ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b - from: 1762437564 - sample_size: 30 - to: 1762523964 - view_name: /account/login(/:type) - type: aggregated_signals_problems - schema: - $ref: "#/components/schemas/AggregatedSignalsProblemsRequest" - required: true - responses: - "201": - content: - application/json: - examples: - default: - value: - data: - attributes: - application_id: ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b - from: 1710000000 - problem_detections: - high_script_evaluations: - - avg_duration: 300000000 - avg_forced_style_layout: 0 - fingerprint: v1$7766a8c2180aa153f5526ba8868999f8 - impact_score: 30.0 - instance_count: 3 - invoker_type: user-callback - source_category: - source_function_name: handleClick - source_url: https://cdn.example.com/app.js - view_occurrences: 3 - sample_metadata: - failed: 2 - requested: 30 - sampled_view_ids: - - 6fbf69b6-9455-436a-b894-a6bf64126d40 - succeeded: 28 - success_rate: 0.93 - to: 1710003600 - view_name: /checkout - id: 2f0b3455 - type: aggregated_signals_problems - schema: - $ref: "#/components/schemas/AggregatedSignalsProblemsResponse" - description: Successful response - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad Request - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Unauthorized - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - summary: Query aggregated signals and problems - tags: ["RUM Insights"] - x-permission: - operator: OR - permissions: - - rum_apps_read - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/rum/query/insight/aggregated_waterfall: post: description: |- diff --git a/examples/v2/rum-insights/QueryAggregatedSignalsProblems.ts b/examples/v2/rum-insights/QueryAggregatedSignalsProblems.ts deleted file mode 100644 index 383715feb7ce..000000000000 --- a/examples/v2/rum-insights/QueryAggregatedSignalsProblems.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Query aggregated signals and problems returns "Successful response" response - */ - -import { client, v2 } from "@datadog/datadog-api-client"; - -const configuration = client.createConfiguration({ - authMethods: { - AuthZ: { - accessToken: process.env.DD_BEARER_TOKEN as string, - }, - }, -}); -configuration.unstableOperations["v2.queryAggregatedSignalsProblems"] = true; -const apiInstance = new v2.RUMInsightsApi(configuration); - -const params: v2.RUMInsightsApiQueryAggregatedSignalsProblemsRequest = { - body: { - data: { - attributes: { - applicationId: "ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b", - criteria: { - max: 5.0, - metric: "largest_contentful_paint", - min: 2.5, - }, - detectionTypes: ["high_script_evaluations", "uncompressed_resources"], - filter: "@session.type:user", - from: 1762437564, - sampleSize: 30, - to: 1762523964, - viewName: "/account/login(/:type)", - }, - type: "aggregated_signals_problems", - }, - }, -}; - -apiInstance - .queryAggregatedSignalsProblems(params) - .then((data: v2.AggregatedSignalsProblemsResponse) => { - console.log( - "API called successfully. Returned data: " + JSON.stringify(data) - ); - }) - .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index 753816f1e262..6f781059acbc 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -16489,13 +16489,6 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "AggregatedLongTasksResponse", }, - "v2.QueryAggregatedSignalsProblems": { - "body": { - "type": "AggregatedSignalsProblemsRequest", - "format": "", - }, - "operationResponseType": "AggregatedSignalsProblemsResponse", - }, "v2.QueryAggregatedWaterfall": { "body": { "type": "AggregatedWaterfallRequest", diff --git a/features/v2/rum_insights.feature b/features/v2/rum_insights.feature index 27dcc3fb5655..a06b8e62eac8 100644 --- a/features/v2/rum_insights.feature +++ b/features/v2/rum_insights.feature @@ -26,22 +26,6 @@ Feature: RUM Insights When the request is sent Then the response status is 201 Successful response - @generated @skip @team:DataDog/rum-backend - Scenario: Query aggregated signals and problems returns "Bad Request" response - Given operation "QueryAggregatedSignalsProblems" enabled - And new "QueryAggregatedSignalsProblems" request - And body with value {"data": {"attributes": {"application_id": "ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b", "criteria": {"max": 5.0, "metric": "largest_contentful_paint", "min": 2.5}, "detection_types": ["high_script_evaluations", "uncompressed_resources"], "filter": "@session.type:user", "from": 1762437564, "sample_size": 30, "to": 1762523964, "view_name": "/account/login(/:type)"}, "type": "aggregated_signals_problems"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/rum-backend - Scenario: Query aggregated signals and problems returns "Successful response" response - Given operation "QueryAggregatedSignalsProblems" enabled - And new "QueryAggregatedSignalsProblems" request - And body with value {"data": {"attributes": {"application_id": "ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b", "criteria": {"max": 5.0, "metric": "largest_contentful_paint", "min": 2.5}, "detection_types": ["high_script_evaluations", "uncompressed_resources"], "filter": "@session.type:user", "from": 1762437564, "sample_size": 30, "to": 1762523964, "view_name": "/account/login(/:type)"}, "type": "aggregated_signals_problems"}} - When the request is sent - Then the response status is 201 Successful response - @generated @skip @team:DataDog/rum-backend Scenario: Query aggregated waterfall returns "Bad Request" response Given operation "QueryAggregatedWaterfall" enabled diff --git a/features/v2/undo.json b/features/v2/undo.json index ccc3b32a417c..8ad9cc9418f1 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -7698,12 +7698,6 @@ "type": "safe" } }, - "QueryAggregatedSignalsProblems": { - "tag": "RUM Insights", - "undo": { - "type": "safe" - } - }, "QueryAggregatedWaterfall": { "tag": "RUM Insights", "undo": { diff --git a/packages/datadog-api-client-common/configuration.ts b/packages/datadog-api-client-common/configuration.ts index 0976e0c9eb42..ab9ed5ccf769 100644 --- a/packages/datadog-api-client-common/configuration.ts +++ b/packages/datadog-api-client-common/configuration.ts @@ -800,7 +800,6 @@ export function createConfiguration( "v2.updateRUMOperation": false, "v2.updateRUMOperationStrongLink": false, "v2.queryAggregatedLongTasks": false, - "v2.queryAggregatedSignalsProblems": false, "v2.queryAggregatedWaterfall": false, "v2.createScorecardOutcomesBatch": false, "v2.getEntityRiskScore": false, diff --git a/packages/datadog-api-client-v2/apis/RUMInsightsApi.ts b/packages/datadog-api-client-v2/apis/RUMInsightsApi.ts index ac92f884042a..ec3002080f21 100644 --- a/packages/datadog-api-client-v2/apis/RUMInsightsApi.ts +++ b/packages/datadog-api-client-v2/apis/RUMInsightsApi.ts @@ -18,8 +18,6 @@ import { ApiException } from "../../datadog-api-client-common/exception"; import { AggregatedLongTasksRequest } from "../models/AggregatedLongTasksRequest"; import { AggregatedLongTasksResponse } from "../models/AggregatedLongTasksResponse"; -import { AggregatedSignalsProblemsRequest } from "../models/AggregatedSignalsProblemsRequest"; -import { AggregatedSignalsProblemsResponse } from "../models/AggregatedSignalsProblemsResponse"; import { AggregatedWaterfallRequest } from "../models/AggregatedWaterfallRequest"; import { AggregatedWaterfallResponse } from "../models/AggregatedWaterfallResponse"; import { APIErrorResponse } from "../models/APIErrorResponse"; @@ -80,61 +78,6 @@ export class RUMInsightsApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } - public async queryAggregatedSignalsProblems( - body: AggregatedSignalsProblemsRequest, - _options?: Configuration - ): Promise { - const _config = _options || this.configuration; - - logger.warn("Using unstable operation 'queryAggregatedSignalsProblems'"); - if (!_config.unstableOperations["v2.queryAggregatedSignalsProblems"]) { - throw new Error( - "Unstable operation 'queryAggregatedSignalsProblems' is disabled" - ); - } - - // verify required parameter 'body' is not null or undefined - if (body === null || body === undefined) { - throw new RequiredError("body", "queryAggregatedSignalsProblems"); - } - - // Path Params - const localVarPath = - "/api/v2/rum/query/insight/aggregated_signals_problems"; - - // Make Request Context - const requestContext = _config - .getServer("v2.RUMInsightsApi.queryAggregatedSignalsProblems") - .makeRequestContext(localVarPath, HttpMethod.POST); - requestContext.setHeaderParam("Accept", "application/json"); - requestContext.setHttpConfig(_config.httpConfig); - - // Set IaC header - if (_config.isIaC) { - requestContext.setHeaderParam("X-Datadog-Managed-By", "iac"); - } - - // Body Params - const contentType = ObjectSerializer.getPreferredMediaType([ - "application/json", - ]); - requestContext.setHeaderParam("Content-Type", contentType); - const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "AggregatedSignalsProblemsRequest", ""), - contentType - ); - requestContext.setBody(serializedBody); - - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "apiKeyAuth", - "appKeyAuth", - "AuthZ", - ]); - - return requestContext; - } - public async queryAggregatedWaterfall( body: AggregatedWaterfallRequest, _options?: Configuration @@ -272,89 +215,6 @@ export class RUMInsightsApiResponseProcessor { ); } - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to queryAggregatedSignalsProblems - * @throws ApiException if the response code was not in [200, 299] - */ - public async queryAggregatedSignalsProblems( - response: ResponseContext - ): Promise { - const contentType = ObjectSerializer.normalizeMediaType( - response.headers["content-type"] - ); - if (response.httpStatusCode === 201) { - const body: AggregatedSignalsProblemsResponse = - ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "AggregatedSignalsProblemsResponse" - ) as AggregatedSignalsProblemsResponse; - return body; - } - if (response.httpStatusCode === 400 || response.httpStatusCode === 401) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: JSONAPIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "JSONAPIErrorResponse" - ) as JSONAPIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException( - response.httpStatusCode, - body - ); - } - if (response.httpStatusCode === 429) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: APIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "APIErrorResponse" - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException(response.httpStatusCode, body); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: AggregatedSignalsProblemsResponse = - ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "AggregatedSignalsProblemsResponse", - "" - ) as AggregatedSignalsProblemsResponse; - return body; - } - - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"' - ); - } - /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -444,13 +304,6 @@ export interface RUMInsightsApiQueryAggregatedLongTasksRequest { body: AggregatedLongTasksRequest; } -export interface RUMInsightsApiQueryAggregatedSignalsProblemsRequest { - /** - * @type AggregatedSignalsProblemsRequest - */ - body: AggregatedSignalsProblemsRequest; -} - export interface RUMInsightsApiQueryAggregatedWaterfallRequest { /** * @type AggregatedWaterfallRequest @@ -498,27 +351,6 @@ export class RUMInsightsApi { }); } - /** - * Get aggregated performance signals and problem detections for a RUM view, sampled across multiple view instances. - * @param param The request object - */ - public queryAggregatedSignalsProblems( - param: RUMInsightsApiQueryAggregatedSignalsProblemsRequest, - options?: Configuration - ): Promise { - const requestContextPromise = - this.requestFactory.queryAggregatedSignalsProblems(param.body, options); - return requestContextPromise.then((requestContext) => { - return this.configuration.httpApi - .send(requestContext) - .then((responseContext) => { - return this.responseProcessor.queryAggregatedSignalsProblems( - responseContext - ); - }); - }); - } - /** * Get aggregated network resource waterfall data for a RUM view, sampled across multiple view instances. * @param param The request object diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index 284fe8d4e4f0..f78608bc5995 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -1304,7 +1304,6 @@ export { export { RUMInsightsApiQueryAggregatedLongTasksRequest, - RUMInsightsApiQueryAggregatedSignalsProblemsRequest, RUMInsightsApiQueryAggregatedWaterfallRequest, RUMInsightsApi, } from "./apis/RUMInsightsApi"; @@ -2113,8 +2112,6 @@ export { AddMemberTeamRequest } from "./models/AddMemberTeamRequest"; export { Advisory } from "./models/Advisory"; export { AgentTrigger } from "./models/AgentTrigger"; export { AgentTriggerWrapper } from "./models/AgentTriggerWrapper"; -export { AggregatedHighFrozenFrameRate } from "./models/AggregatedHighFrozenFrameRate"; -export { AggregatedHighScriptEval } from "./models/AggregatedHighScriptEval"; export { AggregatedLongTasksByInvokerType } from "./models/AggregatedLongTasksByInvokerType"; export { AggregatedLongTasksRequest } from "./models/AggregatedLongTasksRequest"; export { AggregatedLongTasksRequestAttributes } from "./models/AggregatedLongTasksRequestAttributes"; @@ -2124,20 +2121,8 @@ export { AggregatedLongTasksResponse } from "./models/AggregatedLongTasksRespons export { AggregatedLongTasksResponseAttributes } from "./models/AggregatedLongTasksResponseAttributes"; export { AggregatedLongTasksResponseAttributesCriteria } from "./models/AggregatedLongTasksResponseAttributesCriteria"; export { AggregatedLongTasksResponseData } from "./models/AggregatedLongTasksResponseData"; -export { AggregatedLowCacheHitRate } from "./models/AggregatedLowCacheHitRate"; -export { AggregatedMobileScrollFriction } from "./models/AggregatedMobileScrollFriction"; export { AggregatedResource } from "./models/AggregatedResource"; export { AggregatedResourceTimingBreakdown } from "./models/AggregatedResourceTimingBreakdown"; -export { AggregatedSignalsProblemsRequest } from "./models/AggregatedSignalsProblemsRequest"; -export { AggregatedSignalsProblemsRequestAttributes } from "./models/AggregatedSignalsProblemsRequestAttributes"; -export { AggregatedSignalsProblemsRequestData } from "./models/AggregatedSignalsProblemsRequestData"; -export { AggregatedSignalsProblemsRequestType } from "./models/AggregatedSignalsProblemsRequestType"; -export { AggregatedSignalsProblemsResponse } from "./models/AggregatedSignalsProblemsResponse"; -export { AggregatedSignalsProblemsResponseAttributes } from "./models/AggregatedSignalsProblemsResponseAttributes"; -export { AggregatedSignalsProblemsResponseData } from "./models/AggregatedSignalsProblemsResponseData"; -export { AggregatedSlowFCPHighBytes } from "./models/AggregatedSlowFCPHighBytes"; -export { AggregatedSlowInteractionLongTask } from "./models/AggregatedSlowInteractionLongTask"; -export { AggregatedUncompressedResource } from "./models/AggregatedUncompressedResource"; export { AggregatedWaterfallPerformanceCriteria } from "./models/AggregatedWaterfallPerformanceCriteria"; export { AggregatedWaterfallPerformanceCriteriaMetric } from "./models/AggregatedWaterfallPerformanceCriteriaMetric"; export { AggregatedWaterfallRequest } from "./models/AggregatedWaterfallRequest"; @@ -8835,8 +8820,6 @@ export { SignalEntitiesAttributes } from "./models/SignalEntitiesAttributes"; export { SignalEntitiesData } from "./models/SignalEntitiesData"; export { SignalEntitiesResponse } from "./models/SignalEntitiesResponse"; export { SignalEntitiesType } from "./models/SignalEntitiesType"; -export { SignalsProblemsDetections } from "./models/SignalsProblemsDetections"; -export { SignalsProblemsSampleMetadata } from "./models/SignalsProblemsSampleMetadata"; export { SimpleMonitorUserTemplate } from "./models/SimpleMonitorUserTemplate"; export { SingleAggregatedConnectionResponseArray } from "./models/SingleAggregatedConnectionResponseArray"; export { SingleAggregatedConnectionResponseData } from "./models/SingleAggregatedConnectionResponseData"; diff --git a/packages/datadog-api-client-v2/models/AggregatedHighFrozenFrameRate.ts b/packages/datadog-api-client-v2/models/AggregatedHighFrozenFrameRate.ts deleted file mode 100644 index 84523926eb3c..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedHighFrozenFrameRate.ts +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated high frozen frame rate detection at view level. - */ -export class AggregatedHighFrozenFrameRate { - /** - * Average frozen frame rate as a fraction of total frames. - */ - "avgFrozenFrameRate": number; - /** - * Average segment duration in nanoseconds. - */ - "avgSegmentDuration": number; - /** - * Average total frozen duration in nanoseconds. - */ - "avgTotalFrozenDuration": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score for this detection. - */ - "impactScore": number; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgFrozenFrameRate: { - baseName: "avg_frozen_frame_rate", - type: "number", - required: true, - format: "double", - }, - avgSegmentDuration: { - baseName: "avg_segment_duration", - type: "number", - required: true, - format: "int64", - }, - avgTotalFrozenDuration: { - baseName: "avg_total_frozen_duration", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedHighFrozenFrameRate.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedHighScriptEval.ts b/packages/datadog-api-client-v2/models/AggregatedHighScriptEval.ts deleted file mode 100644 index 8d6b64033574..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedHighScriptEval.ts +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated high script evaluation detection grouped by source. - */ -export class AggregatedHighScriptEval { - /** - * Average script evaluation duration in nanoseconds. - */ - "avgDuration": number; - /** - * Average forced style/layout duration in nanoseconds. - */ - "avgForcedStyleLayout": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score combining view frequency and duration severity. - */ - "impactScore": number; - /** - * Total number of detection instances across sampled views. - */ - "instanceCount": number; - /** - * Type of invoker that triggered the script evaluation. - */ - "invokerType": string; - /** - * Category of the script source. - */ - "sourceCategory": string | null; - /** - * Name of the function that triggered the high script evaluation. - */ - "sourceFunctionName": string; - /** - * URL of the script that triggered the high script evaluation. - */ - "sourceUrl": string | null; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgDuration: { - baseName: "avg_duration", - type: "number", - required: true, - format: "int64", - }, - avgForcedStyleLayout: { - baseName: "avg_forced_style_layout", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - instanceCount: { - baseName: "instance_count", - type: "number", - required: true, - format: "int32", - }, - invokerType: { - baseName: "invoker_type", - type: "string", - required: true, - }, - sourceCategory: { - baseName: "source_category", - type: "string", - required: true, - }, - sourceFunctionName: { - baseName: "source_function_name", - type: "string", - required: true, - }, - sourceUrl: { - baseName: "source_url", - type: "string", - required: true, - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedHighScriptEval.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedLowCacheHitRate.ts b/packages/datadog-api-client-v2/models/AggregatedLowCacheHitRate.ts deleted file mode 100644 index 4add9ace8ece..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedLowCacheHitRate.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated low cache hit rate detection at view level. - */ -export class AggregatedLowCacheHitRate { - /** - * Average cache hit rate across affected views. - */ - "avgCacheHitRate": number; - /** - * Average total download size of uncached resources in bytes. - */ - "avgResourceDownloadSizeBytes": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score for this detection. - */ - "impactScore": number; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgCacheHitRate: { - baseName: "avg_cache_hit_rate", - type: "number", - required: true, - format: "double", - }, - avgResourceDownloadSizeBytes: { - baseName: "avg_resource_download_size_bytes", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedLowCacheHitRate.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedMobileScrollFriction.ts b/packages/datadog-api-client-v2/models/AggregatedMobileScrollFriction.ts deleted file mode 100644 index f873ad8b2c61..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedMobileScrollFriction.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated mobile scroll friction detection at view level. - */ -export class AggregatedMobileScrollFriction { - /** - * Average number of frozen frames during scroll interactions. - */ - "avgScrollFrozenFrameCount": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score for this detection. - */ - "impactScore": number; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgScrollFrozenFrameCount: { - baseName: "avg_scroll_frozen_frame_count", - type: "number", - required: true, - format: "int32", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedMobileScrollFriction.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequest.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequest.ts deleted file mode 100644 index 97387d2ae793..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequest.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedSignalsProblemsRequestData } from "./AggregatedSignalsProblemsRequestData"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Request body for the aggregated signals and problems endpoint. - */ -export class AggregatedSignalsProblemsRequest { - /** - * Data envelope for an aggregated signals and problems request. - */ - "data": AggregatedSignalsProblemsRequestData; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - data: { - baseName: "data", - type: "AggregatedSignalsProblemsRequestData", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsRequest.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestAttributes.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestAttributes.ts deleted file mode 100644 index 72fa8cf964f2..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestAttributes.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedWaterfallPerformanceCriteria } from "./AggregatedWaterfallPerformanceCriteria"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Attributes for an aggregated signals and problems query. - */ -export class AggregatedSignalsProblemsRequestAttributes { - /** - * The RUM application ID to analyze. - */ - "applicationId": string; - /** - * Performance criteria to filter view instances by a metric threshold. - */ - "criteria"?: AggregatedWaterfallPerformanceCriteria; - /** - * List of detection types to include in the response. When omitted, all types are returned. - */ - "detectionTypes"?: Array; - /** - * RUM query string to filter events (for example, @session.type:user @geo.country:US). - */ - "filter"?: string; - /** - * Start of the time range as a Unix timestamp in seconds. - */ - "from": number; - /** - * Number of view instances to sample, between 1 and 50. - */ - "sampleSize": number; - /** - * End of the time range as a Unix timestamp in seconds. - */ - "to": number; - /** - * The RUM view name to analyze (for example, /account/login). - */ - "viewName": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - applicationId: { - baseName: "application_id", - type: "string", - required: true, - }, - criteria: { - baseName: "criteria", - type: "AggregatedWaterfallPerformanceCriteria", - }, - detectionTypes: { - baseName: "detection_types", - type: "Array", - }, - filter: { - baseName: "filter", - type: "string", - }, - from: { - baseName: "from", - type: "number", - required: true, - format: "int64", - }, - sampleSize: { - baseName: "sample_size", - type: "number", - required: true, - format: "int32", - }, - to: { - baseName: "to", - type: "number", - required: true, - format: "int64", - }, - viewName: { - baseName: "view_name", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsRequestAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestData.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestData.ts deleted file mode 100644 index 79be89446732..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestData.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedSignalsProblemsRequestAttributes } from "./AggregatedSignalsProblemsRequestAttributes"; -import { AggregatedSignalsProblemsRequestType } from "./AggregatedSignalsProblemsRequestType"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Data envelope for an aggregated signals and problems request. - */ -export class AggregatedSignalsProblemsRequestData { - /** - * Attributes for an aggregated signals and problems query. - */ - "attributes": AggregatedSignalsProblemsRequestAttributes; - /** - * The JSON:API type for aggregated signals and problems requests. - */ - "type": AggregatedSignalsProblemsRequestType; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - attributes: { - baseName: "attributes", - type: "AggregatedSignalsProblemsRequestAttributes", - required: true, - }, - type: { - baseName: "type", - type: "AggregatedSignalsProblemsRequestType", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsRequestData.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestType.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestType.ts deleted file mode 100644 index 1c70c0726794..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsRequestType.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The JSON:API type for aggregated signals and problems requests. - */ - -export type AggregatedSignalsProblemsRequestType = - | typeof AGGREGATED_SIGNALS_PROBLEMS - | UnparsedObject; -export const AGGREGATED_SIGNALS_PROBLEMS = "aggregated_signals_problems"; diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponse.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponse.ts deleted file mode 100644 index 95d96c586124..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponse.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedSignalsProblemsResponseData } from "./AggregatedSignalsProblemsResponseData"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Response body for the aggregated signals and problems endpoint. - */ -export class AggregatedSignalsProblemsResponse { - /** - * Data envelope for an aggregated signals and problems response. - */ - "data": AggregatedSignalsProblemsResponseData; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - data: { - baseName: "data", - type: "AggregatedSignalsProblemsResponseData", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsResponse.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseAttributes.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseAttributes.ts deleted file mode 100644 index 692e5ba92d6d..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseAttributes.ts +++ /dev/null @@ -1,111 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedWaterfallPerformanceCriteria } from "./AggregatedWaterfallPerformanceCriteria"; -import { SignalsProblemsDetections } from "./SignalsProblemsDetections"; -import { SignalsProblemsSampleMetadata } from "./SignalsProblemsSampleMetadata"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Attributes of an aggregated signals and problems response. - */ -export class AggregatedSignalsProblemsResponseAttributes { - /** - * The RUM application ID that was analyzed. - */ - "applicationId": string; - /** - * Performance criteria to filter view instances by a metric threshold. - */ - "criteria"?: AggregatedWaterfallPerformanceCriteria; - /** - * Start of the analyzed time range as a Unix timestamp in seconds. - */ - "from": number; - /** - * Grouped detection results by detection type. - */ - "problemDetections": SignalsProblemsDetections; - /** - * Metadata about the sampling quality for a signals and problems query. - */ - "sampleMetadata": SignalsProblemsSampleMetadata; - /** - * End of the analyzed time range as a Unix timestamp in seconds. - */ - "to": number; - /** - * The RUM view name that was analyzed. - */ - "viewName": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - applicationId: { - baseName: "application_id", - type: "string", - required: true, - }, - criteria: { - baseName: "criteria", - type: "AggregatedWaterfallPerformanceCriteria", - }, - from: { - baseName: "from", - type: "number", - required: true, - format: "int64", - }, - problemDetections: { - baseName: "problem_detections", - type: "SignalsProblemsDetections", - required: true, - }, - sampleMetadata: { - baseName: "sample_metadata", - type: "SignalsProblemsSampleMetadata", - required: true, - }, - to: { - baseName: "to", - type: "number", - required: true, - format: "int64", - }, - viewName: { - baseName: "view_name", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsResponseAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseData.ts b/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseData.ts deleted file mode 100644 index dd82f53ad5de..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSignalsProblemsResponseData.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedSignalsProblemsRequestType } from "./AggregatedSignalsProblemsRequestType"; -import { AggregatedSignalsProblemsResponseAttributes } from "./AggregatedSignalsProblemsResponseAttributes"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Data envelope for an aggregated signals and problems response. - */ -export class AggregatedSignalsProblemsResponseData { - /** - * Attributes of an aggregated signals and problems response. - */ - "attributes": AggregatedSignalsProblemsResponseAttributes; - /** - * Hash-based unique identifier for this aggregation. - */ - "id": string; - /** - * The JSON:API type for aggregated signals and problems requests. - */ - "type": AggregatedSignalsProblemsRequestType; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - attributes: { - baseName: "attributes", - type: "AggregatedSignalsProblemsResponseAttributes", - required: true, - }, - id: { - baseName: "id", - type: "string", - required: true, - }, - type: { - baseName: "type", - type: "AggregatedSignalsProblemsRequestType", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSignalsProblemsResponseData.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSlowFCPHighBytes.ts b/packages/datadog-api-client-v2/models/AggregatedSlowFCPHighBytes.ts deleted file mode 100644 index 7ea050ec7d27..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSlowFCPHighBytes.ts +++ /dev/null @@ -1,112 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated slow first contentful paint with high byte count detection. - */ -export class AggregatedSlowFCPHighBytes { - /** - * Average total bytes loaded before first contentful paint. - */ - "avgBytesBeforeFcpBytes": number; - /** - * Average first contentful paint time in milliseconds. - */ - "avgFirstContentfulPaintMs": number; - /** - * Average number of resources loaded before first contentful paint. - */ - "avgResourceCountBeforeFcp": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score for this detection. - */ - "impactScore": number; - /** - * Platform identifier for the affected views. - */ - "platform": string; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgBytesBeforeFcpBytes: { - baseName: "avg_bytes_before_fcp_bytes", - type: "number", - required: true, - format: "int64", - }, - avgFirstContentfulPaintMs: { - baseName: "avg_first_contentful_paint_ms", - type: "number", - required: true, - format: "int64", - }, - avgResourceCountBeforeFcp: { - baseName: "avg_resource_count_before_fcp", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - platform: { - baseName: "platform", - type: "string", - required: true, - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSlowFCPHighBytes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedSlowInteractionLongTask.ts b/packages/datadog-api-client-v2/models/AggregatedSlowInteractionLongTask.ts deleted file mode 100644 index 15baec166d99..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedSlowInteractionLongTask.ts +++ /dev/null @@ -1,130 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated slow interaction with long task detection grouped by action and selector. - */ -export class AggregatedSlowInteractionLongTask { - /** - * Type of user interaction that triggered the slow response. - */ - "actionType": string; - /** - * Average long task blocking duration in nanoseconds. - */ - "avgBlockingDuration": number; - /** - * Average total interaction duration in nanoseconds. - */ - "avgDuration": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score combining view frequency and blocking severity. - */ - "impactScore": number; - /** - * Total number of detection instances across sampled views. - */ - "instanceCount": number; - /** - * CSS selector of the element that was interacted with. - */ - "selector": string | null; - /** - * Normalized CSS selector with dynamic parts replaced. - */ - "selectorNormalized": string | null; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - actionType: { - baseName: "action_type", - type: "string", - required: true, - }, - avgBlockingDuration: { - baseName: "avg_blocking_duration", - type: "number", - required: true, - format: "int64", - }, - avgDuration: { - baseName: "avg_duration", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - instanceCount: { - baseName: "instance_count", - type: "number", - required: true, - format: "int32", - }, - selector: { - baseName: "selector", - type: "string", - required: true, - }, - selectorNormalized: { - baseName: "selector_normalized", - type: "string", - required: true, - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedSlowInteractionLongTask.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/AggregatedUncompressedResource.ts b/packages/datadog-api-client-v2/models/AggregatedUncompressedResource.ts deleted file mode 100644 index 25d4fee63d19..000000000000 --- a/packages/datadog-api-client-v2/models/AggregatedUncompressedResource.ts +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Aggregated uncompressed resource detection grouped by URL path. - */ -export class AggregatedUncompressedResource { - /** - * Average uncompressed body size in bytes. - */ - "avgBodySize": number; - /** - * Average resource loading duration in nanoseconds. - */ - "avgDuration": number; - /** - * Unique fingerprint identifying this detection group. - */ - "fingerprint": string; - /** - * Impact score combining view frequency and resource size. - */ - "impactScore": number; - /** - * Total number of detection instances across sampled views. - */ - "instanceCount": number; - /** - * CDN or hosting provider type for the resource. - */ - "providerType": string | null; - /** - * Whether the resource is render-blocking. - */ - "renderBlocking": string | null; - /** - * Type of the resource (JS, CSS, image, fetch, and so on). - */ - "resourceType": string; - /** - * Normalized URL path pattern for the uncompressed resource. - */ - "urlPathGroup": string; - /** - * Number of sampled views where this detection occurred. - */ - "viewOccurrences": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - avgBodySize: { - baseName: "avg_body_size", - type: "number", - required: true, - format: "int64", - }, - avgDuration: { - baseName: "avg_duration", - type: "number", - required: true, - format: "int64", - }, - fingerprint: { - baseName: "fingerprint", - type: "string", - required: true, - }, - impactScore: { - baseName: "impact_score", - type: "number", - required: true, - format: "double", - }, - instanceCount: { - baseName: "instance_count", - type: "number", - required: true, - format: "int32", - }, - providerType: { - baseName: "provider_type", - type: "string", - required: true, - }, - renderBlocking: { - baseName: "render_blocking", - type: "string", - required: true, - }, - resourceType: { - baseName: "resource_type", - type: "string", - required: true, - }, - urlPathGroup: { - baseName: "url_path_group", - type: "string", - required: true, - }, - viewOccurrences: { - baseName: "view_occurrences", - type: "number", - required: true, - format: "int32", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return AggregatedUncompressedResource.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index c8a134f9d894..edc4ea784d2c 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -128,8 +128,6 @@ import { AddMemberTeamRequest } from "./AddMemberTeamRequest"; import { Advisory } from "./Advisory"; import { AgentTrigger } from "./AgentTrigger"; import { AgentTriggerWrapper } from "./AgentTriggerWrapper"; -import { AggregatedHighFrozenFrameRate } from "./AggregatedHighFrozenFrameRate"; -import { AggregatedHighScriptEval } from "./AggregatedHighScriptEval"; import { AggregatedLongTasksByInvokerType } from "./AggregatedLongTasksByInvokerType"; import { AggregatedLongTasksRequest } from "./AggregatedLongTasksRequest"; import { AggregatedLongTasksRequestAttributes } from "./AggregatedLongTasksRequestAttributes"; @@ -138,19 +136,8 @@ import { AggregatedLongTasksResponse } from "./AggregatedLongTasksResponse"; import { AggregatedLongTasksResponseAttributes } from "./AggregatedLongTasksResponseAttributes"; import { AggregatedLongTasksResponseAttributesCriteria } from "./AggregatedLongTasksResponseAttributesCriteria"; import { AggregatedLongTasksResponseData } from "./AggregatedLongTasksResponseData"; -import { AggregatedLowCacheHitRate } from "./AggregatedLowCacheHitRate"; -import { AggregatedMobileScrollFriction } from "./AggregatedMobileScrollFriction"; import { AggregatedResource } from "./AggregatedResource"; import { AggregatedResourceTimingBreakdown } from "./AggregatedResourceTimingBreakdown"; -import { AggregatedSignalsProblemsRequest } from "./AggregatedSignalsProblemsRequest"; -import { AggregatedSignalsProblemsRequestAttributes } from "./AggregatedSignalsProblemsRequestAttributes"; -import { AggregatedSignalsProblemsRequestData } from "./AggregatedSignalsProblemsRequestData"; -import { AggregatedSignalsProblemsResponse } from "./AggregatedSignalsProblemsResponse"; -import { AggregatedSignalsProblemsResponseAttributes } from "./AggregatedSignalsProblemsResponseAttributes"; -import { AggregatedSignalsProblemsResponseData } from "./AggregatedSignalsProblemsResponseData"; -import { AggregatedSlowFCPHighBytes } from "./AggregatedSlowFCPHighBytes"; -import { AggregatedSlowInteractionLongTask } from "./AggregatedSlowInteractionLongTask"; -import { AggregatedUncompressedResource } from "./AggregatedUncompressedResource"; import { AggregatedWaterfallPerformanceCriteria } from "./AggregatedWaterfallPerformanceCriteria"; import { AggregatedWaterfallRequest } from "./AggregatedWaterfallRequest"; import { AggregatedWaterfallRequestAttributes } from "./AggregatedWaterfallRequestAttributes"; @@ -5229,8 +5216,6 @@ import { ShiftDataRelationshipsUserData } from "./ShiftDataRelationshipsUserData import { SignalEntitiesAttributes } from "./SignalEntitiesAttributes"; import { SignalEntitiesData } from "./SignalEntitiesData"; import { SignalEntitiesResponse } from "./SignalEntitiesResponse"; -import { SignalsProblemsDetections } from "./SignalsProblemsDetections"; -import { SignalsProblemsSampleMetadata } from "./SignalsProblemsSampleMetadata"; import { SimpleMonitorUserTemplate } from "./SimpleMonitorUserTemplate"; import { SingleAggregatedConnectionResponseArray } from "./SingleAggregatedConnectionResponseArray"; import { SingleAggregatedConnectionResponseData } from "./SingleAggregatedConnectionResponseData"; @@ -6321,7 +6306,6 @@ const enumsMap: { [key: string]: any[] } = { ActionQueryType: ["action"], ActiveBillingDimensionsType: ["billing_dimensions"], AggregatedLongTasksRequestType: ["aggregated_long_tasks"], - AggregatedSignalsProblemsRequestType: ["aggregated_signals_problems"], AggregatedWaterfallPerformanceCriteriaMetric: [ "loading_time", "largest_contentful_paint", @@ -9760,8 +9744,6 @@ const typeMap: { [index: string]: any } = { Advisory: Advisory, AgentTrigger: AgentTrigger, AgentTriggerWrapper: AgentTriggerWrapper, - AggregatedHighFrozenFrameRate: AggregatedHighFrozenFrameRate, - AggregatedHighScriptEval: AggregatedHighScriptEval, AggregatedLongTasksByInvokerType: AggregatedLongTasksByInvokerType, AggregatedLongTasksRequest: AggregatedLongTasksRequest, AggregatedLongTasksRequestAttributes: AggregatedLongTasksRequestAttributes, @@ -9771,21 +9753,8 @@ const typeMap: { [index: string]: any } = { AggregatedLongTasksResponseAttributesCriteria: AggregatedLongTasksResponseAttributesCriteria, AggregatedLongTasksResponseData: AggregatedLongTasksResponseData, - AggregatedLowCacheHitRate: AggregatedLowCacheHitRate, - AggregatedMobileScrollFriction: AggregatedMobileScrollFriction, AggregatedResource: AggregatedResource, AggregatedResourceTimingBreakdown: AggregatedResourceTimingBreakdown, - AggregatedSignalsProblemsRequest: AggregatedSignalsProblemsRequest, - AggregatedSignalsProblemsRequestAttributes: - AggregatedSignalsProblemsRequestAttributes, - AggregatedSignalsProblemsRequestData: AggregatedSignalsProblemsRequestData, - AggregatedSignalsProblemsResponse: AggregatedSignalsProblemsResponse, - AggregatedSignalsProblemsResponseAttributes: - AggregatedSignalsProblemsResponseAttributes, - AggregatedSignalsProblemsResponseData: AggregatedSignalsProblemsResponseData, - AggregatedSlowFCPHighBytes: AggregatedSlowFCPHighBytes, - AggregatedSlowInteractionLongTask: AggregatedSlowInteractionLongTask, - AggregatedUncompressedResource: AggregatedUncompressedResource, AggregatedWaterfallPerformanceCriteria: AggregatedWaterfallPerformanceCriteria, AggregatedWaterfallRequest: AggregatedWaterfallRequest, @@ -16059,8 +16028,6 @@ const typeMap: { [index: string]: any } = { SignalEntitiesAttributes: SignalEntitiesAttributes, SignalEntitiesData: SignalEntitiesData, SignalEntitiesResponse: SignalEntitiesResponse, - SignalsProblemsDetections: SignalsProblemsDetections, - SignalsProblemsSampleMetadata: SignalsProblemsSampleMetadata, SimpleMonitorUserTemplate: SimpleMonitorUserTemplate, SingleAggregatedConnectionResponseArray: SingleAggregatedConnectionResponseArray, diff --git a/packages/datadog-api-client-v2/models/SignalsProblemsDetections.ts b/packages/datadog-api-client-v2/models/SignalsProblemsDetections.ts deleted file mode 100644 index 887ee74e22a0..000000000000 --- a/packages/datadog-api-client-v2/models/SignalsProblemsDetections.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { AggregatedHighFrozenFrameRate } from "./AggregatedHighFrozenFrameRate"; -import { AggregatedHighScriptEval } from "./AggregatedHighScriptEval"; -import { AggregatedLowCacheHitRate } from "./AggregatedLowCacheHitRate"; -import { AggregatedMobileScrollFriction } from "./AggregatedMobileScrollFriction"; -import { AggregatedSlowFCPHighBytes } from "./AggregatedSlowFCPHighBytes"; -import { AggregatedSlowInteractionLongTask } from "./AggregatedSlowInteractionLongTask"; -import { AggregatedUncompressedResource } from "./AggregatedUncompressedResource"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Grouped detection results by detection type. - */ -export class SignalsProblemsDetections { - /** - * Detected high frozen frame rate issues. - */ - "highFrozenFrameRates"?: Array; - /** - * Detected high script evaluation issues. - */ - "highScriptEvaluations"?: Array; - /** - * Detected low cache hit rate issues. - */ - "lowCacheHitRates"?: Array; - /** - * Detected mobile scroll friction issues. - */ - "mobileScrollFrictions"?: Array; - /** - * Detected slow first contentful paint with high byte count issues. - */ - "slowFcpHighBytes"?: Array; - /** - * Detected slow interaction with long task issues. - */ - "slowInteractionLongTasks"?: Array; - /** - * Detected uncompressed resource issues. - */ - "uncompressedResources"?: Array; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - highFrozenFrameRates: { - baseName: "high_frozen_frame_rates", - type: "Array", - }, - highScriptEvaluations: { - baseName: "high_script_evaluations", - type: "Array", - }, - lowCacheHitRates: { - baseName: "low_cache_hit_rates", - type: "Array", - }, - mobileScrollFrictions: { - baseName: "mobile_scroll_frictions", - type: "Array", - }, - slowFcpHighBytes: { - baseName: "slow_fcp_high_bytes", - type: "Array", - }, - slowInteractionLongTasks: { - baseName: "slow_interaction_long_tasks", - type: "Array", - }, - uncompressedResources: { - baseName: "uncompressed_resources", - type: "Array", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SignalsProblemsDetections.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SignalsProblemsSampleMetadata.ts b/packages/datadog-api-client-v2/models/SignalsProblemsSampleMetadata.ts deleted file mode 100644 index c79e555559b3..000000000000 --- a/packages/datadog-api-client-v2/models/SignalsProblemsSampleMetadata.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Metadata about the sampling quality for a signals and problems query. - */ -export class SignalsProblemsSampleMetadata { - /** - * Number of view instances that failed to process. - */ - "failed": number; - /** - * Number of view instances requested for sampling. - */ - "requested": number; - /** - * List of RUM view IDs that were sampled. - */ - "sampledViewIds": Array; - /** - * Number of view instances successfully processed. - */ - "succeeded": number; - /** - * Ratio of successfully processed views to requested views. - */ - "successRate": number; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - failed: { - baseName: "failed", - type: "number", - required: true, - format: "int32", - }, - requested: { - baseName: "requested", - type: "number", - required: true, - format: "int32", - }, - sampledViewIds: { - baseName: "sampled_view_ids", - type: "Array", - required: true, - }, - succeeded: { - baseName: "succeeded", - type: "number", - required: true, - format: "int32", - }, - successRate: { - baseName: "success_rate", - type: "number", - required: true, - format: "double", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SignalsProblemsSampleMetadata.attributeTypeMap; - } - - public constructor() {} -}