MCPcopy
hub / github.com/docker/compose / InitTracing

Function InitTracing

internal/tracing/tracing.go:62–66  ·  internal/tracing/tracing.go::InitTracing
(dockerCli command.Cli)

Source from the content-addressed store, hash-verified

60type envMap map[string]string
61
62func 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
68func InitProvider(dockerCli command.Cli) (ShutdownFunc, error) {
69 ctx := context.Background()

Callers 1

SetupFunction · 0.92

Calls 1

InitProviderFunction · 0.85

Tested by

no test coverage detected