Skip to content

Commit e75085b

Browse files
authored
Improvements to OTEL traces in usage (#6382)
1 parent ebe56f2 commit e75085b

File tree

3 files changed

+220
-217
lines changed

3 files changed

+220
-217
lines changed

packages/services/service-common/src/fastify-tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type IgnoreRouteFn = (path: string, method: string) => boolean;
4848

4949
declare module 'fastify' {
5050
interface FastifyRequest {
51-
openTelemetry: () => ReqInstance;
51+
openTelemetry?: () => ReqInstance;
5252
}
5353
}
5454

0 commit comments

Comments
 (0)