Documentation
¶
Index ¶
- Constants
- func CreateEntrySpan(i *invocation.Invocation) (go2sky.Span, context.Context, error)
- func CreateExitSpan(ctx context.Context, i *invocation.Invocation) (go2sky.Span, error)
- func CreateLocalSpan(ctx context.Context, opts ...go2sky.SpanOption) (go2sky.Span, context.Context, error)
- func Init()
Constants ¶
View Source
const ( CrossProcessProtocolV2 = "Sw6" SkyWalkingConsumer = "skywalking-consumer" SkyWalkingProvider = "skywalking-provider" SkyWalkingName = "skywalking" DeafaultSWServerURI = "127.0.0.1:11800" )
Variables ¶
This section is empty.
Functions ¶
func CreateEntrySpan ¶
func CreateEntrySpan(i *invocation.Invocation) (go2sky.Span, context.Context, error)
CreateEntrySpan use tracer to create and start an entry span for incoming request
func CreateExitSpan ¶
func CreateExitSpan(ctx context.Context, i *invocation.Invocation) (go2sky.Span, error)
CreateExitSpan use tracer to create and start an exit span for client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.