@@ -1504,6 +1504,13 @@ components:
15041504 required: true
15051505 schema:
15061506 type: string
1507+ RumPermanentRetentionFilterIDParameter:
1508+ description: The identifier of the permanent RUM retention filter.
1509+ in: path
1510+ name: permanent_rf_id
1511+ required: true
1512+ schema:
1513+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
15071514 RumRetentionFilterIDParameter:
15081515 description: Retention filter ID.
15091516 in: path
@@ -70081,6 +70088,100 @@ components:
7008170088 $ref: "#/components/schemas/RumMetricResponseData"
7008270089 type: array
7008370090 type: object
70091+ RumPermanentRetentionFilterAttributes:
70092+ description: The attributes of a permanent RUM retention filter.
70093+ properties:
70094+ cross_product_sampling:
70095+ $ref: "#/components/schemas/RumCrossProductSampling"
70096+ description:
70097+ description: A description of what the filter retains.
70098+ example: "All sessions generated by Synthetics are retained at 100%."
70099+ type: string
70100+ editability:
70101+ $ref: "#/components/schemas/RumPermanentRetentionFilterEditability"
70102+ name:
70103+ description: The display name of the permanent retention filter.
70104+ example: "Synthetics Sessions"
70105+ type: string
70106+ type: object
70107+ RumPermanentRetentionFilterData:
70108+ description: A permanent RUM retention filter.
70109+ properties:
70110+ attributes:
70111+ $ref: "#/components/schemas/RumPermanentRetentionFilterAttributes"
70112+ id:
70113+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
70114+ type:
70115+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
70116+ type: object
70117+ RumPermanentRetentionFilterEditability:
70118+ description: Indicates which cross-product fields of a permanent RUM retention filter can be updated.
70119+ properties:
70120+ trace_editable:
70121+ description: Whether the APM trace cross-product configuration of the filter can be updated.
70122+ example: true
70123+ type: boolean
70124+ type: object
70125+ RumPermanentRetentionFilterID:
70126+ description: The identifier of a permanent RUM retention filter.
70127+ enum:
70128+ - rum_apm_flat_sampling
70129+ - synthetics_sessions
70130+ - forced_replay_sessions
70131+ example: synthetics_sessions
70132+ type: string
70133+ x-enum-varnames: ["RUM_APM_FLAT_SAMPLING", "SYNTHETICS_SESSIONS", "FORCED_REPLAY_SESSIONS"]
70134+ RumPermanentRetentionFilterResponse:
70135+ description: A permanent RUM retention filter object.
70136+ properties:
70137+ data:
70138+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
70139+ type: object
70140+ RumPermanentRetentionFilterType:
70141+ default: permanent_retention_filters
70142+ description: The type of the resource. The value should always be `permanent_retention_filters`.
70143+ enum:
70144+ - permanent_retention_filters
70145+ example: permanent_retention_filters
70146+ type: string
70147+ x-enum-varnames: ["PERMANENT_RETENTION_FILTERS"]
70148+ RumPermanentRetentionFilterUpdateAttributes:
70149+ description: The configuration to update on a permanent RUM retention filter.
70150+ properties:
70151+ cross_product_sampling:
70152+ $ref: "#/components/schemas/RumCrossProductSamplingUpdate"
70153+ type: object
70154+ RumPermanentRetentionFilterUpdateData:
70155+ description: The new permanent RUM retention filter configuration to update.
70156+ properties:
70157+ attributes:
70158+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateAttributes"
70159+ id:
70160+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
70161+ type:
70162+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
70163+ required:
70164+ - id
70165+ - type
70166+ - attributes
70167+ type: object
70168+ RumPermanentRetentionFilterUpdateRequest:
70169+ description: The permanent RUM retention filter body to update.
70170+ properties:
70171+ data:
70172+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateData"
70173+ required:
70174+ - data
70175+ type: object
70176+ RumPermanentRetentionFiltersResponse:
70177+ description: All permanent RUM retention filters for a RUM application.
70178+ properties:
70179+ data:
70180+ description: A list of permanent RUM retention filters.
70181+ items:
70182+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
70183+ type: array
70184+ type: object
7008470185 RumRetentionFilterAttributes:
7008570186 description: The object describing attributes of a RUM retention filter.
7008670187 properties:
@@ -143331,6 +143432,159 @@ paths:
143331143432 tags:
143332143433 - Rum Retention Filters
143333143434 x-codegen-request-body-name: body
143435+ /api/v2/rum/applications/{app_id}/retention_filters/permanent:
143436+ get:
143437+ description: |-
143438+ Get the list of permanent RUM retention filters for a RUM application.
143439+ Permanent retention filters are predefined filters that cannot be created or deleted.
143440+ For each filter, the `editability` block indicates which cross-product fields can be updated.
143441+ operationId: ListPermanentRetentionFilters
143442+ parameters:
143443+ - $ref: "#/components/parameters/RumApplicationIDParameter"
143444+ responses:
143445+ "200":
143446+ content:
143447+ application/json:
143448+ examples:
143449+ default:
143450+ value:
143451+ data:
143452+ - attributes:
143453+ cross_product_sampling:
143454+ trace_enabled: true
143455+ trace_sample_rate: 100.0
143456+ description: RUM retains all Synthetics sessions.
143457+ editability:
143458+ trace_editable: true
143459+ name: Synthetics Sessions
143460+ id: synthetics_sessions
143461+ type: permanent_retention_filters
143462+ - attributes:
143463+ cross_product_sampling:
143464+ trace_enabled: true
143465+ trace_sample_rate: 100.0
143466+ description: RUM retains all sessions with forced replays.
143467+ editability:
143468+ trace_editable: true
143469+ name: Forced Replay Sessions
143470+ id: forced_replay_sessions
143471+ type: permanent_retention_filters
143472+ - attributes:
143473+ cross_product_sampling:
143474+ trace_enabled: true
143475+ trace_sample_rate: 100.0
143476+ description: Configures APM trace sampling for RUM sessions using flat sampling.
143477+ editability:
143478+ trace_editable: false
143479+ name: RUM APM Flat Sampling
143480+ id: rum_apm_flat_sampling
143481+ type: permanent_retention_filters
143482+ schema:
143483+ $ref: "#/components/schemas/RumPermanentRetentionFiltersResponse"
143484+ description: OK
143485+ "403":
143486+ $ref: "#/components/responses/NotAuthorizedResponse"
143487+ "429":
143488+ $ref: "#/components/responses/TooManyRequestsResponse"
143489+ summary: Get all permanent RUM retention filters
143490+ tags:
143491+ - Rum Retention Filters
143492+ /api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}:
143493+ get:
143494+ description: Get a permanent RUM retention filter for a RUM application by its identifier.
143495+ operationId: GetPermanentRetentionFilter
143496+ parameters:
143497+ - $ref: "#/components/parameters/RumApplicationIDParameter"
143498+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
143499+ responses:
143500+ "200":
143501+ content:
143502+ application/json:
143503+ examples:
143504+ default:
143505+ value:
143506+ data:
143507+ attributes:
143508+ cross_product_sampling:
143509+ trace_enabled: true
143510+ trace_sample_rate: 75.0
143511+ description: RUM retains all Synthetics sessions.
143512+ editability:
143513+ trace_editable: true
143514+ name: Synthetics Sessions
143515+ id: synthetics_sessions
143516+ type: permanent_retention_filters
143517+ schema:
143518+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
143519+ description: OK
143520+ "403":
143521+ $ref: "#/components/responses/NotAuthorizedResponse"
143522+ "404":
143523+ $ref: "#/components/responses/NotFoundResponse"
143524+ "429":
143525+ $ref: "#/components/responses/TooManyRequestsResponse"
143526+ summary: Get a permanent RUM retention filter
143527+ tags:
143528+ - Rum Retention Filters
143529+ patch:
143530+ description: |-
143531+ Update the cross-product sampling configuration of a permanent RUM retention filter for a RUM application.
143532+ Only fields marked as editable in the `editability` block of the filter can be updated.
143533+ Updating a non-editable field returns a `400` response.
143534+ operationId: UpdatePermanentRetentionFilter
143535+ parameters:
143536+ - $ref: "#/components/parameters/RumApplicationIDParameter"
143537+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
143538+ requestBody:
143539+ content:
143540+ application/json:
143541+ examples:
143542+ default:
143543+ value:
143544+ data:
143545+ attributes:
143546+ cross_product_sampling:
143547+ trace_enabled: true
143548+ trace_sample_rate: 50.0
143549+ id: synthetics_sessions
143550+ type: permanent_retention_filters
143551+ schema:
143552+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateRequest"
143553+ description: New configuration of the permanent RUM retention filter.
143554+ required: true
143555+ responses:
143556+ "200":
143557+ content:
143558+ application/json:
143559+ examples:
143560+ default:
143561+ value:
143562+ data:
143563+ attributes:
143564+ cross_product_sampling:
143565+ trace_enabled: true
143566+ trace_sample_rate: 50.0
143567+ description: RUM retains all Synthetics sessions.
143568+ editability:
143569+ trace_editable: true
143570+ name: Synthetics Sessions
143571+ id: synthetics_sessions
143572+ type: permanent_retention_filters
143573+ schema:
143574+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
143575+ description: Updated
143576+ "400":
143577+ $ref: "#/components/responses/BadRequestResponse"
143578+ "403":
143579+ $ref: "#/components/responses/NotAuthorizedResponse"
143580+ "404":
143581+ $ref: "#/components/responses/NotFoundResponse"
143582+ "429":
143583+ $ref: "#/components/responses/TooManyRequestsResponse"
143584+ summary: Update a permanent RUM retention filter
143585+ tags:
143586+ - Rum Retention Filters
143587+ x-codegen-request-body-name: body
143334143588 /api/v2/rum/applications/{app_id}/retention_filters/{rf_id}:
143335143589 delete:
143336143590 description: Delete a RUM retention filter for a RUM application.
0 commit comments