Skip to content

Commit 48c4e59

Browse files
committed
Fix traces_exporter type spec
traces_exporter can be "none" in which case the value will be undefined.
1 parent 525f0e3 commit 48c4e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/opentelemetry/src/otel_configuration.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
resource_detectors => [module()],
3636
resource_detector_timeout => integer(),
3737
text_map_propagators := [atom()],
38-
traces_exporter := {atom(), term()},
38+
traces_exporter := {atom(), term()} | undefined,
3939
metrics_exporter := {atom(), term()} | undefined,
4040
processors := list(),
4141
sampler := {atom(), term()},

0 commit comments

Comments
 (0)