Skip to content

Commit 3091298

Browse files
committed
Fix instantiation of undici instrumentation
1 parent 763ef0c commit 3091298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodejs/packages/layer/src/wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ async function defaultConfigureInstrumentations() {
297297
const { UndiciInstrumentation } = await import(
298298
'@opentelemetry/instrumentation-undici'
299299
);
300-
instrumentations.push(new UndiciInstrumentation);
300+
instrumentations.push(new UndiciInstrumentation());
301301
}
302302
if (activeInstrumentations.has('winston')) {
303303
const { WinstonInstrumentation } = await import(

0 commit comments

Comments
 (0)