lib/ddtrace/configuration/settings.rb in ddtrace-0.42.0 vs lib/ddtrace/configuration/settings.rb in ddtrace-0.43.0

- old
+ new

@@ -67,11 +67,12 @@ settings :distributed_tracing do option :propagation_extract_style do |o| o.default do # Look for all headers by default - env_to_list(Ext::DistributedTracing::PROPAGATION_EXTRACT_STYLE_ENV, + env_to_list([Ext::DistributedTracing::PROPAGATION_STYLE_EXTRACT_ENV, + Ext::DistributedTracing::PROPAGATION_EXTRACT_STYLE_ENV_OLD], [Ext::DistributedTracing::PROPAGATION_STYLE_DATADOG, Ext::DistributedTracing::PROPAGATION_STYLE_B3, Ext::DistributedTracing::PROPAGATION_STYLE_B3_SINGLE_HEADER]) end @@ -79,10 +80,11 @@ end option :propagation_inject_style do |o| o.default do # Only inject Datadog headers by default - env_to_list(Ext::DistributedTracing::PROPAGATION_INJECT_STYLE_ENV, + env_to_list([Ext::DistributedTracing::PROPAGATION_STYLE_INJECT_ENV, + Ext::DistributedTracing::PROPAGATION_INJECT_STYLE_ENV_OLD], [Ext::DistributedTracing::PROPAGATION_STYLE_DATADOG]) end o.lazy end