Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

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
5 changes: 4 additions & 1 deletion test/config/agent/nginx-agent-otel-load.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ collector:
host: "127.0.0.1"
port: 4317
processors:
batch: {}
batch:
send_batch_size: 8192
timeout: 200ms
send_batch_max_size: 0
exporters:
otlp:
- server:
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