traces

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFunctions

func DefaultFunctions() map[string]interface{}

Types

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(statements []string, functions map[string]interface{}, settings component.ProcessorCreateSettings) (*Processor, error)

func (*Processor) ProcessTraces

func (p *Processor) ProcessTraces(_ context.Context, td pdata.Traces) (pdata.Traces, error)

type Query

type Query struct {
	// contains filtered or unexported fields
}

Query holds a top level Query for processing trace data. A Query is a combination of a function invocation and the condition to match telemetry for invoking the function.

func Parse

func Parse(statements []string, functions map[string]interface{}) ([]Query, error)

Jump to

Keyboard shortcuts

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