File tree 3 files changed +5
-40
lines changed
src/integrations/tracing/fastify
3 files changed +5
-40
lines changed Original file line number Diff line number Diff line change 65
65
"access" : " public"
66
66
},
67
67
"dependencies" : {
68
- "@fastify/otel" : " 0.5.0 " ,
68
+ "@fastify/otel" : " 0.5.1 " ,
69
69
"@opentelemetry/api" : " ^1.9.0" ,
70
70
"@opentelemetry/context-async-hooks" : " ^1.30.1" ,
71
71
"@opentelemetry/core" : " ^1.30.1" ,
Original file line number Diff line number Diff line change @@ -16,41 +16,6 @@ import * as diagnosticsChannel from 'node:diagnostics_channel';
16
16
import { DEBUG_BUILD } from '../../../debug-build' ;
17
17
import type { FastifyInstance , FastifyReply , FastifyRequest } from './types' ;
18
18
19
- // /**
20
- // * Minimal request type containing properties around route information.
21
- // * Works for Fastify 3, 4 and presumably 5.
22
- // *
23
- // * Based on https://github.com/fastify/fastify/blob/ce3811f5f718be278bbcd4392c615d64230065a6/types/request.d.ts
24
- // */
25
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any
26
- // interface MinimalFastifyRequest extends Record<string, any> {
27
- // method?: string;
28
-
29
- // routeOptions?: {
30
- // url?: string;
31
- // };
32
- // routerPath?: string;
33
- // }
34
-
35
- // /**
36
- // * Minimal reply type containing properties needed for error handling.
37
- // *
38
- // * Based on https://github.com/fastify/fastify/blob/ce3811f5f718be278bbcd4392c615d64230065a6/types/reply.d.ts
39
- // */
40
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any
41
- // interface MinimalFastifyReply extends Record<string, any> {
42
- // statusCode: number;
43
- // }
44
-
45
- // // We inline the types we care about here
46
- // interface Fastify {
47
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
- // version: string;
49
- // register: (plugin: any) => Fastify;
50
- // after: (listener?: (err: Error) => void) => Fastify;
51
- // addHook: (name: string, handler: (...params: unknown[]) => void) => Fastify;
52
- // }
53
-
54
19
interface FastifyHandlerOptions {
55
20
/**
56
21
* Callback method deciding whether error should be captured and sent to Sentry
Original file line number Diff line number Diff line change 3921
3921
resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.0.0.tgz#f22824caff3ae506b18207bad4126dbc6ccdb6b8"
3922
3922
integrity sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==
3923
3923
3924
-
3925
- version "0.5.0 "
3926
- resolved "https://registry.yarnpkg.com/@fastify/otel/-/otel-0.5.0 .tgz#1b18e9623768ad6d8a20e95771dacca2783aa0ba "
3927
- integrity sha512-wZ2yl/2iuW6jerdktR/mpkkI83/qHhbRShQtNA3x+6+bQ/RKqmhifc5M29fmHbyIw+DF3SXJAKMSdURSQt4W0w ==
3924
+
3925
+ version "0.5.1 "
3926
+ resolved "https://registry.yarnpkg.com/@fastify/otel/-/otel-0.5.1 .tgz#fc8e56fcbdeb693c1a44f2da071817bc600ae1f5 "
3927
+ integrity sha512-xDoDFQHRlgZ1Koe9fWzz4MqgrdW6u66bMPy+rOgoWg4cHyGFnmpcnUusKaFOyBsFhGtaH5dCLmLo3gCGoMnxYQ ==
3928
3928
dependencies:
3929
3929
"@opentelemetry/core" "^1.29.0"
3930
3930
"@opentelemetry/instrumentation" "^0.57.0"
You can’t perform that action at this time.
0 commit comments