From e59dc78d19a1acff5427cff4e62eff3cd802c0aa Mon Sep 17 00:00:00 2001 From: Pavel <177363085+pkcll@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:10:11 -0500 Subject: [PATCH] Set EmitterExportTimeout, LogExportTimeout to 30sec which is OTel default --- pkg/beholder/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/beholder/config.go b/pkg/beholder/config.go index b90e51dba..4398798f5 100644 --- a/pkg/beholder/config.go +++ b/pkg/beholder/config.go @@ -88,7 +88,7 @@ func DefaultConfig() Config { // Resource ResourceAttributes: defaultOtelAttributes, // Message Emitter - EmitterExportTimeout: 1 * time.Second, + EmitterExportTimeout: 30 * time.Second, EmitterExportMaxBatchSize: 512, EmitterExportInterval: 1 * time.Second, EmitterMaxQueueSize: 2048, @@ -105,7 +105,7 @@ func DefaultConfig() Config { // OTel metric exporter retry config MetricRetryConfig: defaultRetryConfig.Copy(), // Log - LogExportTimeout: 1 * time.Second, + LogExportTimeout: 30 * time.Second, LogExportMaxBatchSize: 512, LogExportInterval: 1 * time.Second, LogMaxQueueSize: 2048,