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 ¶
This section is empty.
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)
type Option ¶ added in v1.300041.0
type Option func(any)
func WithConfigKey ¶ added in v1.300041.0
func WithIgnorePlugins ¶ added in v1.300041.0
type Translator ¶ added in v1.300041.0
type Translator interface { common.Translator[component.Config] // IsSet determines whether the config has the fields needed for the translator. IsSet(conf *confmap.Conf) bool }
func NewTranslator ¶
func NewTranslator(opts ...Option) Translator
Click to show internal directories.
Click to hide internal directories.