...
Package lightstep
Overview ▹
Index ▹
type BasicTracerCarrier ¶
Copy of https://github.com/opentracing/basictracer-go/blob/master/wire/wire.proto
type BasicTracerCarrier struct { TraceId uint64 `protobuf:"fixed64,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` SpanId uint64 `protobuf:"fixed64,2,opt,name=span_id,json=spanId" json:"span_id,omitempty"` Sampled bool `protobuf:"varint,3,opt,name=sampled" json:"sampled,omitempty"` BaggageItems map[string]string `protobuf:"bytes,4,rep,name=baggage_items,json=baggageItems" json:"baggage_items,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` }
func (*BasicTracerCarrier) Descriptor ¶
func (*BasicTracerCarrier) Descriptor() ([]byte, []int)
func (*BasicTracerCarrier) GetBaggageItems ¶
func (m *BasicTracerCarrier) GetBaggageItems() map[string]string
func (*BasicTracerCarrier) GetSampled ¶
func (m *BasicTracerCarrier) GetSampled() bool
func (*BasicTracerCarrier) GetSpanId ¶
func (m *BasicTracerCarrier) GetSpanId() uint64
func (*BasicTracerCarrier) GetTraceId ¶
func (m *BasicTracerCarrier) GetTraceId() uint64
func (*BasicTracerCarrier) ProtoMessage ¶
func (*BasicTracerCarrier) ProtoMessage()
func (*BasicTracerCarrier) Reset ¶
func (m *BasicTracerCarrier) Reset()
func (*BasicTracerCarrier) String ¶
func (m *BasicTracerCarrier) String() string
type BinaryCarrier ¶
The standard carrier for binary context propagation into LightStep.
type BinaryCarrier struct { // "text_ctx" was deprecated following lightstep-tracer-cpp-0.36 DeprecatedTextCtx [][]byte `protobuf:"bytes,1,rep,name=deprecated_text_ctx,json=deprecatedTextCtx,proto3" json:"deprecated_text_ctx,omitempty"` // The Opentracing "basictracer" proto. BasicCtx *BasicTracerCarrier `protobuf:"bytes,2,opt,name=basic_ctx,json=basicCtx" json:"basic_ctx,omitempty"` }
func (*BinaryCarrier) Descriptor ¶
func (*BinaryCarrier) Descriptor() ([]byte, []int)
func (*BinaryCarrier) GetBasicCtx ¶
func (m *BinaryCarrier) GetBasicCtx() *BasicTracerCarrier
func (*BinaryCarrier) GetDeprecatedTextCtx ¶
func (m *BinaryCarrier) GetDeprecatedTextCtx() [][]byte
func (*BinaryCarrier) ProtoMessage ¶
func (*BinaryCarrier) ProtoMessage()
func (*BinaryCarrier) Reset ¶
func (m *BinaryCarrier) Reset()
func (*BinaryCarrier) String ¶
func (m *BinaryCarrier) String() string