@@ -47,11 +47,7 @@ import {
4747import { AWSXRayPropagator } from '@opentelemetry/propagator-aws-xray' ;
4848import { AWSXRayLambdaPropagator } from '@opentelemetry/propagator-aws-xray-lambda' ;
4949
50- const defaultInstrumentationList = [
51- 'dns' ,
52- 'http' ,
53- 'net' ,
54- ] ;
50+ const defaultInstrumentationList = [ 'dns' , 'http' , 'net' ] ;
5551
5652const propagatorMap = new Map < string , ( ) => TextMapPropagator > ( [
5753 [ 'tracecontext' , ( ) => new W3CTraceContextPropagator ( ) ] ,
@@ -93,7 +89,7 @@ declare global {
9389 function configureLoggerProvider ( loggerProvider : unknown ) : void ;
9490}
9591
96- function getActiveInstumentations ( ) : Set < string > {
92+ function getActiveInstrumentations ( ) : Set < string > {
9793 let enabledInstrumentations : string [ ] = defaultInstrumentationList ;
9894 if ( process . env . OTEL_NODE_ENABLED_INSTRUMENTATIONS ) {
9995 enabledInstrumentations =
@@ -114,7 +110,7 @@ function getActiveInstumentations(): Set<string> {
114110
115111async function defaultConfigureInstrumentations ( ) {
116112 const instrumentations = [ ] ;
117- const activeInstrumentations = getActiveInstumentations ( ) ;
113+ const activeInstrumentations = getActiveInstrumentations ( ) ;
118114 if ( activeInstrumentations . has ( 'amqplib' ) ) {
119115 const { AmqplibInstrumentation } = await import (
120116 '@opentelemetry/instrumentation-amqplib'
0 commit comments