Skip to content

Commit e2d9182

Browse files
committed
Set a default queue size
1 parent 970fa7f commit e2d9182

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

exporter/prometheusremotewriteexporter/factory.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ func createMetricsExporter(_ context.Context, params component.ExporterCreatePar
6969
exporterhelper.WithQueue(exporterhelper.QueueSettings{
7070
Enabled: true,
7171
NumConsumers: 1,
72-
// TODO(jbd): Allow users to modify the queue size.
72+
QueueSize: 10000,
73+
// TODO(jbd): Adjust the default queue size
74+
// and allow users to modify the queue size.
7375
}),
7476
exporterhelper.WithRetry(prwCfg.RetrySettings),
7577
exporterhelper.WithShutdown(prwe.Shutdown),

0 commit comments

Comments
 (0)