Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
635 changes: 0 additions & 635 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

32 changes: 0 additions & 32 deletions examples/v2/rum-insights/QueryAggregatedSignalsProblems.rb

This file was deleted.

3 changes: 0 additions & 3 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5842,9 +5842,6 @@
"v2.QueryAggregatedLongTasks" => {
"body" => "AggregatedLongTasksRequest",
},
"v2.QueryAggregatedSignalsProblems" => {
"body" => "AggregatedSignalsProblemsRequest",
},
"v2.QueryAggregatedWaterfall" => {
"body" => "AggregatedWaterfallRequest",
},
Expand Down
16 changes: 0 additions & 16 deletions features/v2/rum_insights.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions features/v2/undo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7698,12 +7698,6 @@
"type": "safe"
}
},
"QueryAggregatedSignalsProblems": {
"tag": "RUM Insights",
"undo": {
"type": "safe"
}
},
"QueryAggregatedWaterfall": {
"tag": "RUM Insights",
"undo": {
Expand Down
1 change: 0 additions & 1 deletion lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,6 @@ def initialize
"v2.update_rum_operation": false,
"v2.update_rum_operation_strong_link": false,
"v2.query_aggregated_long_tasks": false,
"v2.query_aggregated_signals_problems": false,
"v2.query_aggregated_waterfall": false,
"v2.create_scorecard_outcomes_batch": false,
"v2.get_entity_risk_score": false,
Expand Down
16 changes: 0 additions & 16 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1227,8 +1227,6 @@ def overrides
"v2.advisory" => "Advisory",
"v2.agent_trigger" => "AgentTrigger",
"v2.agent_trigger_wrapper" => "AgentTriggerWrapper",
"v2.aggregated_high_frozen_frame_rate" => "AggregatedHighFrozenFrameRate",
"v2.aggregated_high_script_eval" => "AggregatedHighScriptEval",
"v2.aggregated_long_tasks_by_invoker_type" => "AggregatedLongTasksByInvokerType",
"v2.aggregated_long_tasks_request" => "AggregatedLongTasksRequest",
"v2.aggregated_long_tasks_request_attributes" => "AggregatedLongTasksRequestAttributes",
Expand All @@ -1238,20 +1236,8 @@ def overrides
"v2.aggregated_long_tasks_response_attributes" => "AggregatedLongTasksResponseAttributes",
"v2.aggregated_long_tasks_response_attributes_criteria" => "AggregatedLongTasksResponseAttributesCriteria",
"v2.aggregated_long_tasks_response_data" => "AggregatedLongTasksResponseData",
"v2.aggregated_low_cache_hit_rate" => "AggregatedLowCacheHitRate",
"v2.aggregated_mobile_scroll_friction" => "AggregatedMobileScrollFriction",
"v2.aggregated_resource" => "AggregatedResource",
"v2.aggregated_resource_timing_breakdown" => "AggregatedResourceTimingBreakdown",
"v2.aggregated_signals_problems_request" => "AggregatedSignalsProblemsRequest",
"v2.aggregated_signals_problems_request_attributes" => "AggregatedSignalsProblemsRequestAttributes",
"v2.aggregated_signals_problems_request_data" => "AggregatedSignalsProblemsRequestData",
"v2.aggregated_signals_problems_request_type" => "AggregatedSignalsProblemsRequestType",
"v2.aggregated_signals_problems_response" => "AggregatedSignalsProblemsResponse",
"v2.aggregated_signals_problems_response_attributes" => "AggregatedSignalsProblemsResponseAttributes",
"v2.aggregated_signals_problems_response_data" => "AggregatedSignalsProblemsResponseData",
"v2.aggregated_slow_fcp_high_bytes" => "AggregatedSlowFCPHighBytes",
"v2.aggregated_slow_interaction_long_task" => "AggregatedSlowInteractionLongTask",
"v2.aggregated_uncompressed_resource" => "AggregatedUncompressedResource",
"v2.aggregated_waterfall_performance_criteria" => "AggregatedWaterfallPerformanceCriteria",
"v2.aggregated_waterfall_performance_criteria_metric" => "AggregatedWaterfallPerformanceCriteriaMetric",
"v2.aggregated_waterfall_request" => "AggregatedWaterfallRequest",
Expand Down Expand Up @@ -7953,8 +7939,6 @@ def overrides
"v2.signal_entities_data" => "SignalEntitiesData",
"v2.signal_entities_response" => "SignalEntitiesResponse",
"v2.signal_entities_type" => "SignalEntitiesType",
"v2.signals_problems_detections" => "SignalsProblemsDetections",
"v2.signals_problems_sample_metadata" => "SignalsProblemsSampleMetadata",
"v2.simple_monitor_user_template" => "SimpleMonitorUserTemplate",
"v2.single_aggregated_connection_response_array" => "SingleAggregatedConnectionResponseArray",
"v2.single_aggregated_connection_response_data" => "SingleAggregatedConnectionResponseData",
Expand Down
73 changes: 0 additions & 73 deletions lib/datadog_api_client/v2/api/rum_insights_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,79 +96,6 @@ def query_aggregated_long_tasks_with_http_info(body, opts = {})
return data, status_code, headers
end

# Query aggregated signals and problems.
#
# @see #query_aggregated_signals_problems_with_http_info
def query_aggregated_signals_problems(body, opts = {})
data, _status_code, _headers = query_aggregated_signals_problems_with_http_info(body, opts)
data
end

# Query aggregated signals and problems.
#
# Get aggregated performance signals and problem detections for a RUM view, sampled across multiple view instances.
#
# @param body [AggregatedSignalsProblemsRequest]
# @param opts [Hash] the optional parameters
# @return [Array<(AggregatedSignalsProblemsResponse, Integer, Hash)>] AggregatedSignalsProblemsResponse data, response status code and response headers
def query_aggregated_signals_problems_with_http_info(body, opts = {})
unstable_enabled = @api_client.config.unstable_operations["v2.query_aggregated_signals_problems".to_sym]
if unstable_enabled
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.query_aggregated_signals_problems")
else
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.query_aggregated_signals_problems"))
end

if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: RUMInsightsAPI.query_aggregated_signals_problems ...'
end
# verify the required parameter 'body' is set
if @api_client.config.client_side_validation && body.nil?
fail ArgumentError, "Missing the required parameter 'body' when calling RUMInsightsAPI.query_aggregated_signals_problems"
end
# resource path
local_var_path = '/api/v2/rum/query/insight/aggregated_signals_problems'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
# HTTP header 'Content-Type'
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)

# return_type
return_type = opts[:debug_return_type] || 'AggregatedSignalsProblemsResponse'

# auth_names
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]

new_options = opts.merge(
:operation => :query_aggregated_signals_problems,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type,
:api_version => "V2"
)

data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RUMInsightsAPI#query_aggregated_signals_problems\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end

# Query aggregated waterfall.
#
# @see #query_aggregated_waterfall_with_http_info
Expand Down
Loading
Loading