diff --git a/plugins/node/opentelemetry-instrumentation-fastify/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-fastify/src/instrumentation.ts index 6ed80ca648..4f6df78268 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-fastify/src/instrumentation.ts @@ -209,7 +209,7 @@ export class FastifyInstrumentation extends InstrumentationBase { return fastify; } - public _patchSend() { + private _patchSend() { const instrumentation = this; this._diag.debug('Patching fastify reply.send function'); @@ -238,7 +238,7 @@ export class FastifyInstrumentation extends InstrumentationBase { }; } - public _hookPreHandler() { + private _hookPreHandler() { const instrumentation = this; this._diag.debug('Patching fastify preHandler function');