Skip to content
Open
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 @@ -54740,43 +54740,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 @@ -54786,16 +54776,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 @@ -16,12 +16,7 @@
import java.util.Map;
import java.util.Objects;

/**
* 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 <code>sample_rate</code>),
* you can configure the percentage of retained sessions with ingested traces whose traces are
* indexed.
*/
/** The configuration for cross-product retention filters. */
@JsonPropertyOrder({
RumCrossProductSampling.JSON_PROPERTY_TRACE_ENABLED,
RumCrossProductSampling.JSON_PROPERTY_TRACE_SAMPLE_RATE
Expand All @@ -42,8 +37,7 @@ public RumCrossProductSampling traceEnabled(Boolean traceEnabled) {
}

/**
* Indicates whether trace cross-product sampling is enabled. If <code>false</code>, no traces are
* indexed regardless of <code>trace_sample_rate</code>.
* Whether the cross-product retention filter for APM traces is enabled.
*
* @return traceEnabled
*/
Expand All @@ -64,9 +58,8 @@ public RumCrossProductSampling traceSampleRate(Double traceSampleRate) {
}

/**
* 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.
* minimum: 0 maximum: 100
* The sample rate for the APM cross-product retention filter, between 0 and 100. minimum: 0
* maximum: 100
*
* @return traceSampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** Configuration for cross-product sampling when creating a retention filter. */
/** The configuration for cross-product retention filters. */
@JsonPropertyOrder({
RumCrossProductSamplingCreate.JSON_PROPERTY_TRACE_ENABLED,
RumCrossProductSamplingCreate.JSON_PROPERTY_TRACE_SAMPLE_RATE
Expand Down Expand Up @@ -47,7 +47,7 @@ public RumCrossProductSamplingCreate traceEnabled(Boolean traceEnabled) {
}

/**
* Indicates whether trace cross-product sampling is enabled.
* Whether the cross-product retention filter for APM traces is enabled.
*
* @return traceEnabled
*/
Expand All @@ -68,8 +68,8 @@ public RumCrossProductSamplingCreate traceSampleRate(Double traceSampleRate) {
}

/**
* The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
* minimum: 0 maximum: 100
* The sample rate for the APM cross-product retention filter, between 0 and 100. minimum: 0
* maximum: 100
*
* @return traceSampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import java.util.Objects;

/**
* 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.
*/
@JsonPropertyOrder({
RumCrossProductSamplingUpdate.JSON_PROPERTY_TRACE_ENABLED,
Expand All @@ -40,7 +40,7 @@ public RumCrossProductSamplingUpdate traceEnabled(Boolean traceEnabled) {
}

/**
* Indicates whether trace cross-product sampling is enabled.
* Whether the cross-product retention filter for APM traces is enabled.
*
* @return traceEnabled
*/
Expand All @@ -61,8 +61,8 @@ public RumCrossProductSamplingUpdate traceSampleRate(Double traceSampleRate) {
}

/**
* The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
* minimum: 0 maximum: 100
* The sample rate for the APM cross-product retention filter, between 0 and 100. minimum: 0
* maximum: 100
*
* @return traceSampleRate
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ public RumRetentionFilterAttributes crossProductSampling(
}

/**
* 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 <code>sample_rate</code>),
* you can configure the percentage of retained sessions with ingested traces whose traces are
* indexed.
* The configuration for cross-product retention filters.
*
* @return crossProductSampling
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public RumRetentionFilterCreateAttributes crossProductSampling(
}

/**
* Configuration for cross-product sampling when creating a retention filter.
* The configuration for cross-product retention filters.
*
* @return crossProductSampling
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public RumRetentionFilterUpdateAttributes crossProductSampling(
}

/**
* 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.
*
* @return crossProductSampling
*/
Expand Down
Loading