trace

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(ctx *proto.Context, hints []*hint.Hint) bool

func Initialize

func Initialize(ctx context.Context, traceCfg *config.Trace) error

func RegisterProviders

func RegisterProviders(pType ProviderType, p Provider)

Types

type Provider

type Provider interface {
	Initialize(ctx context.Context, traceCfg *config.Trace) error
	Extract(ctx *proto.Context, hints []*hint.Hint) bool
}

type ProviderType

type ProviderType string
const (
	Service              = "arana"
	Jaeger  ProviderType = "jaeger"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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