Update the cross-product sample rates of a hardcoded retention filter for a RUM application.
Only fields whose matching flag in cross_product_sampling_editability is true can be updated.
Any other field is read-only and cannot be sent in the payload.
Returns the updated hardcoded retention filter when the request is successful.
Arguments
Path Parameters
Name
Type
Description
app_id [required]
string
RUM application ID.
rf_id [required]
string
Hardcoded retention filter ID.
Request
Body Data (required)
New cross-product sample rates for the hardcoded retention filter.
The hardcoded retention filter properties to update.
attributes [required]
object
The attributes of a hardcoded retention filter that can be updated.
Only fields whose matching flag in cross_product_sampling_editability is true can be modified.
cross_product_sampling
object
Partial update for cross-product retention of a hardcoded retention filter.
Only fields whose matching flag in cross_product_sampling_editability is true can be updated.
session_replay_enabled
boolean
Controls whether Session Replay cross-product retention is active. Omit to leave unchanged.
session_replay_sample_rate
double
Percentage (0–100) of retained sessions with an ingested replay whose replay data is kept.
Omit to leave unchanged.
trace_enabled
boolean
Controls whether Trace cross-product retention is active. Omit to leave unchanged.
trace_sample_rate
double
Percentage (0–100) of retained sessions with ingested traces whose traces are indexed.
Omit to leave unchanged.
id [required]
string
The ID of the hardcoded retention filter. Must match the rf_id path parameter.
type [required]
enum
The resource type. The value must be hardcoded_retention_filters.
Allowed enum values: hardcoded_retention_filters