Documentation ¶
Index ¶
Constants ¶
View Source
const (
StartVersion = "0"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tracing ¶
type Tracing struct { ParentSpanId string SpanId string TraceId string Version string Http bool HttpHeaders map[string][]string HttpProtocol string HttpRequestMethod, HttpRequestUrl string HttpUserAgent string // contains filtered or unexported fields }
Tracing mark open tracing.
func (*Tracing) GenVersion ¶
GenVersion return version number of trace.
return "0.0" // First log of the same tracer return "0.3.0" return "0.3.1"
func (*Tracing) GetIncrement ¶
GetIncrement increment offset then return previous value.
func (*Tracing) GetPrevious ¶
GetPrevious return previous offset value.
func (*Tracing) WithParent ¶
WithParent bind parent tracing to current.
Click to show internal directories.
Click to hide internal directories.