Skip to content

Commit

Permalink
Merge pull request #3293 from DataDog/remove-b3-default
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc authored Dec 1, 2023
2 parents 08a0d56 + ce5b8b2 commit 1b46fe7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions lib/datadog/tracing/configuration/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ def self.extended(base)
o.default(
[
Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_DATADOG,
Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_MULTI_HEADER,
Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_SINGLE_HEADER,
Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_TRACE_CONTEXT,
]
)
Expand Down
6 changes: 1 addition & 5 deletions spec/datadog/tracing/configuration/settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@
it do
is_expected.to contain_exactly(
Datadog::Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_DATADOG,
Datadog::Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_MULTI_HEADER,
Datadog::Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_B3_SINGLE_HEADER,
Datadog::Tracing::Configuration::Ext::Distributed::PROPAGATION_STYLE_TRACE_CONTEXT
)
end
Expand Down Expand Up @@ -218,9 +216,7 @@ def propagation_inject_style
it { is_expected.to eq [] }

it 'does not change propagation_extract_style' do
expect { propagation_style }.to_not change { propagation_extract_style }.from(
%w[Datadog b3multi b3 tracecontext]
)
expect { propagation_style }.to_not change { propagation_extract_style }.from(%w[Datadog tracecontext])
end

it 'does not change propagation_inject_style' do
Expand Down

0 comments on commit 1b46fe7

Please sign in to comment.