@@ -1558,6 +1558,13 @@ components:
15581558 required: true
15591559 schema:
15601560 type: string
1561+ RumPermanentRetentionFilterIDParameter:
1562+ description: The identifier of the permanent RUM retention filter.
1563+ in: path
1564+ name: permanent_rf_id
1565+ required: true
1566+ schema:
1567+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
15611568 RumRetentionFilterIDParameter:
15621569 description: Retention filter ID.
15631570 in: path
@@ -71346,6 +71353,100 @@ components:
7134671353 $ref: "#/components/schemas/RumMetricResponseData"
7134771354 type: array
7134871355 type: object
71356+ RumPermanentRetentionFilterAttributes:
71357+ description: The attributes of a permanent RUM retention filter.
71358+ properties:
71359+ cross_product_sampling:
71360+ $ref: "#/components/schemas/RumCrossProductSampling"
71361+ description:
71362+ description: A description of what the filter retains.
71363+ example: "All sessions generated by Synthetics are retained at 100%."
71364+ type: string
71365+ editability:
71366+ $ref: "#/components/schemas/RumPermanentRetentionFilterEditability"
71367+ name:
71368+ description: The display name of the permanent retention filter.
71369+ example: "Synthetics Sessions"
71370+ type: string
71371+ type: object
71372+ RumPermanentRetentionFilterData:
71373+ description: A permanent RUM retention filter.
71374+ properties:
71375+ attributes:
71376+ $ref: "#/components/schemas/RumPermanentRetentionFilterAttributes"
71377+ id:
71378+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
71379+ type:
71380+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
71381+ type: object
71382+ RumPermanentRetentionFilterEditability:
71383+ description: Indicates which cross-product fields of a permanent RUM retention filter can be updated.
71384+ properties:
71385+ trace_editable:
71386+ description: Whether the APM trace cross-product configuration of the filter can be updated.
71387+ example: true
71388+ type: boolean
71389+ type: object
71390+ RumPermanentRetentionFilterID:
71391+ description: The identifier of a permanent RUM retention filter.
71392+ enum:
71393+ - rum_apm_flat_sampling
71394+ - synthetics_sessions
71395+ - forced_replay_sessions
71396+ example: synthetics_sessions
71397+ type: string
71398+ x-enum-varnames: ["RUM_APM_FLAT_SAMPLING", "SYNTHETICS_SESSIONS", "FORCED_REPLAY_SESSIONS"]
71399+ RumPermanentRetentionFilterResponse:
71400+ description: A permanent RUM retention filter object.
71401+ properties:
71402+ data:
71403+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
71404+ type: object
71405+ RumPermanentRetentionFilterType:
71406+ default: permanent_retention_filters
71407+ description: The type of the resource. The value should always be `permanent_retention_filters`.
71408+ enum:
71409+ - permanent_retention_filters
71410+ example: permanent_retention_filters
71411+ type: string
71412+ x-enum-varnames: ["PERMANENT_RETENTION_FILTERS"]
71413+ RumPermanentRetentionFilterUpdateAttributes:
71414+ description: The configuration to update on a permanent RUM retention filter.
71415+ properties:
71416+ cross_product_sampling:
71417+ $ref: "#/components/schemas/RumCrossProductSamplingUpdate"
71418+ type: object
71419+ RumPermanentRetentionFilterUpdateData:
71420+ description: The new permanent RUM retention filter configuration to update.
71421+ properties:
71422+ attributes:
71423+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateAttributes"
71424+ id:
71425+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
71426+ type:
71427+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
71428+ required:
71429+ - id
71430+ - type
71431+ - attributes
71432+ type: object
71433+ RumPermanentRetentionFilterUpdateRequest:
71434+ description: The permanent RUM retention filter body to update.
71435+ properties:
71436+ data:
71437+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateData"
71438+ required:
71439+ - data
71440+ type: object
71441+ RumPermanentRetentionFiltersResponse:
71442+ description: All permanent RUM retention filters for a RUM application.
71443+ properties:
71444+ data:
71445+ description: A list of permanent RUM retention filters.
71446+ items:
71447+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
71448+ type: array
71449+ type: object
7134971450 RumRetentionFilterAttributes:
7135071451 description: The object describing attributes of a RUM retention filter.
7135171452 properties:
@@ -146051,6 +146152,159 @@ paths:
146051146152 tags:
146052146153 - Rum Retention Filters
146053146154 x-codegen-request-body-name: body
146155+ /api/v2/rum/applications/{app_id}/retention_filters/permanent:
146156+ get:
146157+ description: |-
146158+ Get the list of permanent RUM retention filters for a RUM application.
146159+ Permanent retention filters are predefined filters that cannot be created or deleted.
146160+ For each filter, the `editability` block indicates which cross-product fields can be updated.
146161+ operationId: ListPermanentRetentionFilters
146162+ parameters:
146163+ - $ref: "#/components/parameters/RumApplicationIDParameter"
146164+ responses:
146165+ "200":
146166+ content:
146167+ application/json:
146168+ examples:
146169+ default:
146170+ value:
146171+ data:
146172+ - attributes:
146173+ cross_product_sampling:
146174+ trace_enabled: true
146175+ trace_sample_rate: 100.0
146176+ description: RUM retains all Synthetics sessions.
146177+ editability:
146178+ trace_editable: true
146179+ name: Synthetics Sessions
146180+ id: synthetics_sessions
146181+ type: permanent_retention_filters
146182+ - attributes:
146183+ cross_product_sampling:
146184+ trace_enabled: true
146185+ trace_sample_rate: 100.0
146186+ description: RUM retains all sessions with forced replays.
146187+ editability:
146188+ trace_editable: true
146189+ name: Forced Replay Sessions
146190+ id: forced_replay_sessions
146191+ type: permanent_retention_filters
146192+ - attributes:
146193+ cross_product_sampling:
146194+ trace_enabled: true
146195+ trace_sample_rate: 100.0
146196+ description: Configures APM trace sampling for RUM sessions using flat sampling.
146197+ editability:
146198+ trace_editable: false
146199+ name: RUM APM Flat Sampling
146200+ id: rum_apm_flat_sampling
146201+ type: permanent_retention_filters
146202+ schema:
146203+ $ref: "#/components/schemas/RumPermanentRetentionFiltersResponse"
146204+ description: OK
146205+ "403":
146206+ $ref: "#/components/responses/NotAuthorizedResponse"
146207+ "429":
146208+ $ref: "#/components/responses/TooManyRequestsResponse"
146209+ summary: Get all permanent RUM retention filters
146210+ tags:
146211+ - Rum Retention Filters
146212+ /api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}:
146213+ get:
146214+ description: Get a permanent RUM retention filter for a RUM application by its identifier.
146215+ operationId: GetPermanentRetentionFilter
146216+ parameters:
146217+ - $ref: "#/components/parameters/RumApplicationIDParameter"
146218+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
146219+ responses:
146220+ "200":
146221+ content:
146222+ application/json:
146223+ examples:
146224+ default:
146225+ value:
146226+ data:
146227+ attributes:
146228+ cross_product_sampling:
146229+ trace_enabled: true
146230+ trace_sample_rate: 75.0
146231+ description: RUM retains all Synthetics sessions.
146232+ editability:
146233+ trace_editable: true
146234+ name: Synthetics Sessions
146235+ id: synthetics_sessions
146236+ type: permanent_retention_filters
146237+ schema:
146238+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
146239+ description: OK
146240+ "403":
146241+ $ref: "#/components/responses/NotAuthorizedResponse"
146242+ "404":
146243+ $ref: "#/components/responses/NotFoundResponse"
146244+ "429":
146245+ $ref: "#/components/responses/TooManyRequestsResponse"
146246+ summary: Get a permanent RUM retention filter
146247+ tags:
146248+ - Rum Retention Filters
146249+ patch:
146250+ description: |-
146251+ Update the cross-product sampling configuration of a permanent RUM retention filter for a RUM application.
146252+ Only fields marked as editable in the `editability` block of the filter can be updated.
146253+ Updating a non-editable field returns a `400` response.
146254+ operationId: UpdatePermanentRetentionFilter
146255+ parameters:
146256+ - $ref: "#/components/parameters/RumApplicationIDParameter"
146257+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
146258+ requestBody:
146259+ content:
146260+ application/json:
146261+ examples:
146262+ default:
146263+ value:
146264+ data:
146265+ attributes:
146266+ cross_product_sampling:
146267+ trace_enabled: true
146268+ trace_sample_rate: 50.0
146269+ id: synthetics_sessions
146270+ type: permanent_retention_filters
146271+ schema:
146272+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateRequest"
146273+ description: New configuration of the permanent RUM retention filter.
146274+ required: true
146275+ responses:
146276+ "200":
146277+ content:
146278+ application/json:
146279+ examples:
146280+ default:
146281+ value:
146282+ data:
146283+ attributes:
146284+ cross_product_sampling:
146285+ trace_enabled: true
146286+ trace_sample_rate: 50.0
146287+ description: RUM retains all Synthetics sessions.
146288+ editability:
146289+ trace_editable: true
146290+ name: Synthetics Sessions
146291+ id: synthetics_sessions
146292+ type: permanent_retention_filters
146293+ schema:
146294+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
146295+ description: Updated
146296+ "400":
146297+ $ref: "#/components/responses/BadRequestResponse"
146298+ "403":
146299+ $ref: "#/components/responses/NotAuthorizedResponse"
146300+ "404":
146301+ $ref: "#/components/responses/NotFoundResponse"
146302+ "429":
146303+ $ref: "#/components/responses/TooManyRequestsResponse"
146304+ summary: Update a permanent RUM retention filter
146305+ tags:
146306+ - Rum Retention Filters
146307+ x-codegen-request-body-name: body
146054146308 /api/v2/rum/applications/{app_id}/retention_filters/{rf_id}:
146055146309 delete:
146056146310 description: Delete a RUM retention filter for a RUM application.
0 commit comments