batchprocessor

package
v1.300069.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 WithMetadataKeys added in v1.300069.0

func WithMetadataKeys(keys []string) common.TranslatorOption

WithMetadataKeys sets the metadata_keys for per-key batching.

func WithSendBatchMaxSize added in v1.300069.0

func WithSendBatchMaxSize(size uint32) common.TranslatorOption

WithSendBatchMaxSize sets the maximum number of items per batch export.

func WithSendBatchSize added in v1.300069.0

func WithSendBatchSize(size uint32) common.TranslatorOption

WithSendBatchSize sets the preferred number of items per batch export.

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.

Jump to

Keyboard shortcuts

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