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 @@ -278,7 +278,7 @@ class Config {
278278      process . env . DD_TRACE_EXPERIMENTAL_B3_ENABLED , 
279279      false 
280280    ) 
281-     const  defaultPropagationStyle  =  [ 'tracecontext ' ,  'datadog ' ] 
281+     const  defaultPropagationStyle  =  [ 'datadog ' ,  'tracecontext ' ] 
282282    if  ( isTrue ( DD_TRACE_B3_ENABLED ) )  { 
283283      defaultPropagationStyle . push ( 'b3' ) 
284284      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