skywalking

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 12 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() api.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) api.Span

func (SkySpan) Tag

func (SkySpan) Tag(key uint64) string

type SkyTracer

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

type SpanCarrier added in v0.15.0

type SpanCarrier struct {
	EntrySpan go2sky.Span
	ExitSpan  go2sky.Span
}

SpanCarrier save the entry span and exit span in one request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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