package zipkin
import "github.com/uber/jaeger-client-go/zipkin"
Package zipkin comprises Zipkin functionality for Zipkin compatiblity.
Index ¶
Types ¶
type Propagator ¶
type Propagator struct{}
Propagator is an Injector and Extractor
func NewZipkinB3HTTPHeaderPropagator ¶
func NewZipkinB3HTTPHeaderPropagator() Propagator
NewZipkinB3HTTPHeaderPropagator creates a Propagator for extracting and injecting Zipkin HTTP B3 headers into SpanContexts.
func (Propagator) Extract ¶
func (p Propagator) Extract(abstractCarrier interface{}) (jaeger.SpanContext, error)
Extract conforms to the Extractor interface for encoding Zipkin HTTP B3 headers
func (Propagator) Inject ¶
func (p Propagator) Inject( sc jaeger.SpanContext, abstractCarrier interface{}, ) error
Inject conforms to the Injector interface for decoding Zipkin HTTP B3 headers
Source Files ¶
- Version
- v2.1.1+incompatible
- Published
- Feb 21, 2017
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 11 seconds ago –
Tools for package owners.