Skip to content

Commit 9ec3c64

Browse files
committed
fixup! feat(auto-instrumentations-node)!: deprecate instrumentation in favor of @fastify/otel
1 parent 4b2e027 commit 9ec3c64

File tree

1 file changed

+4
-1
lines changed
  • metapackages/auto-instrumentations-node/src

1 file changed

+4
-1
lines changed

metapackages/auto-instrumentations-node/src/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ const InstrumentationMap = {
136136
'@opentelemetry/instrumentation-winston': WinstonInstrumentation,
137137
};
138138

139-
const defaultExcludedInstrumentations = ['@opentelemetry/instrumentation-fs', '@opentelemetry/instrumentation-fastify'];
139+
const defaultExcludedInstrumentations = [
140+
'@opentelemetry/instrumentation-fs',
141+
'@opentelemetry/instrumentation-fastify',
142+
];
140143

141144
// Config types inferred automatically from the first argument of the constructor
142145
type ConfigArg<T> = T extends new (...args: infer U) => unknown ? U[0] : never;

0 commit comments

Comments
 (0)