@@ -16072,6 +16072,7 @@ components:
1607216072 - spans-sampling-processor
1607316073 - spans-errors-sampling-processor
1607416074 - spans-appsec-sampling-processor
16075+ example: spans-sampling-processor
1607516076 type: string
1607616077 x-enum-varnames:
1607716078 - SPANS_SAMPLING_PROCESSOR
@@ -16188,11 +16189,42 @@ components:
1618816189 type: string
1618916190 x-enum-varnames:
1619016191 - SPANS_SAMPLING_PROCESSOR
16192+ RetentionFilterUpdateAttributes:
16193+ description: The object describing the configuration of the retention filter
16194+ to create/update.
16195+ properties:
16196+ enabled:
16197+ description: Enable/Disable the retention filter.
16198+ example: true
16199+ type: boolean
16200+ filter:
16201+ $ref: '#/components/schemas/SpansFilterCreate'
16202+ filter_type:
16203+ $ref: '#/components/schemas/RetentionFilterAllType'
16204+ name:
16205+ description: The name of the retention filter.
16206+ example: my retention filter
16207+ type: string
16208+ rate:
16209+ description: 'Sample rate to apply to spans going through this retention
16210+ filter,
16211+
16212+ a value of 1.0 keeps all spans matching the query.'
16213+ example: 1.0
16214+ format: double
16215+ type: number
16216+ required:
16217+ - name
16218+ - filter
16219+ - enabled
16220+ - filter_type
16221+ - rate
16222+ type: object
1619116223 RetentionFilterUpdateData:
1619216224 description: The body of the retention filter to be updated.
1619316225 properties:
1619416226 attributes:
16195- $ref: '#/components/schemas/RetentionFilterCreateAttributes '
16227+ $ref: '#/components/schemas/RetentionFilterUpdateAttributes '
1619616228 id:
1619716229 description: The ID of the retention filter.
1619816230 example: retention-filter-id
@@ -23271,7 +23303,11 @@ paths:
2327123303 post:
2327223304 description: 'Create a retention filter to index spans in your organization.
2327323305
23274- Returns the retention filter definition when the request is successful.'
23306+ Returns the retention filter definition when the request is successful.
23307+
23308+
23309+ Default filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor
23310+ cannot be created.'
2327523311 operationId: CreateApmRetentionFilter
2327623312 requestBody:
2327723313 content:
@@ -23325,7 +23361,11 @@ paths:
2332523361 x-codegen-request-body-name: body
2332623362 /api/v2/apm/config/retention-filters/{filter_id}:
2332723363 delete:
23328- description: Delete a specific retention filter from your organization.
23364+ description: 'Delete a specific retention filter from your organization.
23365+
23366+
23367+ Default filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor
23368+ cannot be deleted.'
2332923369 operationId: DeleteApmRetentionFilter
2333023370 parameters:
2333123371 - $ref: '#/components/parameters/RetentionFilterIdParam'
@@ -23363,7 +23403,11 @@ paths:
2336323403 tags:
2336423404 - APM Retention Filters
2336523405 put:
23366- description: Update a retention filter from your organization.
23406+ description: 'Update a retention filter from your organization.
23407+
23408+
23409+ Default filters (filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor)
23410+ cannot be renamed or removed.'
2336723411 operationId: UpdateApmRetentionFilter
2336823412 parameters:
2336923413 - $ref: '#/components/parameters/RetentionFilterIdParam'
0 commit comments