Documentation ¶
Index ¶
Constants ¶
View Source
const ( TraceID = "X-B3-TraceId" SpanID = "X-B3-SpanId" ParentSpanID = "X-B3-ParentSpanId" Sampled = "X-B3-Sampled" Flags = "X-B3-Flags" Context = "B3" )
Variables ¶
This section is empty.
Functions ¶
func CloseReporter ¶
func CloseReporter()
func GetReporter ¶
Types ¶
type Span ¶
type Span struct { model.SpanContext Kind model.Kind `json:"kind,omitempty"` Name string `json:"name,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Duration int64 `json:"duration,omitempty"` LocalEndpoint *model.Endpoint `json:"localEndpoint,omitempty"` RemoteEndpoint *model.Endpoint `json:"remoteEndpoint,omitempty"` Annotations []model.Annotation `json:"annotations,omitempty"` Tags map[string]string `json:"tags,omitempty"` }
Click to show internal directories.
Click to hide internal directories.