tracing: adjust envoy otel trace batching settings to match go sdk (#5446)

This commit is contained in:
Joe Kralicky 2025-01-24 14:51:07 -05:00 committed by GitHub
parent 0bd6d8cc83
commit 6ea51149f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 59 additions and 17 deletions

View file

@ -50,7 +50,7 @@ func NewServer(ctx context.Context) *ExporterServer {
}
func (srv *ExporterServer) Start(ctx context.Context) {
lis := bufconn.Listen(4096)
lis := bufconn.Listen(2 * 1024 * 1024)
go func() {
if err := srv.remoteClient.Start(ctx); err != nil {
panic(err)
@ -95,5 +95,6 @@ func (srv *ExporterServer) Shutdown(ctx context.Context) error {
if err := srv.remoteClient.Stop(ctx); err != nil {
errs = append(errs, err)
}
srv.cc.Close()
return errors.Join(errs...)
}