Documentation ¶
Overview ¶
Package google is deprecated: Use go.opencensus.io/exporter/stackdriver/propagation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPFormat
deprecated
type HTTPFormat struct{}
Deprecated: Use go.opencensus.io/exporter/stackdriver/propagation.HTTPFormat
func (*HTTPFormat) SpanContextFromRequest ¶ added in v0.4.0
func (f *HTTPFormat) SpanContextFromRequest(req *http.Request) (sc trace.SpanContext, ok bool)
SpanContextFromRequest extracts a Stackdriver Trace span context from incoming requests.
func (*HTTPFormat) SpanContextToRequest ¶ added in v0.4.0
func (f *HTTPFormat) SpanContextToRequest(sc trace.SpanContext, req *http.Request)
SpanContextToRequest modifies the given request to include a Stackdriver Trace header.
Click to show internal directories.
Click to hide internal directories.