From 0be8e4a676d5a506ee83b0afbea46237a4e154dd Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 8 Aug 2023 15:47:18 -0400 Subject: [PATCH] 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 --- internal/tracing/docker_context.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/tracing/docker_context.go b/internal/tracing/docker_context.go index 6e0c0217d..092a299b5 100644 --- a/internal/tracing/docker_context.go +++ b/internal/tracing/docker_context.go @@ -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)