skywalking

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const (
	MOSNComponentID = 5003
	ErrorLog        = "Errors on upstream service"

	SkyDriverName = "SkyWalking"
)

Variables

View Source
var (
	ReporterCfgErr       = errors.New("SkyWalking tracer support only log and gRPC reporter")
	BackendServiceCfgErr = errors.New("SkyWalking tracer must configure the backend_service")
)
View Source
var NoopSpan = noopSkySpan{}

Functions

func NewSkyDriverImpl

func NewSkyDriverImpl() types.Driver

Types

type SkySpan

type SkySpan struct {
}

func (SkySpan) ParentSpanId

func (SkySpan) ParentSpanId() string

func (SkySpan) SetOperation

func (SkySpan) SetOperation(operation string)

func (SkySpan) SetTag

func (SkySpan) SetTag(key uint64, value string)

func (SkySpan) SpanId

func (SkySpan) SpanId() string

func (SkySpan) SpawnChild

func (SkySpan) SpawnChild(operationName string, _ time.Time) types.Span

func (SkySpan) Tag

func (SkySpan) Tag(key uint64) string

type SkyTracer

type SkyTracer interface {
	// injection go2sky.Tracer
	SetGO2SkyTracer(t *go2sky.Tracer)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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