Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessAttachment ¶
Types ¶
type SpanHandle ¶
type SpanHandle struct {
// contains filtered or unexported fields
}
func StartSpanWithContext ¶
func (*SpanHandle) AccessAttachment ¶
func (sh *SpanHandle) AccessAttachment(fn func(attachment interface{}))
func (*SpanHandle) AddProperty ¶
func (sh *SpanHandle) AddProperty(key, value string)
func (*SpanHandle) Finish ¶
func (sh *SpanHandle) Finish()
func (*SpanHandle) TraceID ¶
func (sh *SpanHandle) TraceID() uint64
type TraceHandle ¶
type TraceHandle struct {
SpanHandle
}
func StartRootSpan ¶
func (*TraceHandle) Collect ¶
func (th *TraceHandle) Collect() (trace Trace, attachment interface{})
Click to show internal directories.
Click to hide internal directories.