Documentation ¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslator ¶
func NewTranslator() common.Translator[component.Config]
func NewTranslatorWithName ¶
func NewTranslatorWithName(name string) common.Translator[component.Config]
Types ¶
type ContextStatement ¶
type ContextStatement struct { Context string `mapstructure:"context"` Statements []string `mapstructure:"statements"` }
ContextStatement follows the yaml structure defined by otel's transform processor: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/transformprocessor/internal/common/config.go#L45-L48)
Click to show internal directories.
Click to hide internal directories.