mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 08:19:23 +02:00
tracing: adjust envoy otel trace batching settings to match go sdk (#5446)
This commit is contained in:
parent
0bd6d8cc83
commit
6ea51149f9
6 changed files with 59 additions and 17 deletions
|
@ -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...)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue