-
Notifications
You must be signed in to change notification settings - Fork 104
fix(logs): Set logs retention to 30 days for full fidelity and downsampled datasets #5065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(logs): Set logs retention to 30 days for full fidelity and downsampled datasets #5065
Conversation
| // Hard code both retentions for logs launch until we have separate retentions for | ||
| // different data categories. | ||
| #[cfg(feature = "processing")] | ||
| retention: _ctx.project_info.config.event_retention, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now the function no longer needs _ctx as an argument.
| #[cfg(feature = "processing")] | ||
| downsampled_retention: _ctx.project_info.config.downsampled_event_retention, | ||
| logs: all_logs, | ||
| downsampled_retention: Some(30), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just remove downsampled_retention and retention alltogether from the ExpandedLogs struct now and then have the retentions as a const somewhere in logs/store.rs.
It was decided logs wouldn't get a downsampled retention just yet, so we need to default to using the full fidelity retention now.
Spans keep the downsampled retention. No other
TraceItemshould have it.