Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { Incoming []propagation.HTTPFormat Outgoing []propagation.HTTPFormat }
Chain tries multiple trace propogation formats for input and can inject multiple outgoing propogation formats.
func (*Chain) SpanContextFromRequest ¶
SpanContextFromRequest extracts a span context from incoming requests.
func (*Chain) SpanContextToRequest ¶
func (c *Chain) SpanContextToRequest(s trace.SpanContext, r *http.Request)
SpanContextToRequest modifies the given request to include the given span context.
Click to show internal directories.
Click to hide internal directories.