@@ -10,6 +10,10 @@ import {
1010 PinoInstrumentation ,
1111 type PinoInstrumentationConfig ,
1212} from '@opentelemetry/instrumentation-pino' ;
13+ import {
14+ RuntimeNodeInstrumentation ,
15+ type RuntimeNodeInstrumentationConfig ,
16+ } from '@opentelemetry/instrumentation-runtime-node' ;
1317import {
1418 UndiciInstrumentation ,
1519 type UndiciInstrumentationConfig ,
@@ -20,16 +24,19 @@ export function otelRegisterInstrumentations({
2024 httpInstrumentationConfig,
2125 undiciInstrumentationConfig,
2226 pinoInstrumentationConfig,
27+ runtimeNodeInstrumentationConfig,
2328} : {
2429 grpcInstrumentationConfig ?: GrpcInstrumentationConfig ;
2530 httpInstrumentationConfig ?: HttpInstrumentationConfig ;
2631 undiciInstrumentationConfig ?: UndiciInstrumentationConfig ;
2732 pinoInstrumentationConfig ?: PinoInstrumentationConfig ;
33+ runtimeNodeInstrumentationConfig ?: RuntimeNodeInstrumentationConfig ;
2834} = { } ) {
2935 return [
3036 new GrpcInstrumentation ( grpcInstrumentationConfig ) ,
3137 new HttpInstrumentation ( httpInstrumentationConfig ) ,
3238 new UndiciInstrumentation ( undiciInstrumentationConfig ) ,
3339 new PinoInstrumentation ( pinoInstrumentationConfig ) ,
40+ new RuntimeNodeInstrumentation ( runtimeNodeInstrumentationConfig ) ,
3441 ] ;
3542}
0 commit comments