-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 CLI Option for gRPC Max Receive Message Size #3214
Add CLI Option for gRPC Max Receive Message Size #3214
Conversation
Added a new CLI option for the gRPC Collector to override the default max receive message size which is normally 4MB since some users of Jaeger may want to record Spans which exceed the default max size. Signed-off-by: Justin Stauffer <[email protected]>
Changed collector.grpc-max-receive-message-length to collector.grpc.max-receive-message-length for consistency. Signed-off-by: Justin Stauffer <[email protected]>
Changes new option from `collector.grpc.max-receive-message-length` to `collector.grpc-server.max-message-size` as suggested during review. Signed-off-by: Justin Stauffer <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #3214 +/- ##
==========================================
+ Coverage 95.90% 95.95% +0.04%
==========================================
Files 242 242
Lines 14786 14794 +8
==========================================
+ Hits 14181 14195 +14
+ Misses 525 518 -7
- Partials 80 81 +1
Continue to review full report at Codecov.
|
Added a test that hopefully adds necessary code coverage for the gRPC collector code around the TLS options. Signed-off-by: Justin Stauffer <[email protected]>
Changed my previous new test to only test the GRPC Server Startup. Signed-off-by: Justin Stauffer <[email protected]>
@Ashmita152 I made this new PR as suggested. @yurishkuro this includes the changes you suggested in my old, closed PR. I also added another very basic test as I was getting errors from lack of code coverage. I'm not a Go expert so I'm not quite sure how that test can be improved though I don't doubt it could be. |
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
Which problem is this PR solving?
Resolves #3210
Short description of the changes
Added a new CLI option for the gRPC Collector to override the default
max receive message size which is normally 4MB since some users of
Jaeger may want to record Spans which exceed the default max size.
Signed-off-by: Justin Stauffer [email protected]