@@ -1496,6 +1496,13 @@ components:
14961496 required: true
14971497 schema:
14981498 type: string
1499+ RumPermanentRetentionFilterIDParameter:
1500+ description: The identifier of the permanent RUM retention filter.
1501+ in: path
1502+ name: permanent_rf_id
1503+ required: true
1504+ schema:
1505+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
14991506 RumRetentionFilterIDParameter:
15001507 description: Retention filter ID.
15011508 in: path
@@ -68515,6 +68522,100 @@ components:
6851568522 $ref: "#/components/schemas/RumMetricResponseData"
6851668523 type: array
6851768524 type: object
68525+ RumPermanentRetentionFilterAttributes:
68526+ description: The attributes of a permanent RUM retention filter.
68527+ properties:
68528+ cross_product_sampling:
68529+ $ref: "#/components/schemas/RumCrossProductSampling"
68530+ description:
68531+ description: A description of what the filter retains.
68532+ example: "All sessions generated by Synthetics are retained at 100%."
68533+ type: string
68534+ editability:
68535+ $ref: "#/components/schemas/RumPermanentRetentionFilterEditability"
68536+ name:
68537+ description: The display name of the permanent retention filter.
68538+ example: "Synthetics Sessions"
68539+ type: string
68540+ type: object
68541+ RumPermanentRetentionFilterData:
68542+ description: A permanent RUM retention filter.
68543+ properties:
68544+ attributes:
68545+ $ref: "#/components/schemas/RumPermanentRetentionFilterAttributes"
68546+ id:
68547+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
68548+ type:
68549+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
68550+ type: object
68551+ RumPermanentRetentionFilterEditability:
68552+ description: Indicates which cross-product fields of a permanent RUM retention filter can be updated.
68553+ properties:
68554+ trace_editable:
68555+ description: Whether the APM trace cross-product configuration of the filter can be updated.
68556+ example: true
68557+ type: boolean
68558+ type: object
68559+ RumPermanentRetentionFilterID:
68560+ description: The identifier of a permanent RUM retention filter.
68561+ enum:
68562+ - rum_apm_flat_sampling
68563+ - synthetic_sessions
68564+ - forced_replay_sessions
68565+ example: synthetic_sessions
68566+ type: string
68567+ x-enum-varnames: ["RUM_APM_FLAT_SAMPLING", "SYNTHETIC_SESSIONS", "FORCED_REPLAY_SESSIONS"]
68568+ RumPermanentRetentionFilterResponse:
68569+ description: A permanent RUM retention filter object.
68570+ properties:
68571+ data:
68572+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
68573+ type: object
68574+ RumPermanentRetentionFilterType:
68575+ default: permanent_retention_filters
68576+ description: The type of the resource. The value should always be `permanent_retention_filters`.
68577+ enum:
68578+ - permanent_retention_filters
68579+ example: permanent_retention_filters
68580+ type: string
68581+ x-enum-varnames: ["PERMANENT_RETENTION_FILTERS"]
68582+ RumPermanentRetentionFilterUpdateAttributes:
68583+ description: The configuration to update on a permanent RUM retention filter.
68584+ properties:
68585+ cross_product_sampling:
68586+ $ref: "#/components/schemas/RumCrossProductSamplingUpdate"
68587+ type: object
68588+ RumPermanentRetentionFilterUpdateData:
68589+ description: The new permanent RUM retention filter configuration to update.
68590+ properties:
68591+ attributes:
68592+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateAttributes"
68593+ id:
68594+ $ref: "#/components/schemas/RumPermanentRetentionFilterID"
68595+ type:
68596+ $ref: "#/components/schemas/RumPermanentRetentionFilterType"
68597+ required:
68598+ - id
68599+ - type
68600+ - attributes
68601+ type: object
68602+ RumPermanentRetentionFilterUpdateRequest:
68603+ description: The permanent RUM retention filter body to update.
68604+ properties:
68605+ data:
68606+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateData"
68607+ required:
68608+ - data
68609+ type: object
68610+ RumPermanentRetentionFiltersResponse:
68611+ description: All permanent RUM retention filters for a RUM application.
68612+ properties:
68613+ data:
68614+ description: A list of permanent RUM retention filters.
68615+ items:
68616+ $ref: "#/components/schemas/RumPermanentRetentionFilterData"
68617+ type: array
68618+ type: object
6851868619 RumRetentionFilterAttributes:
6851968620 description: The object describing attributes of a RUM retention filter.
6852068621 properties:
@@ -140956,6 +141057,159 @@ paths:
140956141057 tags:
140957141058 - Rum Retention Filters
140958141059 x-codegen-request-body-name: body
141060+ /api/v2/rum/applications/{app_id}/retention_filters/permanent:
141061+ get:
141062+ description: |-
141063+ Get the list of permanent RUM retention filters for a RUM application.
141064+ Permanent retention filters are predefined filters that cannot be created or deleted.
141065+ For each filter, the `editability` block indicates which cross-product fields can be updated.
141066+ operationId: ListPermanentRetentionFilters
141067+ parameters:
141068+ - $ref: "#/components/parameters/RumApplicationIDParameter"
141069+ responses:
141070+ "200":
141071+ content:
141072+ application/json:
141073+ examples:
141074+ default:
141075+ value:
141076+ data:
141077+ - attributes:
141078+ cross_product_sampling:
141079+ trace_enabled: true
141080+ trace_sample_rate: 100.0
141081+ description: RUM retains all Synthetics sessions.
141082+ editability:
141083+ trace_editable: true
141084+ name: Synthetics Sessions
141085+ id: synthetic_sessions
141086+ type: permanent_retention_filters
141087+ - attributes:
141088+ cross_product_sampling:
141089+ trace_enabled: true
141090+ trace_sample_rate: 100.0
141091+ description: RUM retains all sessions with forced replays.
141092+ editability:
141093+ trace_editable: true
141094+ name: Forced Replay Sessions
141095+ id: forced_replay_sessions
141096+ type: permanent_retention_filters
141097+ - attributes:
141098+ cross_product_sampling:
141099+ trace_enabled: true
141100+ trace_sample_rate: 100.0
141101+ description: Configures APM trace sampling for RUM sessions using flat sampling.
141102+ editability:
141103+ trace_editable: false
141104+ name: RUM APM Flat Sampling
141105+ id: rum_apm_flat_sampling
141106+ type: permanent_retention_filters
141107+ schema:
141108+ $ref: "#/components/schemas/RumPermanentRetentionFiltersResponse"
141109+ description: OK
141110+ "403":
141111+ $ref: "#/components/responses/NotAuthorizedResponse"
141112+ "429":
141113+ $ref: "#/components/responses/TooManyRequestsResponse"
141114+ summary: Get all permanent RUM retention filters
141115+ tags:
141116+ - Rum Retention Filters
141117+ /api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}:
141118+ get:
141119+ description: Get a permanent RUM retention filter for a RUM application by its identifier.
141120+ operationId: GetPermanentRetentionFilter
141121+ parameters:
141122+ - $ref: "#/components/parameters/RumApplicationIDParameter"
141123+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
141124+ responses:
141125+ "200":
141126+ content:
141127+ application/json:
141128+ examples:
141129+ default:
141130+ value:
141131+ data:
141132+ attributes:
141133+ cross_product_sampling:
141134+ trace_enabled: true
141135+ trace_sample_rate: 75.0
141136+ description: RUM retains all Synthetics sessions.
141137+ editability:
141138+ trace_editable: true
141139+ name: Synthetics Sessions
141140+ id: synthetic_sessions
141141+ type: permanent_retention_filters
141142+ schema:
141143+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
141144+ description: OK
141145+ "403":
141146+ $ref: "#/components/responses/NotAuthorizedResponse"
141147+ "404":
141148+ $ref: "#/components/responses/NotFoundResponse"
141149+ "429":
141150+ $ref: "#/components/responses/TooManyRequestsResponse"
141151+ summary: Get a permanent RUM retention filter
141152+ tags:
141153+ - Rum Retention Filters
141154+ patch:
141155+ description: |-
141156+ Update the cross-product sampling configuration of a permanent RUM retention filter for a RUM application.
141157+ Only fields marked as editable in the `editability` block of the filter can be updated.
141158+ Updating a non-editable field returns a `400` response.
141159+ operationId: UpdatePermanentRetentionFilter
141160+ parameters:
141161+ - $ref: "#/components/parameters/RumApplicationIDParameter"
141162+ - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter"
141163+ requestBody:
141164+ content:
141165+ application/json:
141166+ examples:
141167+ default:
141168+ value:
141169+ data:
141170+ attributes:
141171+ cross_product_sampling:
141172+ trace_enabled: true
141173+ trace_sample_rate: 50.0
141174+ id: synthetic_sessions
141175+ type: permanent_retention_filters
141176+ schema:
141177+ $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateRequest"
141178+ description: New configuration of the permanent RUM retention filter.
141179+ required: true
141180+ responses:
141181+ "200":
141182+ content:
141183+ application/json:
141184+ examples:
141185+ default:
141186+ value:
141187+ data:
141188+ attributes:
141189+ cross_product_sampling:
141190+ trace_enabled: true
141191+ trace_sample_rate: 50.0
141192+ description: RUM retains all Synthetics sessions.
141193+ editability:
141194+ trace_editable: true
141195+ name: Synthetics Sessions
141196+ id: synthetic_sessions
141197+ type: permanent_retention_filters
141198+ schema:
141199+ $ref: "#/components/schemas/RumPermanentRetentionFilterResponse"
141200+ description: Updated
141201+ "400":
141202+ $ref: "#/components/responses/BadRequestResponse"
141203+ "403":
141204+ $ref: "#/components/responses/NotAuthorizedResponse"
141205+ "404":
141206+ $ref: "#/components/responses/NotFoundResponse"
141207+ "429":
141208+ $ref: "#/components/responses/TooManyRequestsResponse"
141209+ summary: Update a permanent RUM retention filter
141210+ tags:
141211+ - Rum Retention Filters
141212+ x-codegen-request-body-name: body
140959141213 /api/v2/rum/applications/{app_id}/retention_filters/{rf_id}:
140960141214 delete:
140961141215 description: Delete a RUM retention filter for a RUM application.
0 commit comments