Skip to content

Commit 0be8e4a

Browse files
authored
trace: do not block connecting to OTLP endpoint (docker#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 <[email protected]>
1 parent fd8ab2f commit 0be8e4a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/tracing/docker_context.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ func traceClientFromDockerContext(dockerCli command.Cli, otelEnv envMap) (otlptr
6969
cfg.Endpoint,
7070
grpc.WithContextDialer(DialInMemory),
7171
grpc.WithTransportCredentials(insecure.NewCredentials()),
72-
grpc.WithBlock(),
7372
)
7473
if err != nil {
7574
return nil, fmt.Errorf("initializing otel connection from docker context metadata: %v", err)

0 commit comments

Comments
 (0)