Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 16 additions & 25 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54741,43 +54741,33 @@ components:
x-enum-varnames:
- RULESET
RumCrossProductSampling:
description: 'Configuration for additional APM trace data retention for sessions
that match this retention filter.

When a session matches the filter and is retained (based on `sample_rate`),
you can configure

the percentage of retained sessions with ingested traces whose traces are
indexed.'
description: The configuration for cross-product retention filters.
properties:
trace_enabled:
description: Indicates whether trace cross-product sampling is enabled.
If `false`, no traces are indexed regardless of `trace_sample_rate`.
description: Whether the cross-product retention filter for APM traces is
enabled.
example: true
type: boolean
trace_sample_rate:
description: 'The percentage (0-100) of retained sessions with ingested
traces whose traces are indexed.

For example, 25.0 means 25% of retained sessions with ingested traces
have their traces indexed.'
description: The sample rate for the APM cross-product retention filter,
between 0 and 100.
example: 25.0
format: double
maximum: 100
minimum: 0
type: number
type: object
RumCrossProductSamplingCreate:
description: Configuration for cross-product sampling when creating a retention
filter.
description: The configuration for cross-product retention filters.
properties:
trace_enabled:
description: Indicates whether trace cross-product sampling is enabled.
description: Whether the cross-product retention filter for APM traces is
enabled.
example: true
type: boolean
trace_sample_rate:
description: The percentage (0-100) of retained sessions with ingested traces
whose traces are indexed.
description: The sample rate for the APM cross-product retention filter,
between 0 and 100.
example: 25.0
format: double
maximum: 100
Expand All @@ -54787,16 +54777,17 @@ components:
- trace_sample_rate
type: object
RumCrossProductSamplingUpdate:
description: Configuration for cross-product sampling when updating a retention
filter. All fields are optional for partial updates.
description: The configuration for cross-product retention filters. All fields
are optional for partial updates.
properties:
trace_enabled:
description: Indicates whether trace cross-product sampling is enabled.
description: Whether the cross-product retention filter for APM traces is
enabled.
example: true
type: boolean
trace_sample_rate:
description: The percentage (0-100) of retained sessions with ingested traces
whose traces are indexed.
description: The sample rate for the APM cross-product retention filter,
between 0 and 100.
example: 25.0
format: double
maximum: 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,12 @@ def __init__(
**kwargs,
):
"""
Configuration for additional APM trace data retention for sessions that match this retention filter.
When a session matches the filter and is retained (based on ``sample_rate`` ), you can configure
the percentage of retained sessions with ingested traces whose traces are indexed.
The configuration for cross-product retention filters.

:param trace_enabled: Indicates whether trace cross-product sampling is enabled. If ``false`` , no traces are indexed regardless of ``trace_sample_rate``.
:param trace_enabled: Whether the cross-product retention filter for APM traces is enabled.
:type trace_enabled: bool, optional

:param trace_sample_rate: The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
For example, 25.0 means 25% of retained sessions with ingested traces have their traces indexed.
:param trace_sample_rate: The sample rate for the APM cross-product retention filter, between 0 and 100.
:type trace_sample_rate: float, optional
"""
if trace_enabled is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def openapi_types(_):

def __init__(self_, trace_sample_rate: float, trace_enabled: Union[bool, UnsetType] = unset, **kwargs):
"""
Configuration for cross-product sampling when creating a retention filter.
The configuration for cross-product retention filters.

:param trace_enabled: Indicates whether trace cross-product sampling is enabled.
:param trace_enabled: Whether the cross-product retention filter for APM traces is enabled.
:type trace_enabled: bool, optional

:param trace_sample_rate: The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
:param trace_sample_rate: The sample rate for the APM cross-product retention filter, between 0 and 100.
:type trace_sample_rate: float
"""
if trace_enabled is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ def __init__(
**kwargs,
):
"""
Configuration for cross-product sampling when updating a retention filter. All fields are optional for partial updates.
The configuration for cross-product retention filters. All fields are optional for partial updates.

:param trace_enabled: Indicates whether trace cross-product sampling is enabled.
:param trace_enabled: Whether the cross-product retention filter for APM traces is enabled.
:type trace_enabled: bool, optional

:param trace_sample_rate: The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
:param trace_sample_rate: The sample rate for the APM cross-product retention filter, between 0 and 100.
:type trace_sample_rate: float, optional
"""
if trace_enabled is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def __init__(
"""
The object describing attributes of a RUM retention filter.

:param cross_product_sampling: Configuration for additional APM trace data retention for sessions that match this retention filter.
When a session matches the filter and is retained (based on ``sample_rate`` ), you can configure
the percentage of retained sessions with ingested traces whose traces are indexed.
:param cross_product_sampling: The configuration for cross-product retention filters.
:type cross_product_sampling: RumCrossProductSampling, optional

:param enabled: Whether the retention filter is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
"""
The object describing attributes of a RUM retention filter to create.

:param cross_product_sampling: Configuration for cross-product sampling when creating a retention filter.
:param cross_product_sampling: The configuration for cross-product retention filters.
:type cross_product_sampling: RumCrossProductSamplingCreate, optional

:param enabled: Whether the retention filter is enabled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
"""
The object describing attributes of a RUM retention filter to update.

:param cross_product_sampling: Configuration for cross-product sampling when updating a retention filter. All fields are optional for partial updates.
:param cross_product_sampling: The configuration for cross-product retention filters. All fields are optional for partial updates.
:type cross_product_sampling: RumCrossProductSamplingUpdate, optional

:param enabled: Whether the retention filter is enabled.
Expand Down
Loading