Skip to content

Commit d5b8889

Browse files
authored
ref(global-config): Remove deprecated fields (#4869)
Deprecated/Removed options are still forwarded and these options have been deprecated for > 10 months. #skip-changelog
1 parent 5cfacc8 commit d5b8889

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

relay-dynamic-config/src/global.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -207,24 +207,6 @@ pub struct Options {
207207
)]
208208
pub drop_transaction_attachments: bool,
209209

210-
/// Deprecated, still forwarded for older downstream Relays.
211-
#[doc(hidden)]
212-
#[serde(
213-
rename = "profiling.profile_metrics.unsampled_profiles.platforms",
214-
deserialize_with = "default_on_error",
215-
skip_serializing_if = "Vec::is_empty"
216-
)]
217-
pub deprecated1: Vec<String>,
218-
219-
/// Deprecated, still forwarded for older downstream Relays.
220-
#[doc(hidden)]
221-
#[serde(
222-
rename = "profiling.profile_metrics.unsampled_profiles.sample_rate",
223-
deserialize_with = "default_on_error",
224-
skip_serializing_if = "is_default"
225-
)]
226-
pub deprecated2: f32,
227-
228210
/// All other unknown options.
229211
#[serde(flatten)]
230212
other: HashMap<String, Value>,

0 commit comments

Comments
 (0)