Documentation ¶
Index ¶
- func InitTracing() func(context.Context) error
- func LoggerTags(ctx context.Context) map[string]any
- func SetSpanAttribute(ctx context.Context, key string, value string)
- func ShutdownTracing()
- func Spanned(current context.Context, name string, tracedFn func(context.Context) error) error
- func SpannedT[T any](current context.Context, name string, ...) (T, error)
- func WrapHttpHandler(handler http.Handler, operation string, options ...otelhttp.Option) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTracing ¶
InitTracing initializes the global tracer
func ShutdownTracing ¶
func ShutdownTracing()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.