-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[fileconsumer] Add compression:auto
to support ingesting mixed file types
#38510
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
khushijain21
commented
Mar 11, 2025
@atoulme any reason you converted this to draft? 🤔 |
Description
This PR supports the use case of reading from mixed file types. To support reading from both compressed and uncompressed file - configure
Link to tracking issue
Fixes #37772
Testing
Start otelcollector-contrib with following config file
Have
test.log
andtest.log.gz
in your path. We have two readers - one for plain text and other for gzipped file.