File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -41,36 +41,36 @@ func TestLoadConfigNewExporter(t *testing.T) {
41
41
},
42
42
ConnectionTimeout : time .Second * 30 ,
43
43
ClientConfig : configtls.ClientConfig {
44
- Insecure : true ,
45
- InsecureSkipVerify : false ,
44
+ Insecure : false ,
45
+ InsecureSkipVerify : true ,
46
46
Config : configtls.Config {
47
- CAFile : "" ,
48
- CertFile : "" ,
49
- KeyFile : "" ,
47
+ CAFile : "ca.crt " ,
48
+ CertFile : "client.crt " ,
49
+ KeyFile : "client.key " ,
50
50
},
51
51
},
52
- SharedKey : "" ,
52
+ SharedKey : "otelcol-dev " ,
53
53
},
54
- RequireAck : false ,
55
- Tag : "tag " ,
56
- CompressGzip : false ,
54
+ RequireAck : true ,
55
+ Tag : "nginx " ,
56
+ CompressGzip : true ,
57
57
DefaultLabelsEnabled : map [string ]bool {
58
58
"timestamp" : true ,
59
59
"level" : true ,
60
60
"message" : true ,
61
61
},
62
62
BackOffConfig : configretry.BackOffConfig {
63
63
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 ,
67
67
RandomizationFactor : backoff .DefaultRandomizationFactor ,
68
68
Multiplier : backoff .DefaultMultiplier ,
69
69
},
70
70
QueueConfig : exporterhelper.QueueConfig {
71
71
Enabled : true ,
72
- NumConsumers : 10 ,
73
- QueueSize : 1000 ,
72
+ NumConsumers : 2 ,
73
+ QueueSize : 10 ,
74
74
},
75
75
},
76
76
},
You can’t perform that action at this time.
0 commit comments