Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const (
DefCollectorTLSCAPath = "/var/lib/nginx-agent/ca.pem"
DefCollectorTLSSANNames = "127.0.0.1,::1,localhost"

DefCollectorBatchProcessorSendBatchSize = 8192
DefCollectorBatchProcessorSendBatchMaxSize = 0
DefCollectorBatchProcessorTimeout = 200 * time.Millisecond
DefCollectorBatchProcessorSendBatchSize = 1000
DefCollectorBatchProcessorSendBatchMaxSize = 1000
DefCollectorBatchProcessorTimeout = 30 * time.Second

DefCollectorExtensionsHealthServerHost = "localhost"
DefCollectorExtensionsHealthServerPort = 13133
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ processors:
action: add
value: 12345
batch:
send_batch_size: 8192
timeout: 200ms
send_batch_max_size: 0
send_batch_size: 1000
timeout: 30s
send_batch_max_size: 1000

exporters:
otlp/0:
Expand Down
Loading