Documentation ¶
Index ¶
- func ElapsedTime(ctx context.Context, span trace.Span, msg string, ...)
- func EndSpan(span trace.Span)
- func Exec(ctx context.Context, spanName string, opts ...Option)
- func FromContext(ctx context.Context) trace.Tracer
- func SetAttributes(span trace.Span, kvs ...attribute.KeyValue)
- func StartSpan(ctx context.Context, snapName string) (context.Context, trace.Span)
- func Trace(ctx context.Context, spanName string) (context.Context, trace.Span)
- func WithTracer(ctx context.Context, tr trace.Tracer) context.Context
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElapsedTime ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.