-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[APR-258] Add option to compress logs with zstd #27148
Merged
+2,393
−887
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
f994dd7
Add option to compress logs with zstd.
StephenWakely 20ad1a3
Formatting
StephenWakely a5f4f8e
Linters
StephenWakely f345970
Add telemetry to the compressor.
StephenWakely 9e4f325
Reuse metric compression component for logs.
StephenWakely 720586b
Add gzip strategy
StephenWakely d548d9c
Add gzip strategy
StephenWakely 7e4ded1
Remove old compression code.
StephenWakely bb841d6
Caller can limit compression algorithms available.
StephenWakely 03c3252
Correct compress bound for gzip.
StephenWakely 9d6acea
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely fd38e3c
Fix broken tests.
StephenWakely 3ec6157
Tidy
StephenWakely f87e432
Fix dependency runtime errors.
StephenWakely 38aafb7
Fix dependency for otel
StephenWakely 37cfb7f
Wip, fix tests
StephenWakely 08713c5
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 8a62b59
Fix tests to load compressor from provided config.
StephenWakely f729333
Remove unnecessary metrics.
StephenWakely ad84375
Include jemalloc
StephenWakely de2dc05
Fix linter errors
StephenWakely 6db5379
replace
StephenWakely 949157d
Add logging to compression strategies
StephenWakely 835d804
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 0d5f4b4
Linter errors
StephenWakely d3ca210
Added extra build tag.
StephenWakely 46d2553
Lint
StephenWakely 5a6fa64
Fix tests.
StephenWakely 6e54576
Added dependency.
StephenWakely b60c9e3
Linter errors
StephenWakely 2027535
Copyrights
StephenWakely 1c2dc1d
gofmt
StephenWakely 3b6c13d
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 04d9922
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 6759dcf
Linter errors
StephenWakely 3ea013e
Fix otel
StephenWakely 56fbdff
Fix test.
StephenWakely c28eb10
Remove jemalloc
StephenWakely d6f30bc
Go mod tidy
StephenWakely a85c0ab
Squashed commit of the following:
StephenWakely 474d995
Fixed build errors
StephenWakely bd5dd02
Linter errors
StephenWakely 7cf312c
Add gzip and no build tags option.
StephenWakely f076eba
Fixed remaining tests
StephenWakely 7e8853b
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 983044b
CI Errors.
StephenWakely 93c0fff
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 79246d9
Lints
StephenWakely 872a4df
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely a11f591
Fix dodgy merge
StephenWakely 8befb87
Fixed merge
StephenWakely b1b8d0d
Add missing parameter
StephenWakely c888885
Fix test dependency.
StephenWakely d8874e4
Inject compressionFactory into serverless
StephenWakely 876b8ae
Add parameter for unsupported
StephenWakely 320dc2b
Add some logging
StephenWakely 703ba26
Feedback from pgimalac
StephenWakely fe3db79
Added compression factory for CWS reporter.
StephenWakely 107d519
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 616f9ac
Fixed demultiplexer test
StephenWakely c95cb32
More details in max size comment for gzip
StephenWakely 09112ea
Update serverless test dependencies
StephenWakely 13fbfd6
Remove the compression factory.
StephenWakely ad214bb
Remove fx-factory
StephenWakely b60df43
Merge remote-tracking branch 'origin' into stephen/zstd_logs
StephenWakely 3bf2fae
Gofmt
StephenWakely 562ae56
Update components
StephenWakely d22884a
Update components
StephenWakely 5b7f07e
TEMPORARILY change the default compression for logs
StephenWakely 2b3b083
Remove unused code
StephenWakely b6d5380
Fixed tests.
StephenWakely ce2a5ff
Added a NoopCompressor module.
StephenWakely a61f56d
Merge branch 'main' into stephen/zstd_logs
remeh 7b0caf9
inv tidy && inv tidy
remeh d55cf94
PR feedback
jszwedko 3bc1ad9
Replace version numbers for compression module
jszwedko c3f4e4e
Avoid throwing away error
jszwedko 219ab7f
Create multiple components
StephenWakely cda88e9
Refactor to separate components
StephenWakely f7a59b5
Passed lints
StephenWakely fb0fadc
Fix tests
StephenWakely a53f926
Added separate otel compression component.
StephenWakely 23bb4da
Fix otel integration test.
StephenWakely 11c6975
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 2bca491
Lints
StephenWakely d1883bf
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 7e4cbe6
Fix tests.
StephenWakely 82a66c6
Lints
StephenWakely db10f48
More lints
StephenWakely 5f75fa9
Lints
StephenWakely 5081593
Extra module replaces
StephenWakely ce710df
Fix modules
StephenWakely 12b8f2d
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 3a5ac7b
Fix go versions for otel
StephenWakely c5a1010
Lints
StephenWakely 243d01d
More lints
StephenWakely 820f26f
Provide fx
StephenWakely bce1dc4
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely da72b2f
Update compression module name.
StephenWakely 746fe48
Inject metrics compression for systray.
StephenWakely 7566372
Revert serverless test module
StephenWakely 4dbb30b
Updated with feedback from Olivier
StephenWakely 77cc39f
Fix fromconfig.
StephenWakely 1c75357
Merge remote-tracking branch 'origin/main' into stephen/zstd_logs
StephenWakely 63770e2
Feedback from Rémy and Brian
StephenWakely fdc16ca
Update copyright
StephenWakely File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What's the reason we don't need the
logscompression.Module()
here? (while for instance we need it in the JMX command. FWIW it seems we need it in all other commands)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.
It is being provided by
process.Bundle()
. It needs to be in this bundle, because that also includes theeventplatformimpl
component which needs thelogscompression
component.