interpreter

package
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpanInterpreterEngine

type SpanInterpreterEngine struct {
	SpanInterpreterEngineContext
	DefaultSpanInterpreter *interpreters.DefaultSpanInterpreter
	SourceInterpreters     map[string]interpreters.SourceInterpreter
	TypeInterpreters       map[string]interpreters.TypeInterpreter
}

SpanInterpreterEngine type is used to setup the span interpreters

func MakeSpanInterpreterEngine

func MakeSpanInterpreterEngine(config *interpreterConfig.Config, typeIns map[string]interpreters.TypeInterpreter, sourceIns map[string]interpreters.SourceInterpreter) *SpanInterpreterEngine

MakeSpanInterpreterEngine creates a SpanInterpreterEngine given the config and interpreters

func NewSpanInterpreterEngine

func NewSpanInterpreterEngine(agentConfig *config.AgentConfig) *SpanInterpreterEngine

NewSpanInterpreterEngine creates a SpanInterpreterEngine given the config and the default interpreters

func (*SpanInterpreterEngine) Interpret

func (se *SpanInterpreterEngine) Interpret(origTrace pb.Trace) pb.Trace

Interpret interprets the trace using the configured SpanInterpreterEngine

type SpanInterpreterEngineContext

type SpanInterpreterEngineContext interface {
	// contains filtered or unexported methods
}

SpanInterpreterEngineContext helper functions that is used by the span interpreter engine context

func MakeSpanInterpreterEngineContext

func MakeSpanInterpreterEngineContext(config *config.Config) SpanInterpreterEngineContext

MakeSpanInterpreterEngineContext creates a SpanInterpreterEngineContext for config

Jump to

Keyboard shortcuts

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