Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParentSpanForRequest ¶
func GetParentSpanForRequest(tracer opentracing.Tracer, req *weaveworks_httpgrpc.HTTPRequest) (opentracing.SpanContext, error)
Types ¶
type HeadersCarrier ¶
type HeadersCarrier weaveworks_httpgrpc.HTTPRequest
Used to transfer trace information from/to HTTP request.
func (*HeadersCarrier) ForeachKey ¶
func (c *HeadersCarrier) ForeachKey(handler func(key, val string) error) error
func (*HeadersCarrier) Set ¶
func (c *HeadersCarrier) Set(key, val string)
Click to show internal directories.
Click to hide internal directories.