Skip to content

Commit c445938

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
RUM - simplify cross-product sampling descriptions on rum-retention-filters API docs (DataDog#3069)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent f79ff1f commit c445938

7 files changed

Lines changed: 28 additions & 42 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54741,43 +54741,33 @@ components:
5474154741
x-enum-varnames:
5474254742
- RULESET
5474354743
RumCrossProductSampling:
54744-
description: 'Configuration for additional APM trace data retention for sessions
54745-
that match this retention filter.
54746-
54747-
When a session matches the filter and is retained (based on `sample_rate`),
54748-
you can configure
54749-
54750-
the percentage of retained sessions with ingested traces whose traces are
54751-
indexed.'
54744+
description: The configuration for cross-product retention filters.
5475254745
properties:
5475354746
trace_enabled:
54754-
description: Indicates whether trace cross-product sampling is enabled.
54755-
If `false`, no traces are indexed regardless of `trace_sample_rate`.
54747+
description: Whether the cross-product retention filter for APM traces is
54748+
enabled.
5475654749
example: true
5475754750
type: boolean
5475854751
trace_sample_rate:
54759-
description: 'The percentage (0-100) of retained sessions with ingested
54760-
traces whose traces are indexed.
54761-
54762-
For example, 25.0 means 25% of retained sessions with ingested traces
54763-
have their traces indexed.'
54752+
description: The sample rate for the APM cross-product retention filter,
54753+
between 0 and 100.
5476454754
example: 25.0
5476554755
format: double
5476654756
maximum: 100
5476754757
minimum: 0
5476854758
type: number
5476954759
type: object
5477054760
RumCrossProductSamplingCreate:
54771-
description: Configuration for cross-product sampling when creating a retention
54772-
filter.
54761+
description: The configuration for cross-product retention filters.
5477354762
properties:
5477454763
trace_enabled:
54775-
description: Indicates whether trace cross-product sampling is enabled.
54764+
description: Whether the cross-product retention filter for APM traces is
54765+
enabled.
5477654766
example: true
5477754767
type: boolean
5477854768
trace_sample_rate:
54779-
description: The percentage (0-100) of retained sessions with ingested traces
54780-
whose traces are indexed.
54769+
description: The sample rate for the APM cross-product retention filter,
54770+
between 0 and 100.
5478154771
example: 25.0
5478254772
format: double
5478354773
maximum: 100
@@ -54787,16 +54777,17 @@ components:
5478754777
- trace_sample_rate
5478854778
type: object
5478954779
RumCrossProductSamplingUpdate:
54790-
description: Configuration for cross-product sampling when updating a retention
54791-
filter. All fields are optional for partial updates.
54780+
description: The configuration for cross-product retention filters. All fields
54781+
are optional for partial updates.
5479254782
properties:
5479354783
trace_enabled:
54794-
description: Indicates whether trace cross-product sampling is enabled.
54784+
description: Whether the cross-product retention filter for APM traces is
54785+
enabled.
5479554786
example: true
5479654787
type: boolean
5479754788
trace_sample_rate:
54798-
description: The percentage (0-100) of retained sessions with ingested traces
54799-
whose traces are indexed.
54789+
description: The sample rate for the APM cross-product retention filter,
54790+
between 0 and 100.
5480054791
example: 25.0
5480154792
format: double
5480254793
maximum: 100

lib/datadog_api_client/v2/models/rum_cross_product_sampling.rb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Configuration for additional APM trace data retention for sessions that match this retention filter.
21-
# When a session matches the filter and is retained (based on `sample_rate`), you can configure
22-
# the percentage of retained sessions with ingested traces whose traces are indexed.
20+
# The configuration for cross-product retention filters.
2321
class RumCrossProductSampling
2422
include BaseGenericModel
2523

26-
# Indicates whether trace cross-product sampling is enabled. If `false`, no traces are indexed regardless of `trace_sample_rate`.
24+
# Whether the cross-product retention filter for APM traces is enabled.
2725
attr_accessor :trace_enabled
2826

29-
# The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
30-
# For example, 25.0 means 25% of retained sessions with ingested traces have their traces indexed.
27+
# The sample rate for the APM cross-product retention filter, between 0 and 100.
3128
attr_reader :trace_sample_rate
3229

3330
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_cross_product_sampling_create.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Configuration for cross-product sampling when creating a retention filter.
20+
# The configuration for cross-product retention filters.
2121
class RumCrossProductSamplingCreate
2222
include BaseGenericModel
2323

24-
# Indicates whether trace cross-product sampling is enabled.
24+
# Whether the cross-product retention filter for APM traces is enabled.
2525
attr_accessor :trace_enabled
2626

27-
# The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
27+
# The sample rate for the APM cross-product retention filter, between 0 and 100.
2828
attr_reader :trace_sample_rate
2929

3030
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_cross_product_sampling_update.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# Configuration for cross-product sampling when updating a retention filter. All fields are optional for partial updates.
20+
# The configuration for cross-product retention filters. All fields are optional for partial updates.
2121
class RumCrossProductSamplingUpdate
2222
include BaseGenericModel
2323

24-
# Indicates whether trace cross-product sampling is enabled.
24+
# Whether the cross-product retention filter for APM traces is enabled.
2525
attr_accessor :trace_enabled
2626

27-
# The percentage (0-100) of retained sessions with ingested traces whose traces are indexed.
27+
# The sample rate for the APM cross-product retention filter, between 0 and 100.
2828
attr_reader :trace_sample_rate
2929

3030
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_retention_filter_attributes.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ module DatadogAPIClient::V2
2121
class RumRetentionFilterAttributes
2222
include BaseGenericModel
2323

24-
# Configuration for additional APM trace data retention for sessions that match this retention filter.
25-
# When a session matches the filter and is retained (based on `sample_rate`), you can configure
26-
# the percentage of retained sessions with ingested traces whose traces are indexed.
24+
# The configuration for cross-product retention filters.
2725
attr_accessor :cross_product_sampling
2826

2927
# Whether the retention filter is enabled.

lib/datadog_api_client/v2/models/rum_retention_filter_create_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class RumRetentionFilterCreateAttributes
2222
include BaseGenericModel
2323

24-
# Configuration for cross-product sampling when creating a retention filter.
24+
# The configuration for cross-product retention filters.
2525
attr_accessor :cross_product_sampling
2626

2727
# Whether the retention filter is enabled.

lib/datadog_api_client/v2/models/rum_retention_filter_update_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class RumRetentionFilterUpdateAttributes
2222
include BaseGenericModel
2323

24-
# Configuration for cross-product sampling when updating a retention filter. All fields are optional for partial updates.
24+
# The configuration for cross-product retention filters. All fields are optional for partial updates.
2525
attr_accessor :cross_product_sampling
2626

2727
# Whether the retention filter is enabled.

0 commit comments

Comments
 (0)