Documentation
¶
Index ¶
- func NewTranslator(opts ...common.TranslatorOption) common.ComponentTranslator
- func NewTranslatorWithNameAndSection(name string, telemetrySectionKey string) common.ComponentTranslator
- func WithTelemetrySection(section string) common.TranslatorOption
- func WithTimeout(timeout time.Duration) common.TranslatorOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTranslator ¶ added in v1.300062.0
func NewTranslator(opts ...common.TranslatorOption) common.ComponentTranslator
NewTranslator creates a new batch processor translator with options
func NewTranslatorWithNameAndSection ¶
func NewTranslatorWithNameAndSection(name string, telemetrySectionKey string) common.ComponentTranslator
Use NewTranslator with WithName and WithTelemetrySection options
func WithTelemetrySection ¶ added in v1.300062.0
func WithTelemetrySection(section string) common.TranslatorOption
WithTelemetrySection sets the telemetry section key for the translator
func WithTimeout ¶ added in v1.300062.0
func WithTimeout(timeout time.Duration) common.TranslatorOption
WithTimeout sets a timeout override for the translator
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.