(dockerCli command.Cli)
| 60 | type envMap map[string]string |
| 61 | |
| 62 | func InitTracing(dockerCli command.Cli) (ShutdownFunc, error) { |
| 63 | // set global propagator to tracecontext (the default is no-op). |
| 64 | otel.SetTextMapPropagator(propagation.TraceContext{}) |
| 65 | return InitProvider(dockerCli) |
| 66 | } |
| 67 | |
| 68 | func InitProvider(dockerCli command.Cli) (ShutdownFunc, error) { |
| 69 | ctx := context.Background() |