Documentation
¶
Overview ¶
Package propagation holds the required function signatures for Injection and Extraction. It also contains decoder and encoder of SkyWalking propagation protocol.
Index ¶
Constants ¶
View Source
const (
Header string = "sw6"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
Extractor is a tool specification which define how to extract trace parent context from propagation context
type Injector ¶
Injector is a tool specification which define how to inject trace context into propagation context
type SpanContext ¶
type SpanContext struct { TraceID []int64 ParentSegmentID []int64 ParentSpanID int32 ParentServiceInstanceID int32 EntryServiceInstanceID int32 NetworkAddressID int32 EntryEndpointID int32 ParentEndpointID int32 Sample int8 NetworkAddress string EntryEndpoint string ParentEndpoint string }
SpanContext defines propagation specification of SkyWalking
func (*SpanContext) DecodeSW6 ¶
func (tc *SpanContext) DecodeSW6(header string) error
DecodeSW6 converts string header to SpanContext
func (*SpanContext) EncodeSW6 ¶
func (tc *SpanContext) EncodeSW6() string
EncodeSW6 converts SpanContext to string header
Click to show internal directories.
Click to hide internal directories.