File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
metapackages/auto-instrumentations-node Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,10 @@ registerInstrumentations({
171
171
- [ @opentelemetry/instrumentation-dataloader ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-dataloader )
172
172
- [ @opentelemetry/instrumentation-dns ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-dns )
173
173
- [ @opentelemetry/instrumentation-express ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express )
174
- - [ @opentelemetry/instrumentation-fastify ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-fastify )
174
+ - [ @opentelemetry/instrumentation-fastify ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-fastify ) (deprecated, default disabled)
175
+ - This component is ** deprecated** in favor of the official instrumentation package [ ` @fastify/otel ` ] ( https://www.npmjs.com/package/@fastify/otel ) , maintained by the Fastify authors.
176
+ - Please see [ here] ( https://github.com/fastify/otel?tab=readme-ov-file#usage ) for instructions on how to use ` @fastify/otel ` .
177
+ - This component will be removed on June 30, 2025
175
178
- [ @opentelemetry/instrumentation-fs ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-fs ) (default disabled)
176
179
- [ @opentelemetry/instrumentation-generic-pool ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-generic-pool )
177
180
- [ @opentelemetry/instrumentation-graphql ] ( https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql )
Original file line number Diff line number Diff line change @@ -136,7 +136,10 @@ const InstrumentationMap = {
136
136
'@opentelemetry/instrumentation-winston' : WinstonInstrumentation ,
137
137
} ;
138
138
139
- const defaultExcludedInstrumentations = [ '@opentelemetry/instrumentation-fs' ] ;
139
+ const defaultExcludedInstrumentations = [
140
+ '@opentelemetry/instrumentation-fs' ,
141
+ '@opentelemetry/instrumentation-fastify' ,
142
+ ] ;
140
143
141
144
// Config types inferred automatically from the first argument of the constructor
142
145
type ConfigArg < T > = T extends new ( ...args : infer U ) => unknown ? U [ 0 ] : never ;
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ describe('utils', () => {
30
30
) . filter ( depName => {
31
31
return (
32
32
depName . startsWith ( '@opentelemetry/instrumentation-' ) &&
33
- depName !== '@opentelemetry/instrumentation-fs'
33
+ depName !== '@opentelemetry/instrumentation-fs' &&
34
+ depName !== '@opentelemetry/instrumentation-fastify'
34
35
) ;
35
36
} ) ;
36
37
You can’t perform that action at this time.
0 commit comments