trace

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceParserConfig

type TraceParserConfig struct {
	helper.TransformerConfig `mapstructure:",squash"           yaml:",inline"`
	helper.TraceParser       `mapstructure:",omitempty,squash" yaml:",omitempty,inline"`
}

TraceParserConfig is the configuration of a trace parser operator.

func NewTraceParserConfig

func NewTraceParserConfig(operatorID string) *TraceParserConfig

NewTraceParserConfig creates a new trace parser config with default values

func (TraceParserConfig) Build

Build will build a trace parser operator.

type TraceParserOperator

type TraceParserOperator struct {
	helper.TransformerOperator
	helper.TraceParser
}

TraceParserConfig is an operator that parses traces from fields to an entry.

func (*TraceParserOperator) Process

func (p *TraceParserOperator) Process(ctx context.Context, entry *entry.Entry) error

Process will parse traces from an entry.

Jump to

Keyboard shortcuts

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