-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
max line lengths (component + tenant overrides) #1686
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1686 +/- ##
==========================================
- Coverage 61.86% 61.63% -0.23%
==========================================
Files 116 119 +3
Lines 8731 8810 +79
==========================================
+ Hits 5401 5430 +29
- Misses 2926 2973 +47
- Partials 404 407 +3
|
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.
LGTM.
Although I like using KB/MB I would be careful mixin unit across our full configuration. Do you support also 10000
as bytes without units ? If yes this is nice and you should add a test.
|
What
Adds flag and per tenant limits for maximum line lengths.
Also includes some refactoring for the distributor pkg to isolate logic & make it more maintainable.
Closes #1387
Distributor
distributor.max-line-size
: supports sizes like10mb, 10MB, 10Mb, 10mB, 10 MB
, etc.Tenant overrides
Local testing works as expected