Skip to content
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

Add toggle to enable grouping log by date/instance in s3 #941

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

idanovinda
Copy link
Member

Objective:

This pull request introduces a new feature that enhances our log file management system. It enables users to efficiently group log files based on the date stored in an S3 bucket, providing a more streamlined approach to downloading log files. With date-based log grouping, instance rotations become less of a hassle. Users no longer need to check the instance names of deleted instances when downloading log files of a specific date.

How to Use:

Users can easily enable the new feature by setting the newly introduced environment variable LOG_GROUPED_BY_DATE to True. This environment variable serves as a toggle to activate the date-based grouping functionality. By default, if LOG_GROUPED_BY_DATE is not specified or set to False, the system will continue to group log files by instance ID or POD ID, ensuring backward compatibility.

@hughcapet hughcapet requested review from sdudoladov and Jan-M November 7, 2023 08:14
ENVIRONMENT.rst Outdated Show resolved Hide resolved
@Jan-M
Copy link
Member

Jan-M commented Nov 29, 2023

Looks good to me

Co-authored-by: Polina Bungina <[email protected]>
@sdudoladov
Copy link
Member

👍

1 similar comment
@idanovinda
Copy link
Member Author

👍

@idanovinda idanovinda merged commit 836d266 into master Dec 4, 2023
2 checks passed
@idanovinda idanovinda deleted the feature/grouping-log-by-date branch December 4, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants