jaeger: contrib.go.opencensus.io/exporter/jaeger/propagation Index | Files

package propagation

import "contrib.go.opencensus.io/exporter/jaeger/propagation"

Package propagation implement uber-trace-id header propagation used by Jaeger.


Package Files


type HTTPFormat Uses

type HTTPFormat struct{}

HTTPFormat implements propagation.HTTPFormat to propagate traces in HTTP headers for Jaeger traces.

func (*HTTPFormat) SpanContextFromRequest Uses

func (f *HTTPFormat) SpanContextFromRequest(req *http.Request) (sc trace.SpanContext, ok bool)

SpanContextFromRequest extracts a Jaeger Trace span context from incoming requests.

func (*HTTPFormat) SpanContextToRequest Uses

func (f *HTTPFormat) SpanContextToRequest(sc trace.SpanContext, req *http.Request)

SpanContextToRequest modifies the given request to include a Jaeger Trace header.

Package propagation imports 7 packages (graph). Updated 2019-08-01. Refresh now. Tools for package owners.