Documentation ¶
Index ¶
- func InitTracerProvider(l *rec.Logger) (shutdown func())
- func Start(parent context.Context, spanName string, opts ...trace.SpanStartOption) (child context.Context, span trace.Span)
- func StartFunc(parent context.Context, spanName string, opts ...trace.SpanStartOption) func(spanFunction func(child context.Context) (err error)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTracerProvider ¶
func InitTracerProvider(l *rec.Logger) (shutdown func())
InitTracerProvider is ref. https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/github.com/gorilla/mux/otelmux/example/server.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.