Skip to content

Commit b523b52

Browse files
committed
update coralogix exporter to use new batcher api
1 parent 786a7cd commit b523b52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/coralogixexporter/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ func TestLoadConfig(t *testing.T) {
158158
BatcherConfig: exporterbatcher.Config{
159159
Enabled: true,
160160
FlushTimeout: 3 * time.Second,
161-
MinSizeConfig: exporterbatcher.MinSizeConfig{
162-
MinSizeItems: 8888,
161+
SizeConfig: exporterbatcher.SizeConfig{
162+
MinSize: 8888,
163163
},
164164
},
165165
},
@@ -340,7 +340,7 @@ func TestCreateExportersWithBatcher(t *testing.T) {
340340
cfg.AppName = "test-app"
341341
cfg.BatcherConfig.Enabled = true
342342
cfg.BatcherConfig.FlushTimeout = 1 * time.Second
343-
cfg.BatcherConfig.MinSizeItems = 100
343+
cfg.BatcherConfig.MinSize = 100
344344

345345
// Test traces exporter
346346
t.Run("traces_with_batcher", func(t *testing.T) {

0 commit comments

Comments
 (0)