traces

package
v0.142.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSetSemconvSpanNameFactory added in v0.142.0

func NewSetSemconvSpanNameFactory() ottl.Factory[*ottlspan.TransformContext]

func NewSetSemconvSpanNameFactoryLegacy added in v0.142.0

func NewSetSemconvSpanNameFactoryLegacy() ottl.Factory[ottlspan.TransformContext]

func SpanEventFunctions added in v0.65.0

func SpanEventFunctions() map[string]ottl.Factory[*ottlspanevent.TransformContext]

func SpanFunctions added in v0.65.0

func SpanFunctions() map[string]ottl.Factory[*ottlspan.TransformContext]

Types

type Processor

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

func NewProcessor

func NewProcessor(contextStatements []common.ContextStatements, errorMode ottl.ErrorMode, settings component.TelemetrySettings, spanFunctions map[string]ottl.Factory[*ottlspan.TransformContext], spanEventFunctions map[string]ottl.Factory[*ottlspanevent.TransformContext]) (*Processor, error)

func (*Processor) ProcessTraces

func (p *Processor) ProcessTraces(ctx context.Context, td ptrace.Traces) (ptrace.Traces, error)

Jump to

Keyboard shortcuts

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