skywalking

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func CreateLocalSpan

func CreateLocalSpan(ctx context.Context, opts ...go2sky.SpanOption) (go2sky.Span, context.Context, error)

CreateLocalSpan use tracer to create and start a span for local usage

func Init

func Init()

Init skywalking manager

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL