service

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// https://github.com/apache/skywalking-query-protocol/blob/master/trace.graphqls#L86
	SpanTypeLocal  = "Local"
	SpanTypeClient = "Exit"
	SpanTypeServer = "Entry"

	AttributeHTTPMethod      = "http.method"
	AttributeHTTPStatus_Code = "http.status_code"
	AttributeHTTPStatusCode  = "http.status.code"
	AttributeDbStatement     = "db.statement"
	AttributeCacheCmd        = "cache.cmd"
	AttributeCacheKey        = "cache.key"

	// layer possible values: Unknown, Database, RPCFramework, Http, MQ and Cache
	// ref: https://github.com/apache/skywalking-query-protocol/blob/master/trace.graphqls#L94
	LayerUnknown  = "Unknown"
	LayerDatabase = "Database"
	LayerRPC      = "RPCFramework"
	LayerHTTP     = "Http"
	LayerCache    = "Cache"
	LayerMQ       = "MQ"
)

Variables

View Source
var (
	Adapters map[string]model.TraceAdapter
)

Functions

func Register

func Register() error

Types

type SkyWalkingAdapter

type SkyWalkingAdapter struct {
}

func (*SkyWalkingAdapter) GetTrace

func (s *SkyWalkingAdapter) GetTrace(traceID string, c *config.ExternalAPM) (*model.ExTrace, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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