# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitMOCtledSpan registers all mo_ctl controlled span.
No description provided by the author
IsMOCtledSpan first checks if this kind exists in mo_ctl controlled spans, if it is, return it's current state, or return not exist.
No description provided by the author
No description provided by the author
No description provided by the author
SetMoCtledSpanState first checks if this kind exists in mo_ctl controlled spans, if it is, reset it's state to the specified and return succeed, or return not succeed.
No description provided by the author
SpanContextWithIDs with default Kind: SpanKindInternal.
No description provided by the author
No description provided by the author
Start starts a default span entity.
No description provided by the author
WithHungThreshold please be careful to using this option.
No description provided by the author
WithLongTimeThreshold set timeout threshold.
No description provided by the author
WithProfileAllocs requests dump pprof/allocs.
WithProfileBlock requests dump pprof/block.
WithProfileCpuSecs requests dump pprof/cpu, and specify the time to profile.
WithProfileGoroutine requests dump pprof/mutex.
WithProfileHeap requests dump pprof/heap.
WithProfileMutex requests dump pprof/mutex.
WithProfileSystemStatus requests dump system status.
WithProfileThreadCreate requests dump pprof/threadcreate.
WithProfileTraceSecs requests dump pprof/trace, and specify the time to profile.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
FlagsSampled is a bitmask with the sampled bit set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SpanKindInternal is a SpanKind for a Span that represents an internal operation within MO.
SpanKindLocalFSVis is a SpanKind for a Span that needs to collect info of local object operation.
SpanKindRemote is a SpanKind for a Span that represents the operation cross rpc.
SpanKindRemoteFSVis is a SpanKind for a Span that needs to collect info of remote object operation.
SpanKindSession is a SpanKind for a Span that represents the operation start from session.
SpanKindStatement is a SpanKind for a Span that represents the operation belong to statement query.
SpanKindTNRPCHandle is a SpanKind for TN service to control the enable or disable of debug logs recording when it handles the RPC requests, like HandleCommit.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
NonRecordingSpan keep SpanContext{TraceID, SpanID}.
NoopSpan is an implementation of Span that preforms no operations.
NoopTracer is an implementation of Tracer that preforms no operations.
No description provided by the author
SpanConfig is a group of options for a Span.
SpanContext contains identifying trace information about a Span.
TracerConfig is a group of options for a Tracer.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SpanOption applies an option to a SpanConfig.
No description provided by the author
SpanStartOption applies an option to a SpanConfig.
No description provided by the author
TracerOption applies an option to a TracerConfig.
No description provided by the author
# Type aliases
No description provided by the author
SpanKind is the role a Span plays in a Trace.
TraceFlags contains flags that can be set on a SpanContext.
No description provided by the author