From fedf543112d214c9c1aa459684fe54800b6b6464 Mon Sep 17 00:00:00 2001 From: Pavel <177363085+pkcll@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:32:04 -0500 Subject: [PATCH] Update comment for EmitterBatchProcessor config option --- pkg/beholder/config.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkg/beholder/config.go b/pkg/beholder/config.go index 4398798f5..103f899cc 100644 --- a/pkg/beholder/config.go +++ b/pkg/beholder/config.go @@ -20,9 +20,7 @@ type Config struct { EmitterExportInterval time.Duration EmitterExportMaxBatchSize int EmitterMaxQueueSize int - // Batch processing is enabled by default - // Disable it only for testing - EmitterBatchProcessor bool + EmitterBatchProcessor bool // Enabled by default. Disable only for testing. // OTel Trace TraceSampleRatio float64 @@ -39,9 +37,7 @@ type Config struct { LogExportInterval time.Duration LogExportMaxBatchSize int LogMaxQueueSize int - // Batch processing is enabled by default - // Disable it only for testing - LogBatchProcessor bool + LogBatchProcessor bool // Enabled by default. Disable only for testing. // Retry config for shared log exporter, used by Emitter and Logger LogRetryConfig *RetryConfig