Skip to content

Commit f398b07

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Normalize phrasing across rate/trace_rate in APM Retention Filters (#595)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 79a1d3c commit f398b07

6 files changed

+20
-20
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-11 15:05:37.258509",
8-
"spec_repo_commit": "d209cd40"
7+
"regenerated": "2025-04-14 08:41:51.365494",
8+
"spec_repo_commit": "e73254d7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-11 15:05:37.274982",
13-
"spec_repo_commit": "d209cd40"
12+
"regenerated": "2025-04-14 08:41:51.382445",
13+
"spec_repo_commit": "e73254d7"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25398,9 +25398,9 @@ components:
2539825398
type: string
2539925399
rate:
2540025400
description: 'Sample rate to apply to spans going through this retention
25401-
filter,
25401+
filter.
2540225402

25403-
a value of 1.0 keeps all spans matching the query.'
25403+
A value of 1.0 keeps all spans matching the query.'
2540425404
example: 1.0
2540525405
format: double
2540625406
type: number
@@ -25465,9 +25465,9 @@ components:
2546525465
type: string
2546625466
rate:
2546725467
description: 'Sample rate to apply to spans going through this retention
25468-
filter,
25468+
filter.
2546925469

25470-
a value of 1.0 keeps all spans matching the query.'
25470+
A value of 1.0 keeps all spans matching the query.'
2547125471
example: 1.0
2547225472
format: double
2547325473
type: number
@@ -25498,9 +25498,9 @@ components:
2549825498
type: string
2549925499
rate:
2550025500
description: 'Sample rate to apply to spans going through this retention
25501-
filter,
25501+
filter.
2550225502

25503-
a value of 1.0 keeps all spans matching the query.'
25503+
A value of 1.0 keeps all spans matching the query.'
2550425504
example: 1.0
2550525505
format: double
2550625506
type: number
@@ -25577,9 +25577,9 @@ components:
2557725577
type: string
2557825578
rate:
2557925579
description: 'Sample rate to apply to spans going through this retention
25580-
filter,
25580+
filter.
2558125581

25582-
a value of 1.0 keeps all spans matching the query.'
25582+
A value of 1.0 keeps all spans matching the query.'
2558325583
example: 1.0
2558425584
format: double
2558525585
type: number

src/datadogV2/model/model_retention_filter_all_attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ pub struct RetentionFilterAllAttributes {
4141
/// The name of the retention filter.
4242
#[serde(rename = "name")]
4343
pub name: Option<String>,
44-
/// Sample rate to apply to spans going through this retention filter,
45-
/// a value of 1.0 keeps all spans matching the query.
44+
/// Sample rate to apply to spans going through this retention filter.
45+
/// A value of 1.0 keeps all spans matching the query.
4646
#[serde(rename = "rate")]
4747
pub rate: Option<f64>,
4848
/// Sample rate to apply to traces containing spans going through this retention filter.

src/datadogV2/model/model_retention_filter_attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ pub struct RetentionFilterAttributes {
4141
/// The name of the retention filter.
4242
#[serde(rename = "name")]
4343
pub name: Option<String>,
44-
/// Sample rate to apply to spans going through this retention filter,
45-
/// a value of 1.0 keeps all spans matching the query.
44+
/// Sample rate to apply to spans going through this retention filter.
45+
/// A value of 1.0 keeps all spans matching the query.
4646
#[serde(rename = "rate")]
4747
pub rate: Option<f64>,
4848
/// Sample rate to apply to traces containing spans going through this retention filter.

src/datadogV2/model/model_retention_filter_create_attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pub struct RetentionFilterCreateAttributes {
2323
/// The name of the retention filter.
2424
#[serde(rename = "name")]
2525
pub name: String,
26-
/// Sample rate to apply to spans going through this retention filter,
27-
/// a value of 1.0 keeps all spans matching the query.
26+
/// Sample rate to apply to spans going through this retention filter.
27+
/// A value of 1.0 keeps all spans matching the query.
2828
#[serde(rename = "rate")]
2929
pub rate: f64,
3030
/// Sample rate to apply to traces containing spans going through this retention filter.

src/datadogV2/model/model_retention_filter_update_attributes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pub struct RetentionFilterUpdateAttributes {
2323
/// The name of the retention filter.
2424
#[serde(rename = "name")]
2525
pub name: String,
26-
/// Sample rate to apply to spans going through this retention filter,
27-
/// a value of 1.0 keeps all spans matching the query.
26+
/// Sample rate to apply to spans going through this retention filter.
27+
/// A value of 1.0 keeps all spans matching the query.
2828
#[serde(rename = "rate")]
2929
pub rate: f64,
3030
/// Sample rate to apply to traces containing spans going through this retention filter.

0 commit comments

Comments
 (0)