mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
trace: do not block connecting to OTLP endpoint (#10882)
This was left over from debugging, but we should not block. OTel will handle the connection in the background. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
@@ -69,7 +69,6 @@ func traceClientFromDockerContext(dockerCli command.Cli, otelEnv envMap) (otlptr
|
||||
cfg.Endpoint,
|
||||
grpc.WithContextDialer(DialInMemory),
|
||||
grpc.WithTransportCredentials(insecure.NewCredentials()),
|
||||
grpc.WithBlock(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("initializing otel connection from docker context metadata: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user