Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer interface {
Start(ctx context.Context, name string, attrs ...Attribute) (context.Context, Span)
}
Tracer starts spans for tracing operations.
func NewOTelTracer ¶
func NewOTelTracer(provider trace.TracerProvider, instrumentationName string) Tracer
NewOTelTracer wires the provided provider (or global fallback) into the tracing interface.
func WithTracer ¶
WithTracer normalises the provided tracer set, returning a composite tracer.
Click to show internal directories.
Click to hide internal directories.