Skip to content

Commit 027b6b6

Browse files
feat(eap): add downsampled_event_retention to project configs
1 parent ce2e1bc commit 027b6b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

relay-dynamic-config/src/project.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ pub struct ProjectConfig {
4444
/// Maximum event retention for the organization.
4545
#[serde(skip_serializing_if = "Option::is_none")]
4646
pub event_retention: Option<u16>,
47+
/// Maximum sampled event retention for the organization.
48+
#[serde(skip_serializing_if = "Option::is_none")]
49+
pub downsampled_event_retention: Option<u16>,
4750
/// Usage quotas for this project.
4851
#[serde(skip_serializing_if = "Vec::is_empty")]
4952
pub quotas: Vec<Quota>,
@@ -138,6 +141,7 @@ impl Default for ProjectConfig {
138141
filter_settings: ProjectFiltersConfig::default(),
139142
datascrubbing_settings: DataScrubbingConfig::default(),
140143
event_retention: None,
144+
downsampled_event_retention: None,
141145
quotas: Vec::new(),
142146
sampling: None,
143147
measurements: None,

0 commit comments

Comments
 (0)