File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ class Config {
281281 process . env . DD_TRACE_EXPERIMENTAL_B3_ENABLED ,
282282 false
283283 )
284- const defaultPropagationStyle = [ 'tracecontext ' , 'datadog ' ]
284+ const defaultPropagationStyle = [ 'datadog ' , 'tracecontext ' ]
285285 if ( isTrue ( DD_TRACE_B3_ENABLED ) ) {
286286 defaultPropagationStyle . push ( 'b3' )
287287 defaultPropagationStyle . push ( 'b3 single header' )
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ describe('Config', () => {
9595 expect ( config ) . to . have . property ( 'spanComputePeerService' , false )
9696 expect ( config ) . to . have . property ( 'traceRemoveIntegrationServiceNamesEnabled' , false )
9797 expect ( config ) . to . have . deep . property ( 'serviceMapping' , { } )
98- expect ( config ) . to . have . nested . deep . property ( 'tracePropagationStyle.inject' , [ 'tracecontext ' , 'datadog ' ] )
99- expect ( config ) . to . have . nested . deep . property ( 'tracePropagationStyle.extract' , [ 'tracecontext ' , 'datadog ' ] )
98+ expect ( config ) . to . have . nested . deep . property ( 'tracePropagationStyle.inject' , [ 'datadog ' , 'tracecontext ' ] )
99+ expect ( config ) . to . have . nested . deep . property ( 'tracePropagationStyle.extract' , [ 'datadog ' , 'tracecontext ' ] )
100100 expect ( config ) . to . have . nested . property ( 'experimental.runtimeId' , false )
101101 expect ( config ) . to . have . nested . property ( 'experimental.exporter' , undefined )
102102 expect ( config ) . to . have . nested . property ( 'experimental.enableGetRumData' , false )
You can’t perform that action at this time.
0 commit comments