Skip to content

Commit

Permalink
Update comment for EmitterBatchProcessor config option
Browse files Browse the repository at this point in the history
  • Loading branch information
pkcll committed Dec 4, 2024
1 parent e59dc78 commit fedf543
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pkg/beholder/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit fedf543

Please sign in to comment.