-
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
Changes from all commits
6719352
cd8dfa0
834ff96
df5f1fa
ebdb1d1
ff311c9
8f3b0dc
9c6f382
d7829d8
917a0d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,11 +43,13 @@ pub fn expand(logs: Managed<SerializedLogs>, _ctx: Context<'_>) -> Managed<Expan | |
|
|
||
| ExpandedLogs { | ||
| headers: logs.headers, | ||
| logs: all_logs, | ||
| // 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, | ||
| retention: Some(30), | ||
| #[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 commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can just remove |
||
| } | ||
| }) | ||
| } | ||
|
|
||
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
_ctxas an argument.