Skip to content

Commit

Permalink
allow custom propagator
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Jun 11, 2022
1 parent 94d385d commit 4e6d0a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/opentelemetry/src/otel_configuration.erl
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,9 @@ transform(propagator, Value) when Value =:= "b3" ;
%% TODO: support jager propagator format
%% transform(propagator, "jaeger") ->
%% jaeger;
transform(propagator, Propagator) ->
transform(propagator, Propagator) when is_atom(Propagator) ->
Propagator;
transform(propagator, Propagator) ->
?LOG_WARNING("Ignoring unknown propagator ~ts in OS environment variable $OTEL_PROPAGATORS",
[Propagator]),
undefined;
Expand Down

0 comments on commit 4e6d0a0

Please sign in to comment.