Skip to content

Commit 3f4ceb1

Browse files
committed
chore: bump to otel version v0.120.0
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent 7595427 commit 3f4ceb1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

config_test.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,36 +41,36 @@ func TestLoadConfigNewExporter(t *testing.T) {
4141
},
4242
ConnectionTimeout: time.Second * 30,
4343
ClientConfig: configtls.ClientConfig{
44-
Insecure: true,
45-
InsecureSkipVerify: false,
44+
Insecure: false,
45+
InsecureSkipVerify: true,
4646
Config: configtls.Config{
47-
CAFile: "",
48-
CertFile: "",
49-
KeyFile: "",
47+
CAFile: "ca.crt",
48+
CertFile: "client.crt",
49+
KeyFile: "client.key",
5050
},
5151
},
52-
SharedKey: "",
52+
SharedKey: "otelcol-dev",
5353
},
54-
RequireAck: false,
55-
Tag: "tag",
56-
CompressGzip: false,
54+
RequireAck: true,
55+
Tag: "nginx",
56+
CompressGzip: true,
5757
DefaultLabelsEnabled: map[string]bool{
5858
"timestamp": true,
5959
"level": true,
6060
"message": true,
6161
},
6262
BackOffConfig: configretry.BackOffConfig{
6363
Enabled: true,
64-
InitialInterval: 5 * time.Second,
65-
MaxInterval: 30 * time.Second,
66-
MaxElapsedTime: 5 * time.Minute,
64+
InitialInterval: 10 * time.Second,
65+
MaxInterval: 1 * time.Minute,
66+
MaxElapsedTime: 10 * time.Minute,
6767
RandomizationFactor: backoff.DefaultRandomizationFactor,
6868
Multiplier: backoff.DefaultMultiplier,
6969
},
7070
QueueConfig: exporterhelper.QueueConfig{
7171
Enabled: true,
72-
NumConsumers: 10,
73-
QueueSize: 1000,
72+
NumConsumers: 2,
73+
QueueSize: 10,
7474
},
7575
},
7676
},

0 commit comments

Comments
 (0)