We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e2671 commit 24bcec8Copy full SHA for 24bcec8
exporter/example_test.go
@@ -10,6 +10,7 @@ import (
10
"go.uber.org/zap"
11
12
"go.opentelemetry.io/collector/component"
13
+ "go.opentelemetry.io/collector/config/configoptional"
14
"go.opentelemetry.io/collector/config/configretry"
15
"go.opentelemetry.io/collector/consumer"
16
"go.opentelemetry.io/collector/exporter"
@@ -22,7 +23,7 @@ var typeStr = component.MustNewType("example")
22
23
24
// exampleConfig holds configuration settings for the exporter.
25
type exampleConfig struct {
- QueueSettings exporterhelper.QueueBatchConfig
26
+ QueueSettings configoptional.Optional[exporterhelper.QueueBatchConfig]
27
BackOffConfig configretry.BackOffConfig
28
}
29
0 commit comments