MCPcopy Index your code
hub / github.com/coder/coder / init

Function init

coderd/tracing/util.go:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13var NoopSpan trace.Span
14
15func init() {
16 tracer := trace.NewNoopTracerProvider().Tracer("")
17 _, NoopSpan = tracer.Start(context.Background(), "")
18}
19
20const TracerName = "coderd"
21

Callers

nothing calls this directly

Calls 2

TracerMethod · 0.80
StartMethod · 0.65

Tested by

no test coverage detected