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
WithErrorMode sets the error mode for dynamic statements. Defaults to "propagate".
func WithLogStatements ¶ added in v1.300069.0
WithLogStatements sets OTTL statements to execute in the "resource" context for logs.
func WithMetricStatements ¶ added in v1.300070.0
WithMetricStatements sets OTTL statements to execute in the "resource" context for metrics.
func WithScopeStatements ¶ added in v1.300070.0
WithScopeStatements sets OTTL statements to execute in the "scope" context for all signal types.
Click to show internal directories.
Click to hide internal directories.