Skip to content

Commit

Permalink
trace: do not block connecting to OTLP endpoint
Browse files Browse the repository at this point in the history
This was left over from debugging, but we should not block.
OTel will handle the connection in the background.
  • Loading branch information
milas committed Aug 4, 2023
1 parent fd8ab2f commit b9becb1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/tracing/docker_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b9becb1

Please sign in to comment.