File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
plugins/node/opentelemetry-instrumentation-aws-lambda/test/integrations Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import * as path from 'path';
2222import {
2323 AwsLambdaInstrumentation ,
2424 AwsLambdaInstrumentationConfig ,
25- traceContextEnvironmentKey ,
2625 lambdaMaxInitInMilliseconds ,
2726} from '../../src' ;
2827import {
@@ -534,7 +533,7 @@ describe('lambda handler', () => {
534533 } ) ;
535534
536535 it ( 'can extract context from lambda context env variable using a global propagator' , async ( ) => {
537- process . env [ traceContextEnvironmentKey ] = sampledAwsHeader ;
536+ process . env [ '_X_AMZN_TRACE_ID' ] = sampledAwsHeader ;
538537 propagation . setGlobalPropagator ( new AWSXRayLambdaPropagator ( ) ) ;
539538 initializeHandler ( 'lambda-test/async.handler' ) ;
540539
You can’t perform that action at this time.
0 commit comments