gRPC Collector Does Not Support Configurable Max Message Size #3210
Labels
enhancement
help wanted
Features that maintainers are willing to accept but do not have cycles to implement
Describe the bug
The Jaeger gRPC Collector Service has a default max receive message size of 4mb and does not support overriding this max size even though gRPC allows for it.
Source from
cmd/collector/app/server/server.go
:Where
defaultServerMaxReceiveMessageSize
is defined as:There is a method available to set the max receive message size also but it is not called and has no configuration options associated with it:
To Reproduce
Steps to reproduce the behavior:
See my initial question on this in the Discussion section: gRPC Collector Configurable Max Message Size #3200
Expected behavior
Some users of Jaeger (such as myself) may want the ability to log larger Spans and since gRPC is flexible and allows a larger message size limit, we should expose a setting to allow overriding the default max message size.
For example, a new CLI option for the Collector:
To change this behavior, we basically just need to add a new Collector CLI option as mentioned and then add the following code to
cmd/collector/app/server/grpc.go -> StartGRPCServer
:We'd also have to update the
GRPCServerParams
type and some other code as well but that's the most important part of it.Version (please complete the following information):
What troubleshooting steps did you try?
See my initial question on this in the Discussion section: gRPC Collector Configurable Max Message Size #3200
The text was updated successfully, but these errors were encountered: