-
Notifications
You must be signed in to change notification settings - Fork 812
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 flag for limiting OTLP request size #6333
Add flag for limiting OTLP request size #6333
Conversation
@friedrichg |
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.
Love the tests!. One nit regarding readAll
222c82d
to
ae08736
Compare
Signed-off-by: SungJin1212 <[email protected]>
ae08736
to
9310f76
Compare
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.
Thanks a lot!
I will leave to @friedrichg to merge it.
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.
Thanks for accepting and implementing my suggestion!
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.
Sorry I think I misunderstood this PR. Should we use the same max_recv_msg_size
config for different formats?
This PR adds
-distributor.otlp-max-recv-msg-size
flag to limit OTLP request size in bytes like the Prometheus remote write push.Also, it adds otlp body decompression logic tests.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]