Skip to content

Grpc opts - #845

Closed
cedric-cordenier wants to merge 4 commits into
mainfrom
grpc-opts
Closed

cedric-cordenier wants to merge 4 commits into
mainfrom
grpc-opts

Conversation

@cedric-cordenier

Copy link
Copy Markdown
Contributor

No description provided.

Mirror loop.Server: build the gRPC options with loop.GRPCOptsConfig after
telemetry has started and thread them into StartCapabilities. Embedded
starts without a run get their own options on a private registry.
The registry proxy, the remote transport's callbacks and the settings
client now dial with loop's interceptors (otelgrpc, CRE context, grpcprom),
as a LOOP's clients do, rather than a bare insecure client.
The remote transport now makes its servers with GRPCOpts.NewServer.
Before this change, it used a plain grpc.NewServer, which had no
interceptors. Now calls from the node use the loop interceptors, as
LOOP servers do.
The LOOP host sets the limit with loop.EnvConfig.AsCmdEnv. The test
makes sure that GRPCConfig.ServerMaxRecvMsgSize contains the same limit.
@cl-sonarqube-production

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant