Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { // Tracer creates a new tracer with the given name. Tracer(name string) trace.Tracer // Span creates a new span with the context. Span(ctx context.Context) // AddEvent adds a new event with the given name and attributes to the span. AddEvent(name string, attrs ...*KeyValue) }
Handler represents a tracing handler that provides functionality to create tracers, spans and add events.
Click to show internal directories.
Click to hide internal directories.