Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTraceCarrier ¶
func WithTraceCarrier(ctx context.Context, tc *TraceCarrier) context.Context
Types ¶
type TraceCarrier ¶
type TraceCarrier struct {
// contains filtered or unexported fields
}
func TraceCarrierFromContext ¶
func TraceCarrierFromContext(ctx context.Context) *TraceCarrier
func (*TraceCarrier) SetSpan ¶
func (t *TraceCarrier) SetSpan(span oteltrace.Span)
func (*TraceCarrier) SetTracer ¶
func (t *TraceCarrier) SetTracer(tracer oteltrace.Tracer)
func (*TraceCarrier) Span ¶
func (t *TraceCarrier) Span() oteltrace.Span
func (*TraceCarrier) Tracer ¶
func (t *TraceCarrier) Tracer() oteltrace.Tracer
Click to show internal directories.
Click to hide internal directories.