Documentation
¶
Index ¶
- func ExtractFromMap(ctx context.Context, tracer Tracer, operation string, m map[string]string, ...) (context.Context, trace.Span)
- func ExtractFromRequest(request *http.Request, tracer Tracer) (*http.Request, trace.Span)
- func FromSpanContext(ctx context.Context, spanContext trace.SpanContext) context.Context
- func InjectInMap(ctx context.Context, m map[string]string)
- func InjectInResponse(writer http.ResponseWriter, request *http.Request)
- func InjectTracer(ctx context.Context, tracer Tracer) context.Context
- func NewSpanContextFromHeaders(traceIDString, spanIDString string) trace.SpanContext
- func TryInjectTracer(ctx context.Context, tracer Tracer) context.Context
- type Config
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFromMap ¶
func ExtractFromRequest ¶
func FromSpanContext ¶
func InjectInResponse ¶
func InjectInResponse(writer http.ResponseWriter, request *http.Request)
func NewSpanContextFromHeaders ¶
func NewSpanContextFromHeaders(traceIDString, spanIDString string) trace.SpanContext
Types ¶
type Config ¶
func (Config) GRPCTransportCredentials ¶
func (c Config) GRPCTransportCredentials() credentials.TransportCredentials
func (Config) ValidateConfigFields ¶
Click to show internal directories.
Click to hide internal directories.