File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 6767 "@opentelemetry/instrumentation-express" : " ^0.52.0" ,
6868 "@opentelemetry/instrumentation-http" : " ^0.203.0" ,
6969 "@opentelemetry/instrumentation-nestjs-core" : " ^0.49.0" ,
70+ "@opentelemetry/instrumentation-socket.io" : " ^0.52.3" ,
7071 "@opentelemetry/instrumentation-typeorm" : " ^0.4.0" ,
7172 "@opentelemetry/resources" : " ^2.0.1" ,
7273 "@opentelemetry/sdk-node" : " ^0.203.0" ,
9899 "typeorm" : " ^0.3.25" ,
99100 "typeorm-naming-strategies" : " ^4.1.0"
100101 },
101- "packageManager" : " pnpm@10.13 .1"
102+ "packageManager" : " pnpm@10.17 .1"
102103}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { resourceFromAttributes } from '@opentelemetry/resources';
55import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions' ;
66import { HttpInstrumentation } from '@opentelemetry/instrumentation-http' ;
77import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express' ;
8+ import { SocketIoInstrumentation } from '@opentelemetry/instrumentation-socket.io' ;
89import { NestInstrumentation } from '@opentelemetry/instrumentation-nestjs-core' ;
910import { TypeormInstrumentation } from '@opentelemetry/instrumentation-typeorm' ;
1011import { isEmpty } from 'omniboxd/utils/is-empty' ;
@@ -47,6 +48,7 @@ if (isTracingEnabled()) {
4748 return excludedUrls . some ( ( url ) => req . url ?. includes ( url ) ) || false ;
4849 } ,
4950 } ) ,
51+ new SocketIoInstrumentation ( ) ,
5052 new ExpressInstrumentation ( {
5153 ignoreLayersType : [ ExpressLayerType . MIDDLEWARE ] ,
5254 } ) ,
You can’t perform that action at this time.
0 commit comments