Documentation ¶
Index ¶
- func RecordError(span trace.Span, err error, recordErrorOpts ...trace.EventOption) error
- func SlogHandler(h slog.Handler) slog.Handler
- func Start(ctx context.Context, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- func Template(ctx context.Context, spanName string, fn func(ctx context.Context) error, ...) error
- func Template2[T any](ctx context.Context, spanName string, fn func(ctx context.Context) (T, error), ...) (T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.