transformprocessor

package
v1.300070.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTranslatorWithName

func NewTranslatorWithName(name string, opts ...Option) common.ComponentTranslator

Types

type Option added in v1.300069.0

type Option func(*translator)

func WithErrorMode added in v1.300070.0

func WithErrorMode(mode string) Option

WithErrorMode sets the error mode for dynamic statements. Defaults to "propagate".

func WithLogStatements added in v1.300069.0

func WithLogStatements(statements []string) Option

WithLogStatements sets OTTL statements to execute in the "resource" context for logs.

func WithMetricStatements added in v1.300070.0

func WithMetricStatements(statements []string) Option

WithMetricStatements sets OTTL statements to execute in the "resource" context for metrics.

func WithScopeStatements added in v1.300070.0

func WithScopeStatements(statements []string) Option

WithScopeStatements sets OTTL statements to execute in the "scope" context for all signal types.

Jump to

Keyboard shortcuts

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