@sentry/node 10.69.0 → 11.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1194) hide show
  1. package/build/cjs/bundler-plugin/esbuild.js +19 -0
  2. package/build/cjs/bundler-plugin/esbuild.js.map +1 -0
  3. package/build/cjs/bundler-plugin/rollup.js +12 -0
  4. package/build/cjs/bundler-plugin/rollup.js.map +1 -0
  5. package/build/cjs/bundler-plugin/vite.js +12 -0
  6. package/build/cjs/bundler-plugin/vite.js.map +1 -0
  7. package/build/cjs/bundler-plugin/webpack.js +18 -0
  8. package/build/cjs/bundler-plugin/webpack.js.map +1 -0
  9. package/build/cjs/cron/common.js +52 -0
  10. package/build/cjs/cron/common.js.map +1 -0
  11. package/build/cjs/cron/cron.js +88 -0
  12. package/build/cjs/cron/cron.js.map +1 -0
  13. package/build/cjs/cron/index.js +14 -0
  14. package/build/cjs/cron/index.js.map +1 -0
  15. package/build/cjs/cron/node-cron.js +52 -0
  16. package/build/cjs/cron/node-cron.js.map +1 -0
  17. package/build/cjs/cron/node-schedule.js +41 -0
  18. package/build/cjs/cron/node-schedule.js.map +1 -0
  19. package/build/cjs/index.js +111 -123
  20. package/build/cjs/index.js.map +1 -1
  21. package/build/cjs/integrations/anr/index.js +159 -0
  22. package/build/cjs/integrations/anr/index.js.map +1 -0
  23. package/build/cjs/integrations/childProcess.js +81 -0
  24. package/build/cjs/integrations/childProcess.js.map +1 -0
  25. package/build/cjs/integrations/console.js +95 -0
  26. package/build/cjs/integrations/console.js.map +1 -0
  27. package/build/cjs/integrations/context.js +391 -0
  28. package/build/cjs/integrations/context.js.map +1 -0
  29. package/build/cjs/integrations/contextlines.js +251 -0
  30. package/build/cjs/integrations/contextlines.js.map +1 -0
  31. package/build/cjs/integrations/fs/index.js +1 -1
  32. package/build/cjs/integrations/fs/index.js.map +1 -1
  33. package/build/cjs/integrations/fs/vendored/constants.js.map +1 -1
  34. package/build/cjs/integrations/http/SentryHttpInstrumentation.js +67 -0
  35. package/build/cjs/integrations/http/SentryHttpInstrumentation.js.map +1 -0
  36. package/build/cjs/integrations/http/httpServerIntegration.js +77 -0
  37. package/build/cjs/integrations/http/httpServerIntegration.js.map +1 -0
  38. package/build/cjs/integrations/http/httpServerSpansIntegration.js +243 -0
  39. package/build/cjs/integrations/http/httpServerSpansIntegration.js.map +1 -0
  40. package/build/cjs/integrations/http/index.js +71 -0
  41. package/build/cjs/integrations/http/index.js.map +1 -0
  42. package/build/cjs/integrations/local-variables/common.js +20 -0
  43. package/build/cjs/integrations/local-variables/common.js.map +1 -0
  44. package/build/cjs/integrations/local-variables/index.js +10 -0
  45. package/build/cjs/integrations/local-variables/index.js.map +1 -0
  46. package/build/cjs/integrations/local-variables/local-variables-async.js +106 -0
  47. package/build/cjs/integrations/local-variables/local-variables-async.js.map +1 -0
  48. package/build/cjs/integrations/modules.js +98 -0
  49. package/build/cjs/integrations/modules.js.map +1 -0
  50. package/build/cjs/integrations/node-fetch/index.js +24 -0
  51. package/build/cjs/integrations/node-fetch/index.js.map +1 -0
  52. package/build/cjs/integrations/node-fetch/undici-instrumentation.js +261 -0
  53. package/build/cjs/integrations/node-fetch/undici-instrumentation.js.map +1 -0
  54. package/build/cjs/integrations/nodeRuntimeMetrics.js +181 -0
  55. package/build/cjs/integrations/nodeRuntimeMetrics.js.map +1 -0
  56. package/build/cjs/integrations/onuncaughtexception.js +92 -0
  57. package/build/cjs/integrations/onuncaughtexception.js.map +1 -0
  58. package/build/cjs/integrations/onunhandledrejection.js +92 -0
  59. package/build/cjs/integrations/onunhandledrejection.js.map +1 -0
  60. package/build/cjs/integrations/pino.js +116 -0
  61. package/build/cjs/integrations/pino.js.map +1 -0
  62. package/build/cjs/integrations/processSession.js +22 -0
  63. package/build/cjs/integrations/processSession.js.map +1 -0
  64. package/build/cjs/integrations/spotlight.js +79 -0
  65. package/build/cjs/integrations/spotlight.js.map +1 -0
  66. package/build/cjs/integrations/systemError.js +54 -0
  67. package/build/cjs/integrations/systemError.js.map +1 -0
  68. package/build/cjs/integrations/tracing/express.js +0 -52
  69. package/build/cjs/integrations/tracing/express.js.map +1 -1
  70. package/build/cjs/integrations/tracing/fastify/index.js +1 -16
  71. package/build/cjs/integrations/tracing/fastify/index.js.map +1 -1
  72. package/build/cjs/integrations/tracing/hapi/index.js +0 -16
  73. package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
  74. package/build/cjs/integrations/tracing/index.js +29 -87
  75. package/build/cjs/integrations/tracing/index.js.map +1 -1
  76. package/build/cjs/integrations/tracing/koa/index.js +0 -24
  77. package/build/cjs/integrations/tracing/koa/index.js.map +1 -1
  78. package/build/cjs/integrations/tracing/redis/cache.js +1 -0
  79. package/build/cjs/integrations/tracing/redis/cache.js.map +1 -1
  80. package/build/cjs/integrations/tracing/redis/index.js +10 -26
  81. package/build/cjs/integrations/tracing/redis/index.js.map +1 -1
  82. package/build/cjs/integrations/winston.js +84 -0
  83. package/build/cjs/integrations/winston.js.map +1 -0
  84. package/build/cjs/logs/capture.js +26 -0
  85. package/build/cjs/logs/capture.js.map +1 -0
  86. package/build/cjs/logs/exports.js +32 -0
  87. package/build/cjs/logs/exports.js.map +1 -0
  88. package/build/cjs/nodeVersion.js +10 -0
  89. package/build/cjs/nodeVersion.js.map +1 -0
  90. package/build/cjs/otel/logger.js +21 -0
  91. package/build/cjs/otel/logger.js.map +1 -0
  92. package/build/cjs/proxy/base.js +69 -0
  93. package/build/cjs/proxy/base.js.map +1 -0
  94. package/build/cjs/proxy/index.js +112 -0
  95. package/build/cjs/proxy/index.js.map +1 -0
  96. package/build/cjs/proxy/parse-proxy-response.js +88 -0
  97. package/build/cjs/proxy/parse-proxy-response.js.map +1 -0
  98. package/build/cjs/sdk/api.js +61 -0
  99. package/build/cjs/sdk/api.js.map +1 -0
  100. package/build/cjs/sdk/client.js +113 -0
  101. package/build/cjs/sdk/client.js.map +1 -0
  102. package/build/cjs/sdk/index.js +185 -41
  103. package/build/cjs/sdk/index.js.map +1 -1
  104. package/build/cjs/sdk/initOtel.js +14 -91
  105. package/build/cjs/sdk/initOtel.js.map +1 -1
  106. package/build/cjs/transports/http.js +102 -0
  107. package/build/cjs/transports/http.js.map +1 -0
  108. package/build/cjs/utils/debug.js +17 -0
  109. package/build/cjs/utils/debug.js.map +1 -0
  110. package/build/cjs/utils/entry-point.js +36 -0
  111. package/build/cjs/utils/entry-point.js.map +1 -0
  112. package/build/cjs/utils/errorhandling.js +33 -0
  113. package/build/cjs/utils/errorhandling.js.map +1 -0
  114. package/build/cjs/utils/module.js +37 -0
  115. package/build/cjs/utils/module.js.map +1 -0
  116. package/build/cjs/utils/outgoingFetchRequest.js +178 -0
  117. package/build/cjs/utils/outgoingFetchRequest.js.map +1 -0
  118. package/build/cjs/utils/spotlight.js +18 -0
  119. package/build/cjs/utils/spotlight.js.map +1 -0
  120. package/build/esm/bundler-plugin/esbuild.js +17 -0
  121. package/build/esm/bundler-plugin/esbuild.js.map +1 -0
  122. package/build/esm/bundler-plugin/rollup.js +10 -0
  123. package/build/esm/bundler-plugin/rollup.js.map +1 -0
  124. package/build/esm/bundler-plugin/vite.js +10 -0
  125. package/build/esm/bundler-plugin/vite.js.map +1 -0
  126. package/build/esm/bundler-plugin/webpack.js +16 -0
  127. package/build/esm/bundler-plugin/webpack.js.map +1 -0
  128. package/build/esm/cron/common.js +50 -0
  129. package/build/esm/cron/common.js.map +1 -0
  130. package/build/esm/cron/cron.js +86 -0
  131. package/build/esm/cron/cron.js.map +1 -0
  132. package/build/esm/cron/index.js +12 -0
  133. package/build/esm/cron/index.js.map +1 -0
  134. package/build/esm/cron/node-cron.js +50 -0
  135. package/build/esm/cron/node-cron.js.map +1 -0
  136. package/build/esm/cron/node-schedule.js +39 -0
  137. package/build/esm/cron/node-schedule.js.map +1 -0
  138. package/build/esm/index.js +36 -36
  139. package/build/esm/integrations/anr/index.js +155 -0
  140. package/build/esm/integrations/anr/index.js.map +1 -0
  141. package/build/esm/integrations/anr/worker-script.js +2 -0
  142. package/build/esm/integrations/childProcess.js +79 -0
  143. package/build/esm/integrations/childProcess.js.map +1 -0
  144. package/build/esm/integrations/console.js +93 -0
  145. package/build/esm/integrations/console.js.map +1 -0
  146. package/build/esm/integrations/context.js +383 -0
  147. package/build/esm/integrations/context.js.map +1 -0
  148. package/build/esm/integrations/contextlines.js +245 -0
  149. package/build/esm/integrations/contextlines.js.map +1 -0
  150. package/build/esm/integrations/fs/index.js +1 -1
  151. package/build/esm/integrations/fs/index.js.map +1 -1
  152. package/build/esm/integrations/fs/vendored/constants.js.map +1 -1
  153. package/build/esm/integrations/http/SentryHttpInstrumentation.js +65 -0
  154. package/build/esm/integrations/http/SentryHttpInstrumentation.js.map +1 -0
  155. package/build/esm/integrations/http/httpServerIntegration.js +74 -0
  156. package/build/esm/integrations/http/httpServerIntegration.js.map +1 -0
  157. package/build/esm/integrations/http/httpServerSpansIntegration.js +240 -0
  158. package/build/esm/integrations/http/httpServerSpansIntegration.js.map +1 -0
  159. package/build/esm/integrations/http/index.js +69 -0
  160. package/build/esm/integrations/http/index.js.map +1 -0
  161. package/build/esm/integrations/local-variables/common.js +15 -0
  162. package/build/esm/integrations/local-variables/common.js.map +1 -0
  163. package/build/esm/integrations/local-variables/index.js +8 -0
  164. package/build/esm/integrations/local-variables/index.js.map +1 -0
  165. package/build/esm/integrations/local-variables/local-variables-async.js +103 -0
  166. package/build/esm/integrations/local-variables/local-variables-async.js.map +1 -0
  167. package/build/esm/integrations/local-variables/worker-script.js +2 -0
  168. package/build/esm/integrations/modules.js +57 -0
  169. package/build/esm/integrations/modules.js.map +1 -0
  170. package/build/esm/integrations/node-fetch/index.js +22 -0
  171. package/build/esm/integrations/node-fetch/index.js.map +1 -0
  172. package/build/esm/integrations/node-fetch/undici-instrumentation.js +259 -0
  173. package/build/esm/integrations/node-fetch/undici-instrumentation.js.map +1 -0
  174. package/build/esm/integrations/nodeRuntimeMetrics.js +178 -0
  175. package/build/esm/integrations/nodeRuntimeMetrics.js.map +1 -0
  176. package/build/esm/integrations/onuncaughtexception.js +89 -0
  177. package/build/esm/integrations/onuncaughtexception.js.map +1 -0
  178. package/build/esm/integrations/onunhandledrejection.js +89 -0
  179. package/build/esm/integrations/onunhandledrejection.js.map +1 -0
  180. package/build/esm/integrations/pino.js +114 -0
  181. package/build/esm/integrations/pino.js.map +1 -0
  182. package/build/esm/integrations/processSession.js +20 -0
  183. package/build/esm/integrations/processSession.js.map +1 -0
  184. package/build/esm/integrations/spotlight.js +76 -0
  185. package/build/esm/integrations/spotlight.js.map +1 -0
  186. package/build/esm/integrations/systemError.js +52 -0
  187. package/build/esm/integrations/systemError.js.map +1 -0
  188. package/build/esm/integrations/tracing/express.js +2 -51
  189. package/build/esm/integrations/tracing/express.js.map +1 -1
  190. package/build/esm/integrations/tracing/fastify/index.js +3 -17
  191. package/build/esm/integrations/tracing/fastify/index.js.map +1 -1
  192. package/build/esm/integrations/tracing/hapi/index.js +2 -16
  193. package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
  194. package/build/esm/integrations/tracing/index.js +12 -69
  195. package/build/esm/integrations/tracing/index.js.map +1 -1
  196. package/build/esm/integrations/tracing/koa/index.js +2 -24
  197. package/build/esm/integrations/tracing/koa/index.js.map +1 -1
  198. package/build/esm/integrations/tracing/redis/cache.js +2 -1
  199. package/build/esm/integrations/tracing/redis/cache.js.map +1 -1
  200. package/build/esm/integrations/tracing/redis/index.js +11 -26
  201. package/build/esm/integrations/tracing/redis/index.js.map +1 -1
  202. package/build/esm/integrations/winston.js +82 -0
  203. package/build/esm/integrations/winston.js.map +1 -0
  204. package/build/esm/logs/capture.js +24 -0
  205. package/build/esm/logs/capture.js.map +1 -0
  206. package/build/esm/logs/exports.js +24 -0
  207. package/build/esm/logs/exports.js.map +1 -0
  208. package/build/esm/nodeVersion.js +8 -0
  209. package/build/esm/nodeVersion.js.map +1 -0
  210. package/build/esm/otel/logger.js +19 -0
  211. package/build/esm/otel/logger.js.map +1 -0
  212. package/build/esm/package.json +1 -1
  213. package/build/esm/proxy/base.js +67 -0
  214. package/build/esm/proxy/base.js.map +1 -0
  215. package/build/esm/proxy/index.js +110 -0
  216. package/build/esm/proxy/index.js.map +1 -0
  217. package/build/esm/proxy/parse-proxy-response.js +86 -0
  218. package/build/esm/proxy/parse-proxy-response.js.map +1 -0
  219. package/build/esm/sdk/api.js +58 -0
  220. package/build/esm/sdk/api.js.map +1 -0
  221. package/build/esm/sdk/client.js +111 -0
  222. package/build/esm/sdk/client.js.map +1 -0
  223. package/build/esm/sdk/index.js +187 -42
  224. package/build/esm/sdk/index.js.map +1 -1
  225. package/build/esm/sdk/initOtel.js +15 -91
  226. package/build/esm/sdk/initOtel.js.map +1 -1
  227. package/build/esm/transports/http.js +100 -0
  228. package/build/esm/transports/http.js.map +1 -0
  229. package/build/esm/utils/debug.js +15 -0
  230. package/build/esm/utils/debug.js.map +1 -0
  231. package/build/esm/utils/entry-point.js +33 -0
  232. package/build/esm/utils/entry-point.js.map +1 -0
  233. package/build/esm/utils/errorhandling.js +31 -0
  234. package/build/esm/utils/errorhandling.js.map +1 -0
  235. package/build/esm/utils/module.js +35 -0
  236. package/build/esm/utils/module.js.map +1 -0
  237. package/build/esm/utils/outgoingFetchRequest.js +174 -0
  238. package/build/esm/utils/outgoingFetchRequest.js.map +1 -0
  239. package/build/esm/utils/spotlight.js +16 -0
  240. package/build/esm/utils/spotlight.js.map +1 -0
  241. package/build/import-hook.mjs +0 -10
  242. package/build/types/bundler-plugin/esbuild.d.ts +34 -0
  243. package/build/types/bundler-plugin/esbuild.d.ts.map +1 -0
  244. package/build/types/bundler-plugin/rollup.d.ts +35 -0
  245. package/build/types/bundler-plugin/rollup.d.ts.map +1 -0
  246. package/build/types/bundler-plugin/vite.d.ts +36 -0
  247. package/build/types/bundler-plugin/vite.d.ts.map +1 -0
  248. package/build/types/bundler-plugin/webpack.d.ts +37 -0
  249. package/build/types/bundler-plugin/webpack.d.ts.map +1 -0
  250. package/build/types/cron/common.d.ts +5 -0
  251. package/build/types/cron/common.d.ts.map +1 -0
  252. package/build/types/cron/cron.d.ts +43 -0
  253. package/build/types/cron/cron.d.ts.map +1 -0
  254. package/build/types/cron/index.d.ts +10 -0
  255. package/build/types/cron/index.d.ts.map +1 -0
  256. package/build/types/cron/node-cron.d.ts +28 -0
  257. package/build/types/cron/node-cron.d.ts.map +1 -0
  258. package/build/types/cron/node-schedule.d.ts +19 -0
  259. package/build/types/cron/node-schedule.d.ts.map +1 -0
  260. package/build/types/index.d.ts +35 -35
  261. package/build/types/index.d.ts.map +1 -1
  262. package/build/types/integrations/anr/common.d.ts +79 -0
  263. package/build/types/integrations/anr/common.d.ts.map +1 -0
  264. package/build/types/integrations/anr/index.d.ts +59 -0
  265. package/build/types/integrations/anr/index.d.ts.map +1 -0
  266. package/build/types/integrations/anr/worker.d.ts +2 -0
  267. package/build/types/integrations/anr/worker.d.ts.map +1 -0
  268. package/build/types/integrations/childProcess.d.ts +22 -0
  269. package/build/types/integrations/childProcess.d.ts.map +1 -0
  270. package/build/types/integrations/console.d.ts +23 -0
  271. package/build/types/integrations/console.d.ts.map +1 -0
  272. package/build/types/integrations/context.d.ts +33 -0
  273. package/build/types/integrations/context.d.ts.map +1 -0
  274. package/build/types/integrations/contextlines.d.ts +35 -0
  275. package/build/types/integrations/contextlines.d.ts.map +1 -0
  276. package/build/types/integrations/featureFlagShims/openFeature.d.ts.map +1 -1
  277. package/build/types/integrations/fs/index.d.ts.map +1 -1
  278. package/build/types/integrations/http/SentryHttpInstrumentation.d.ts +102 -0
  279. package/build/types/integrations/http/SentryHttpInstrumentation.d.ts.map +1 -0
  280. package/build/types/integrations/http/httpServerIntegration.d.ts +67 -0
  281. package/build/types/integrations/http/httpServerIntegration.d.ts.map +1 -0
  282. package/build/types/integrations/http/httpServerSpansIntegration.d.ts +59 -0
  283. package/build/types/integrations/http/httpServerSpansIntegration.d.ts.map +1 -0
  284. package/build/types/integrations/http/index.d.ts +127 -0
  285. package/build/types/integrations/http/index.d.ts.map +1 -0
  286. package/build/types/integrations/local-variables/common.d.ts +79 -0
  287. package/build/types/integrations/local-variables/common.d.ts.map +1 -0
  288. package/build/types/integrations/local-variables/index.d.ts +4 -0
  289. package/build/types/integrations/local-variables/index.d.ts.map +1 -0
  290. package/build/types/integrations/local-variables/local-variables-async.d.ts +9 -0
  291. package/build/types/integrations/local-variables/local-variables-async.d.ts.map +1 -0
  292. package/build/types/integrations/local-variables/worker.d.ts +2 -0
  293. package/build/types/integrations/local-variables/worker.d.ts.map +1 -0
  294. package/build/types/integrations/modules.d.ts +17 -0
  295. package/build/types/integrations/modules.d.ts.map +1 -0
  296. package/build/types/integrations/node-fetch/index.d.ts +9 -0
  297. package/build/types/integrations/node-fetch/index.d.ts.map +1 -0
  298. package/build/types/integrations/node-fetch/types.d.ts +95 -0
  299. package/build/types/integrations/node-fetch/types.d.ts.map +1 -0
  300. package/build/types/integrations/node-fetch/undici-instrumentation.d.ts +17 -0
  301. package/build/types/integrations/node-fetch/undici-instrumentation.d.ts.map +1 -0
  302. package/build/types/integrations/nodeRuntimeMetrics.d.ts +66 -0
  303. package/build/types/integrations/nodeRuntimeMetrics.d.ts.map +1 -0
  304. package/build/types/integrations/onuncaughtexception.d.ts +33 -0
  305. package/build/types/integrations/onuncaughtexception.d.ts.map +1 -0
  306. package/build/types/integrations/onunhandledrejection.d.ts +22 -0
  307. package/build/types/integrations/onunhandledrejection.d.ts.map +1 -0
  308. package/build/types/integrations/pino.d.ts +61 -0
  309. package/build/types/integrations/pino.d.ts.map +1 -0
  310. package/build/types/integrations/processSession.d.ts +7 -0
  311. package/build/types/integrations/processSession.d.ts.map +1 -0
  312. package/build/types/integrations/spotlight.d.ts +18 -0
  313. package/build/types/integrations/spotlight.d.ts.map +1 -0
  314. package/build/types/integrations/systemError.d.ts +14 -0
  315. package/build/types/integrations/systemError.d.ts.map +1 -0
  316. package/build/types/integrations/tracing/express.d.ts +1 -14
  317. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  318. package/build/types/integrations/tracing/fastify/index.d.ts +1 -5
  319. package/build/types/integrations/tracing/fastify/index.d.ts.map +1 -1
  320. package/build/types/integrations/tracing/hapi/index.d.ts +0 -23
  321. package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  322. package/build/types/integrations/tracing/index.d.ts +0 -9
  323. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  324. package/build/types/integrations/tracing/koa/index.d.ts +0 -46
  325. package/build/types/integrations/tracing/koa/index.d.ts.map +1 -1
  326. package/build/types/integrations/tracing/redis/cache.d.ts.map +1 -1
  327. package/build/types/integrations/tracing/redis/index.d.ts +0 -7
  328. package/build/types/integrations/tracing/redis/index.d.ts.map +1 -1
  329. package/build/types/integrations/tracing/redis/vendored/types.d.ts +0 -15
  330. package/build/types/integrations/tracing/redis/vendored/types.d.ts.map +1 -1
  331. package/build/types/integrations/winston.d.ts +55 -0
  332. package/build/types/integrations/winston.d.ts.map +1 -0
  333. package/build/types/logs/capture.d.ts +29 -0
  334. package/build/types/logs/capture.d.ts.map +1 -0
  335. package/build/types/logs/exports.d.ts +150 -0
  336. package/build/types/logs/exports.d.ts.map +1 -0
  337. package/build/types/nodeVersion.d.ts +8 -0
  338. package/build/types/nodeVersion.d.ts.map +1 -0
  339. package/build/types/otel/logger.d.ts +5 -0
  340. package/build/types/otel/logger.d.ts.map +1 -0
  341. package/build/types/proxy/base.d.ts +61 -0
  342. package/build/types/proxy/base.d.ts.map +1 -0
  343. package/build/types/proxy/helpers.d.ts +37 -0
  344. package/build/types/proxy/helpers.d.ts.map +1 -0
  345. package/build/types/proxy/index.d.ts +70 -0
  346. package/build/types/proxy/index.d.ts.map +1 -0
  347. package/build/types/proxy/parse-proxy-response.d.ts +39 -0
  348. package/build/types/proxy/parse-proxy-response.d.ts.map +1 -0
  349. package/build/types/sdk/api.d.ts +8 -0
  350. package/build/types/sdk/api.d.ts.map +1 -0
  351. package/build/types/sdk/client.d.ts +31 -0
  352. package/build/types/sdk/client.d.ts.map +1 -0
  353. package/build/types/sdk/index.d.ts +1 -19
  354. package/build/types/sdk/index.d.ts.map +1 -1
  355. package/build/types/sdk/initOtel.d.ts +11 -20
  356. package/build/types/sdk/initOtel.d.ts.map +1 -1
  357. package/build/types/sdk/scope.d.ts +7 -0
  358. package/build/types/sdk/scope.d.ts.map +1 -0
  359. package/build/types/transports/http-module.d.ts +27 -0
  360. package/build/types/transports/http-module.d.ts.map +1 -0
  361. package/build/types/transports/http.d.ts +17 -0
  362. package/build/types/transports/http.d.ts.map +1 -0
  363. package/build/types/transports/index.d.ts +3 -0
  364. package/build/types/transports/index.d.ts.map +1 -0
  365. package/build/types/types.d.ts +35 -23
  366. package/build/types/types.d.ts.map +1 -1
  367. package/build/types/utils/addOriginToSpan.d.ts +5 -0
  368. package/build/types/utils/addOriginToSpan.d.ts.map +1 -0
  369. package/build/types/utils/debug.d.ts +5 -0
  370. package/build/types/utils/debug.d.ts.map +1 -0
  371. package/build/types/utils/entry-point.d.ts +24 -0
  372. package/build/types/utils/entry-point.d.ts.map +1 -0
  373. package/build/types/utils/errorhandling.d.ts +5 -0
  374. package/build/types/utils/errorhandling.d.ts.map +1 -0
  375. package/build/types/utils/module.d.ts +3 -0
  376. package/build/types/utils/module.d.ts.map +1 -0
  377. package/build/types/utils/outgoingFetchRequest.d.ts +20 -0
  378. package/build/types/utils/outgoingFetchRequest.d.ts.map +1 -0
  379. package/build/types/utils/prepareEvent.d.ts +17 -0
  380. package/build/types/utils/prepareEvent.d.ts.map +1 -0
  381. package/build/types/utils/spotlight.d.ts +8 -0
  382. package/build/types/utils/spotlight.d.ts.map +1 -0
  383. package/package.json +37 -31
  384. package/build/cjs/init.js +0 -4
  385. package/build/cjs/init.js.map +0 -1
  386. package/build/cjs/integrations/http.js +0 -69
  387. package/build/cjs/integrations/http.js.map +0 -1
  388. package/build/cjs/integrations/node-fetch.js +0 -24
  389. package/build/cjs/integrations/node-fetch.js.map +0 -1
  390. package/build/cjs/integrations/tracing/InstrumentationNodeModuleFile.js +0 -15
  391. package/build/cjs/integrations/tracing/InstrumentationNodeModuleFile.js.map +0 -1
  392. package/build/cjs/integrations/tracing/amqplib/index.js +0 -21
  393. package/build/cjs/integrations/tracing/amqplib/index.js.map +0 -1
  394. package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js +0 -117
  395. package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js.map +0 -1
  396. package/build/cjs/integrations/tracing/amqplib/vendored/patches.js +0 -185
  397. package/build/cjs/integrations/tracing/amqplib/vendored/patches.js.map +0 -1
  398. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js +0 -26
  399. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js.map +0 -1
  400. package/build/cjs/integrations/tracing/amqplib/vendored/types.js +0 -17
  401. package/build/cjs/integrations/tracing/amqplib/vendored/types.js.map +0 -1
  402. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js +0 -129
  403. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js.map +0 -1
  404. package/build/cjs/integrations/tracing/anthropic-ai/index.js +0 -24
  405. package/build/cjs/integrations/tracing/anthropic-ai/index.js.map +0 -1
  406. package/build/cjs/integrations/tracing/anthropic-ai/instrumentation.js +0 -72
  407. package/build/cjs/integrations/tracing/anthropic-ai/instrumentation.js.map +0 -1
  408. package/build/cjs/integrations/tracing/connect/index.js +0 -35
  409. package/build/cjs/integrations/tracing/connect/index.js.map +0 -1
  410. package/build/cjs/integrations/tracing/connect/vendored/enums/AttributeNames.js +0 -16
  411. package/build/cjs/integrations/tracing/connect/vendored/enums/AttributeNames.js.map +0 -1
  412. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js +0 -137
  413. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js.map +0 -1
  414. package/build/cjs/integrations/tracing/connect/vendored/internal-types.js +0 -8
  415. package/build/cjs/integrations/tracing/connect/vendored/internal-types.js.map +0 -1
  416. package/build/cjs/integrations/tracing/connect/vendored/utils.js +0 -36
  417. package/build/cjs/integrations/tracing/connect/vendored/utils.js.map +0 -1
  418. package/build/cjs/integrations/tracing/dataloader/index.js +0 -26
  419. package/build/cjs/integrations/tracing/dataloader/index.js.map +0 -1
  420. package/build/cjs/integrations/tracing/dataloader/vendored/instrumentation.js +0 -227
  421. package/build/cjs/integrations/tracing/dataloader/vendored/instrumentation.js.map +0 -1
  422. package/build/cjs/integrations/tracing/fastify/v3/constants.js +0 -6
  423. package/build/cjs/integrations/tracing/fastify/v3/constants.js.map +0 -1
  424. package/build/cjs/integrations/tracing/fastify/v3/enums/AttributeNames.js +0 -24
  425. package/build/cjs/integrations/tracing/fastify/v3/enums/AttributeNames.js.map +0 -1
  426. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js +0 -220
  427. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js.map +0 -1
  428. package/build/cjs/integrations/tracing/fastify/v3/utils.js +0 -64
  429. package/build/cjs/integrations/tracing/fastify/v3/utils.js.map +0 -1
  430. package/build/cjs/integrations/tracing/firebase/firebase.js +0 -21
  431. package/build/cjs/integrations/tracing/firebase/firebase.js.map +0 -1
  432. package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js +0 -28
  433. package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +0 -1
  434. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js +0 -155
  435. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js.map +0 -1
  436. package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js +0 -141
  437. package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js.map +0 -1
  438. package/build/cjs/integrations/tracing/genericPool/index.js +0 -21
  439. package/build/cjs/integrations/tracing/genericPool/index.js.map +0 -1
  440. package/build/cjs/integrations/tracing/genericPool/vendored/instrumentation.js +0 -122
  441. package/build/cjs/integrations/tracing/genericPool/vendored/instrumentation.js.map +0 -1
  442. package/build/cjs/integrations/tracing/google-genai/index.js +0 -23
  443. package/build/cjs/integrations/tracing/google-genai/index.js.map +0 -1
  444. package/build/cjs/integrations/tracing/google-genai/instrumentation.js +0 -68
  445. package/build/cjs/integrations/tracing/google-genai/instrumentation.js.map +0 -1
  446. package/build/cjs/integrations/tracing/graphql/index.js +0 -34
  447. package/build/cjs/integrations/tracing/graphql/index.js.map +0 -1
  448. package/build/cjs/integrations/tracing/graphql/vendored/enum.js +0 -47
  449. package/build/cjs/integrations/tracing/graphql/vendored/enum.js.map +0 -1
  450. package/build/cjs/integrations/tracing/graphql/vendored/enums/AttributeNames.js +0 -15
  451. package/build/cjs/integrations/tracing/graphql/vendored/enums/AttributeNames.js.map +0 -1
  452. package/build/cjs/integrations/tracing/graphql/vendored/instrumentation.js +0 -329
  453. package/build/cjs/integrations/tracing/graphql/vendored/instrumentation.js.map +0 -1
  454. package/build/cjs/integrations/tracing/graphql/vendored/internal-types.js +0 -6
  455. package/build/cjs/integrations/tracing/graphql/vendored/internal-types.js.map +0 -1
  456. package/build/cjs/integrations/tracing/graphql/vendored/symbols.js +0 -8
  457. package/build/cjs/integrations/tracing/graphql/vendored/symbols.js.map +0 -1
  458. package/build/cjs/integrations/tracing/graphql/vendored/utils.js +0 -265
  459. package/build/cjs/integrations/tracing/graphql/vendored/utils.js.map +0 -1
  460. package/build/cjs/integrations/tracing/hapi/vendored/enums/AttributeNames.js +0 -11
  461. package/build/cjs/integrations/tracing/hapi/vendored/enums/AttributeNames.js.map +0 -1
  462. package/build/cjs/integrations/tracing/hapi/vendored/instrumentation.js +0 -255
  463. package/build/cjs/integrations/tracing/hapi/vendored/instrumentation.js.map +0 -1
  464. package/build/cjs/integrations/tracing/hapi/vendored/internal-types.js +0 -24
  465. package/build/cjs/integrations/tracing/hapi/vendored/internal-types.js.map +0 -1
  466. package/build/cjs/integrations/tracing/hapi/vendored/utils.js +0 -85
  467. package/build/cjs/integrations/tracing/hapi/vendored/utils.js.map +0 -1
  468. package/build/cjs/integrations/tracing/hono/constants.js +0 -14
  469. package/build/cjs/integrations/tracing/hono/constants.js.map +0 -1
  470. package/build/cjs/integrations/tracing/hono/index.js +0 -86
  471. package/build/cjs/integrations/tracing/hono/index.js.map +0 -1
  472. package/build/cjs/integrations/tracing/hono/instrumentation.js +0 -201
  473. package/build/cjs/integrations/tracing/hono/instrumentation.js.map +0 -1
  474. package/build/cjs/integrations/tracing/kafka/index.js +0 -21
  475. package/build/cjs/integrations/tracing/kafka/index.js.map +0 -1
  476. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js +0 -237
  477. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js.map +0 -1
  478. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js +0 -22
  479. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js.map +0 -1
  480. package/build/cjs/integrations/tracing/kafka/vendored/utils.js +0 -114
  481. package/build/cjs/integrations/tracing/kafka/vendored/utils.js.map +0 -1
  482. package/build/cjs/integrations/tracing/knex/index.js +0 -26
  483. package/build/cjs/integrations/tracing/knex/index.js.map +0 -1
  484. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js +0 -135
  485. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js.map +0 -1
  486. package/build/cjs/integrations/tracing/knex/vendored/semconv.js +0 -10
  487. package/build/cjs/integrations/tracing/knex/vendored/semconv.js.map +0 -1
  488. package/build/cjs/integrations/tracing/knex/vendored/utils.js +0 -84
  489. package/build/cjs/integrations/tracing/knex/vendored/utils.js.map +0 -1
  490. package/build/cjs/integrations/tracing/koa/vendored/enums/AttributeNames.js +0 -10
  491. package/build/cjs/integrations/tracing/koa/vendored/enums/AttributeNames.js.map +0 -1
  492. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js +0 -127
  493. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js.map +0 -1
  494. package/build/cjs/integrations/tracing/koa/vendored/internal-types.js +0 -6
  495. package/build/cjs/integrations/tracing/koa/vendored/internal-types.js.map +0 -1
  496. package/build/cjs/integrations/tracing/koa/vendored/types.js +0 -10
  497. package/build/cjs/integrations/tracing/koa/vendored/types.js.map +0 -1
  498. package/build/cjs/integrations/tracing/koa/vendored/utils.js +0 -36
  499. package/build/cjs/integrations/tracing/koa/vendored/utils.js.map +0 -1
  500. package/build/cjs/integrations/tracing/langchain/index.js +0 -23
  501. package/build/cjs/integrations/tracing/langchain/index.js.map +0 -1
  502. package/build/cjs/integrations/tracing/langchain/instrumentation.js +0 -160
  503. package/build/cjs/integrations/tracing/langchain/instrumentation.js.map +0 -1
  504. package/build/cjs/integrations/tracing/langgraph/index.js +0 -23
  505. package/build/cjs/integrations/tracing/langgraph/index.js.map +0 -1
  506. package/build/cjs/integrations/tracing/langgraph/instrumentation.js +0 -96
  507. package/build/cjs/integrations/tracing/langgraph/instrumentation.js.map +0 -1
  508. package/build/cjs/integrations/tracing/lrumemoizer/index.js +0 -21
  509. package/build/cjs/integrations/tracing/lrumemoizer/index.js.map +0 -1
  510. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js +0 -38
  511. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +0 -1
  512. package/build/cjs/integrations/tracing/mongo/index.js +0 -21
  513. package/build/cjs/integrations/tracing/mongo/index.js.map +0 -1
  514. package/build/cjs/integrations/tracing/mongo/vendored/instrumentation.js +0 -129
  515. package/build/cjs/integrations/tracing/mongo/vendored/instrumentation.js.map +0 -1
  516. package/build/cjs/integrations/tracing/mongo/vendored/patches.js +0 -150
  517. package/build/cjs/integrations/tracing/mongo/vendored/patches.js.map +0 -1
  518. package/build/cjs/integrations/tracing/mongo/vendored/utils.js +0 -40
  519. package/build/cjs/integrations/tracing/mongo/vendored/utils.js.map +0 -1
  520. package/build/cjs/integrations/tracing/mongoose/index.js +0 -22
  521. package/build/cjs/integrations/tracing/mongoose/index.js.map +0 -1
  522. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js +0 -240
  523. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js.map +0 -1
  524. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js +0 -41
  525. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js.map +0 -1
  526. package/build/cjs/integrations/tracing/mysql/index.js +0 -21
  527. package/build/cjs/integrations/tracing/mysql/index.js.map +0 -1
  528. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js +0 -185
  529. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js.map +0 -1
  530. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js +0 -8
  531. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js.map +0 -1
  532. package/build/cjs/integrations/tracing/mysql/vendored/utils.js +0 -38
  533. package/build/cjs/integrations/tracing/mysql/vendored/utils.js.map +0 -1
  534. package/build/cjs/integrations/tracing/mysql2/index.js +0 -22
  535. package/build/cjs/integrations/tracing/mysql2/index.js.map +0 -1
  536. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js +0 -138
  537. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js.map +0 -1
  538. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js +0 -8
  539. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js.map +0 -1
  540. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js +0 -81
  541. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js.map +0 -1
  542. package/build/cjs/integrations/tracing/openai/index.js +0 -23
  543. package/build/cjs/integrations/tracing/openai/index.js.map +0 -1
  544. package/build/cjs/integrations/tracing/openai/instrumentation.js +0 -80
  545. package/build/cjs/integrations/tracing/openai/instrumentation.js.map +0 -1
  546. package/build/cjs/integrations/tracing/postgres/index.js +0 -27
  547. package/build/cjs/integrations/tracing/postgres/index.js.map +0 -1
  548. package/build/cjs/integrations/tracing/postgres/vendored/enums/AttributeNames.js +0 -11
  549. package/build/cjs/integrations/tracing/postgres/vendored/enums/AttributeNames.js.map +0 -1
  550. package/build/cjs/integrations/tracing/postgres/vendored/enums/SpanNames.js +0 -11
  551. package/build/cjs/integrations/tracing/postgres/vendored/enums/SpanNames.js.map +0 -1
  552. package/build/cjs/integrations/tracing/postgres/vendored/instrumentation.js +0 -225
  553. package/build/cjs/integrations/tracing/postgres/vendored/instrumentation.js.map +0 -1
  554. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js +0 -8
  555. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js.map +0 -1
  556. package/build/cjs/integrations/tracing/postgres/vendored/utils.js +0 -151
  557. package/build/cjs/integrations/tracing/postgres/vendored/utils.js.map +0 -1
  558. package/build/cjs/integrations/tracing/postgresjs.js +0 -265
  559. package/build/cjs/integrations/tracing/postgresjs.js.map +0 -1
  560. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js +0 -147
  561. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +0 -1
  562. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js +0 -445
  563. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js.map +0 -1
  564. package/build/cjs/integrations/tracing/redis/vendored/semconv.js +0 -8
  565. package/build/cjs/integrations/tracing/redis/vendored/semconv.js.map +0 -1
  566. package/build/cjs/integrations/tracing/tedious/index.js +0 -21
  567. package/build/cjs/integrations/tracing/tedious/index.js.map +0 -1
  568. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js +0 -154
  569. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js.map +0 -1
  570. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js +0 -8
  571. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js.map +0 -1
  572. package/build/cjs/integrations/tracing/tedious/vendored/utils.js +0 -29
  573. package/build/cjs/integrations/tracing/tedious/vendored/utils.js.map +0 -1
  574. package/build/cjs/integrations/tracing/vercelai/constants.js +0 -6
  575. package/build/cjs/integrations/tracing/vercelai/constants.js.map +0 -1
  576. package/build/cjs/integrations/tracing/vercelai/index.js +0 -36
  577. package/build/cjs/integrations/tracing/vercelai/index.js.map +0 -1
  578. package/build/cjs/integrations/tracing/vercelai/instrumentation.js +0 -176
  579. package/build/cjs/integrations/tracing/vercelai/instrumentation.js.map +0 -1
  580. package/build/cjs/preload.js +0 -8
  581. package/build/cjs/preload.js.map +0 -1
  582. package/build/cjs/sdk/diagnosticsChannelInjection.js +0 -21
  583. package/build/cjs/sdk/diagnosticsChannelInjection.js.map +0 -1
  584. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js +0 -33
  585. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js.map +0 -1
  586. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +0 -21
  587. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +0 -1
  588. package/build/esm/init.js +0 -4
  589. package/build/esm/init.js.map +0 -1
  590. package/build/esm/integrations/http.js +0 -66
  591. package/build/esm/integrations/http.js.map +0 -1
  592. package/build/esm/integrations/node-fetch.js +0 -22
  593. package/build/esm/integrations/node-fetch.js.map +0 -1
  594. package/build/esm/integrations/tracing/InstrumentationNodeModuleFile.js +0 -13
  595. package/build/esm/integrations/tracing/InstrumentationNodeModuleFile.js.map +0 -1
  596. package/build/esm/integrations/tracing/amqplib/index.js +0 -18
  597. package/build/esm/integrations/tracing/amqplib/index.js.map +0 -1
  598. package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js +0 -115
  599. package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js.map +0 -1
  600. package/build/esm/integrations/tracing/amqplib/vendored/patches.js +0 -177
  601. package/build/esm/integrations/tracing/amqplib/vendored/patches.js.map +0 -1
  602. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js +0 -14
  603. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js.map +0 -1
  604. package/build/esm/integrations/tracing/amqplib/vendored/types.js +0 -15
  605. package/build/esm/integrations/tracing/amqplib/vendored/types.js.map +0 -1
  606. package/build/esm/integrations/tracing/amqplib/vendored/utils.js +0 -117
  607. package/build/esm/integrations/tracing/amqplib/vendored/utils.js.map +0 -1
  608. package/build/esm/integrations/tracing/anthropic-ai/index.js +0 -21
  609. package/build/esm/integrations/tracing/anthropic-ai/index.js.map +0 -1
  610. package/build/esm/integrations/tracing/anthropic-ai/instrumentation.js +0 -70
  611. package/build/esm/integrations/tracing/anthropic-ai/instrumentation.js.map +0 -1
  612. package/build/esm/integrations/tracing/connect/index.js +0 -31
  613. package/build/esm/integrations/tracing/connect/index.js.map +0 -1
  614. package/build/esm/integrations/tracing/connect/vendored/enums/AttributeNames.js +0 -13
  615. package/build/esm/integrations/tracing/connect/vendored/enums/AttributeNames.js.map +0 -1
  616. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js +0 -135
  617. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js.map +0 -1
  618. package/build/esm/integrations/tracing/connect/vendored/internal-types.js +0 -6
  619. package/build/esm/integrations/tracing/connect/vendored/internal-types.js.map +0 -1
  620. package/build/esm/integrations/tracing/connect/vendored/utils.js +0 -32
  621. package/build/esm/integrations/tracing/connect/vendored/utils.js.map +0 -1
  622. package/build/esm/integrations/tracing/dataloader/index.js +0 -23
  623. package/build/esm/integrations/tracing/dataloader/index.js.map +0 -1
  624. package/build/esm/integrations/tracing/dataloader/vendored/instrumentation.js +0 -225
  625. package/build/esm/integrations/tracing/dataloader/vendored/instrumentation.js.map +0 -1
  626. package/build/esm/integrations/tracing/fastify/v3/constants.js +0 -4
  627. package/build/esm/integrations/tracing/fastify/v3/constants.js.map +0 -1
  628. package/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js +0 -20
  629. package/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js.map +0 -1
  630. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js +0 -218
  631. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js.map +0 -1
  632. package/build/esm/integrations/tracing/fastify/v3/utils.js +0 -60
  633. package/build/esm/integrations/tracing/fastify/v3/utils.js.map +0 -1
  634. package/build/esm/integrations/tracing/firebase/firebase.js +0 -18
  635. package/build/esm/integrations/tracing/firebase/firebase.js.map +0 -1
  636. package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js +0 -26
  637. package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +0 -1
  638. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js +0 -152
  639. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js.map +0 -1
  640. package/build/esm/integrations/tracing/firebase/otel/patches/functions.js +0 -138
  641. package/build/esm/integrations/tracing/firebase/otel/patches/functions.js.map +0 -1
  642. package/build/esm/integrations/tracing/genericPool/index.js +0 -18
  643. package/build/esm/integrations/tracing/genericPool/index.js.map +0 -1
  644. package/build/esm/integrations/tracing/genericPool/vendored/instrumentation.js +0 -120
  645. package/build/esm/integrations/tracing/genericPool/vendored/instrumentation.js.map +0 -1
  646. package/build/esm/integrations/tracing/google-genai/index.js +0 -20
  647. package/build/esm/integrations/tracing/google-genai/index.js.map +0 -1
  648. package/build/esm/integrations/tracing/google-genai/instrumentation.js +0 -66
  649. package/build/esm/integrations/tracing/google-genai/instrumentation.js.map +0 -1
  650. package/build/esm/integrations/tracing/graphql/index.js +0 -31
  651. package/build/esm/integrations/tracing/graphql/index.js.map +0 -1
  652. package/build/esm/integrations/tracing/graphql/vendored/enum.js +0 -43
  653. package/build/esm/integrations/tracing/graphql/vendored/enum.js.map +0 -1
  654. package/build/esm/integrations/tracing/graphql/vendored/enums/AttributeNames.js +0 -13
  655. package/build/esm/integrations/tracing/graphql/vendored/enums/AttributeNames.js.map +0 -1
  656. package/build/esm/integrations/tracing/graphql/vendored/instrumentation.js +0 -327
  657. package/build/esm/integrations/tracing/graphql/vendored/instrumentation.js.map +0 -1
  658. package/build/esm/integrations/tracing/graphql/vendored/internal-types.js +0 -4
  659. package/build/esm/integrations/tracing/graphql/vendored/internal-types.js.map +0 -1
  660. package/build/esm/integrations/tracing/graphql/vendored/symbols.js +0 -5
  661. package/build/esm/integrations/tracing/graphql/vendored/symbols.js.map +0 -1
  662. package/build/esm/integrations/tracing/graphql/vendored/utils.js +0 -257
  663. package/build/esm/integrations/tracing/graphql/vendored/utils.js.map +0 -1
  664. package/build/esm/integrations/tracing/hapi/vendored/enums/AttributeNames.js +0 -9
  665. package/build/esm/integrations/tracing/hapi/vendored/enums/AttributeNames.js.map +0 -1
  666. package/build/esm/integrations/tracing/hapi/vendored/instrumentation.js +0 -253
  667. package/build/esm/integrations/tracing/hapi/vendored/instrumentation.js.map +0 -1
  668. package/build/esm/integrations/tracing/hapi/vendored/internal-types.js +0 -19
  669. package/build/esm/integrations/tracing/hapi/vendored/internal-types.js.map +0 -1
  670. package/build/esm/integrations/tracing/hapi/vendored/utils.js +0 -76
  671. package/build/esm/integrations/tracing/hapi/vendored/utils.js.map +0 -1
  672. package/build/esm/integrations/tracing/hono/constants.js +0 -11
  673. package/build/esm/integrations/tracing/hono/constants.js.map +0 -1
  674. package/build/esm/integrations/tracing/hono/index.js +0 -82
  675. package/build/esm/integrations/tracing/hono/index.js.map +0 -1
  676. package/build/esm/integrations/tracing/hono/instrumentation.js +0 -199
  677. package/build/esm/integrations/tracing/hono/instrumentation.js.map +0 -1
  678. package/build/esm/integrations/tracing/kafka/index.js +0 -18
  679. package/build/esm/integrations/tracing/kafka/index.js.map +0 -1
  680. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js +0 -235
  681. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js.map +0 -1
  682. package/build/esm/integrations/tracing/kafka/vendored/semconv.js +0 -12
  683. package/build/esm/integrations/tracing/kafka/vendored/semconv.js.map +0 -1
  684. package/build/esm/integrations/tracing/kafka/vendored/utils.js +0 -108
  685. package/build/esm/integrations/tracing/kafka/vendored/utils.js.map +0 -1
  686. package/build/esm/integrations/tracing/knex/index.js +0 -23
  687. package/build/esm/integrations/tracing/knex/index.js.map +0 -1
  688. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js +0 -133
  689. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js.map +0 -1
  690. package/build/esm/integrations/tracing/knex/vendored/semconv.js +0 -6
  691. package/build/esm/integrations/tracing/knex/vendored/semconv.js.map +0 -1
  692. package/build/esm/integrations/tracing/knex/vendored/utils.js +0 -75
  693. package/build/esm/integrations/tracing/knex/vendored/utils.js.map +0 -1
  694. package/build/esm/integrations/tracing/koa/vendored/enums/AttributeNames.js +0 -8
  695. package/build/esm/integrations/tracing/koa/vendored/enums/AttributeNames.js.map +0 -1
  696. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js +0 -125
  697. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js.map +0 -1
  698. package/build/esm/integrations/tracing/koa/vendored/internal-types.js +0 -4
  699. package/build/esm/integrations/tracing/koa/vendored/internal-types.js.map +0 -1
  700. package/build/esm/integrations/tracing/koa/vendored/types.js +0 -8
  701. package/build/esm/integrations/tracing/koa/vendored/types.js.map +0 -1
  702. package/build/esm/integrations/tracing/koa/vendored/utils.js +0 -33
  703. package/build/esm/integrations/tracing/koa/vendored/utils.js.map +0 -1
  704. package/build/esm/integrations/tracing/langchain/index.js +0 -20
  705. package/build/esm/integrations/tracing/langchain/index.js.map +0 -1
  706. package/build/esm/integrations/tracing/langchain/instrumentation.js +0 -158
  707. package/build/esm/integrations/tracing/langchain/instrumentation.js.map +0 -1
  708. package/build/esm/integrations/tracing/langgraph/index.js +0 -20
  709. package/build/esm/integrations/tracing/langgraph/index.js.map +0 -1
  710. package/build/esm/integrations/tracing/langgraph/instrumentation.js +0 -94
  711. package/build/esm/integrations/tracing/langgraph/instrumentation.js.map +0 -1
  712. package/build/esm/integrations/tracing/lrumemoizer/index.js +0 -18
  713. package/build/esm/integrations/tracing/lrumemoizer/index.js.map +0 -1
  714. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js +0 -36
  715. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +0 -1
  716. package/build/esm/integrations/tracing/mongo/index.js +0 -18
  717. package/build/esm/integrations/tracing/mongo/index.js.map +0 -1
  718. package/build/esm/integrations/tracing/mongo/vendored/instrumentation.js +0 -127
  719. package/build/esm/integrations/tracing/mongo/vendored/instrumentation.js.map +0 -1
  720. package/build/esm/integrations/tracing/mongo/vendored/patches.js +0 -142
  721. package/build/esm/integrations/tracing/mongo/vendored/patches.js.map +0 -1
  722. package/build/esm/integrations/tracing/mongo/vendored/utils.js +0 -34
  723. package/build/esm/integrations/tracing/mongo/vendored/utils.js.map +0 -1
  724. package/build/esm/integrations/tracing/mongoose/index.js +0 -19
  725. package/build/esm/integrations/tracing/mongoose/index.js.map +0 -1
  726. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js +0 -236
  727. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js.map +0 -1
  728. package/build/esm/integrations/tracing/mongoose/vendored/utils.js +0 -38
  729. package/build/esm/integrations/tracing/mongoose/vendored/utils.js.map +0 -1
  730. package/build/esm/integrations/tracing/mysql/index.js +0 -18
  731. package/build/esm/integrations/tracing/mysql/index.js.map +0 -1
  732. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js +0 -183
  733. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js.map +0 -1
  734. package/build/esm/integrations/tracing/mysql/vendored/semconv.js +0 -5
  735. package/build/esm/integrations/tracing/mysql/vendored/semconv.js.map +0 -1
  736. package/build/esm/integrations/tracing/mysql/vendored/utils.js +0 -33
  737. package/build/esm/integrations/tracing/mysql/vendored/utils.js.map +0 -1
  738. package/build/esm/integrations/tracing/mysql2/index.js +0 -19
  739. package/build/esm/integrations/tracing/mysql2/index.js.map +0 -1
  740. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js +0 -136
  741. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js.map +0 -1
  742. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js +0 -5
  743. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js.map +0 -1
  744. package/build/esm/integrations/tracing/mysql2/vendored/utils.js +0 -75
  745. package/build/esm/integrations/tracing/mysql2/vendored/utils.js.map +0 -1
  746. package/build/esm/integrations/tracing/openai/index.js +0 -20
  747. package/build/esm/integrations/tracing/openai/index.js.map +0 -1
  748. package/build/esm/integrations/tracing/openai/instrumentation.js +0 -78
  749. package/build/esm/integrations/tracing/openai/instrumentation.js.map +0 -1
  750. package/build/esm/integrations/tracing/postgres/index.js +0 -24
  751. package/build/esm/integrations/tracing/postgres/index.js.map +0 -1
  752. package/build/esm/integrations/tracing/postgres/vendored/enums/AttributeNames.js +0 -9
  753. package/build/esm/integrations/tracing/postgres/vendored/enums/AttributeNames.js.map +0 -1
  754. package/build/esm/integrations/tracing/postgres/vendored/enums/SpanNames.js +0 -9
  755. package/build/esm/integrations/tracing/postgres/vendored/enums/SpanNames.js.map +0 -1
  756. package/build/esm/integrations/tracing/postgres/vendored/instrumentation.js +0 -223
  757. package/build/esm/integrations/tracing/postgres/vendored/instrumentation.js.map +0 -1
  758. package/build/esm/integrations/tracing/postgres/vendored/semconv.js +0 -5
  759. package/build/esm/integrations/tracing/postgres/vendored/semconv.js.map +0 -1
  760. package/build/esm/integrations/tracing/postgres/vendored/utils.js +0 -136
  761. package/build/esm/integrations/tracing/postgres/vendored/utils.js.map +0 -1
  762. package/build/esm/integrations/tracing/postgresjs.js +0 -261
  763. package/build/esm/integrations/tracing/postgresjs.js.map +0 -1
  764. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js +0 -145
  765. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +0 -1
  766. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js +0 -443
  767. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js.map +0 -1
  768. package/build/esm/integrations/tracing/redis/vendored/semconv.js +0 -5
  769. package/build/esm/integrations/tracing/redis/vendored/semconv.js.map +0 -1
  770. package/build/esm/integrations/tracing/tedious/index.js +0 -18
  771. package/build/esm/integrations/tracing/tedious/index.js.map +0 -1
  772. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js +0 -152
  773. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js.map +0 -1
  774. package/build/esm/integrations/tracing/tedious/vendored/semconv.js +0 -5
  775. package/build/esm/integrations/tracing/tedious/vendored/semconv.js.map +0 -1
  776. package/build/esm/integrations/tracing/tedious/vendored/utils.js +0 -26
  777. package/build/esm/integrations/tracing/tedious/vendored/utils.js.map +0 -1
  778. package/build/esm/integrations/tracing/vercelai/constants.js +0 -4
  779. package/build/esm/integrations/tracing/vercelai/constants.js.map +0 -1
  780. package/build/esm/integrations/tracing/vercelai/index.js +0 -33
  781. package/build/esm/integrations/tracing/vercelai/index.js.map +0 -1
  782. package/build/esm/integrations/tracing/vercelai/instrumentation.js +0 -171
  783. package/build/esm/integrations/tracing/vercelai/instrumentation.js.map +0 -1
  784. package/build/esm/preload.js +0 -8
  785. package/build/esm/preload.js.map +0 -1
  786. package/build/esm/sdk/diagnosticsChannelInjection.js +0 -17
  787. package/build/esm/sdk/diagnosticsChannelInjection.js.map +0 -1
  788. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js +0 -30
  789. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js.map +0 -1
  790. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +0 -19
  791. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +0 -1
  792. package/build/loader-hook.mjs +0 -1
  793. package/build/types/init.d.ts +0 -2
  794. package/build/types/init.d.ts.map +0 -1
  795. package/build/types/integrations/http.d.ts +0 -131
  796. package/build/types/integrations/http.d.ts.map +0 -1
  797. package/build/types/integrations/node-fetch.d.ts +0 -9
  798. package/build/types/integrations/node-fetch.d.ts.map +0 -1
  799. package/build/types/integrations/tracing/InstrumentationNodeModuleFile.d.ts +0 -9
  800. package/build/types/integrations/tracing/InstrumentationNodeModuleFile.d.ts.map +0 -1
  801. package/build/types/integrations/tracing/amqplib/index.d.ts +0 -22
  802. package/build/types/integrations/tracing/amqplib/index.d.ts.map +0 -1
  803. package/build/types/integrations/tracing/amqplib/vendored/amqplib-types.d.ts +0 -44
  804. package/build/types/integrations/tracing/amqplib/vendored/amqplib-types.d.ts.map +0 -1
  805. package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts +0 -11
  806. package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts.map +0 -1
  807. package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts +0 -11
  808. package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts.map +0 -1
  809. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -23
  810. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts.map +0 -1
  811. package/build/types/integrations/tracing/amqplib/vendored/types.d.ts +0 -49
  812. package/build/types/integrations/tracing/amqplib/vendored/types.d.ts.map +0 -1
  813. package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts +0 -42
  814. package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts.map +0 -1
  815. package/build/types/integrations/tracing/anthropic-ai/index.d.ts +0 -62
  816. package/build/types/integrations/tracing/anthropic-ai/index.d.ts.map +0 -1
  817. package/build/types/integrations/tracing/anthropic-ai/instrumentation.d.ts +0 -19
  818. package/build/types/integrations/tracing/anthropic-ai/instrumentation.d.ts.map +0 -1
  819. package/build/types/integrations/tracing/connect/index.d.ts +0 -48
  820. package/build/types/integrations/tracing/connect/index.d.ts.map +0 -1
  821. package/build/types/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts +0 -9
  822. package/build/types/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts.map +0 -1
  823. package/build/types/integrations/tracing/connect/vendored/instrumentation.d.ts +0 -18
  824. package/build/types/integrations/tracing/connect/vendored/instrumentation.d.ts.map +0 -1
  825. package/build/types/integrations/tracing/connect/vendored/internal-types.d.ts +0 -31
  826. package/build/types/integrations/tracing/connect/vendored/internal-types.d.ts.map +0 -1
  827. package/build/types/integrations/tracing/connect/vendored/utils.d.ts +0 -5
  828. package/build/types/integrations/tracing/connect/vendored/utils.d.ts.map +0 -1
  829. package/build/types/integrations/tracing/dataloader/index.d.ts +0 -22
  830. package/build/types/integrations/tracing/dataloader/index.d.ts.map +0 -1
  831. package/build/types/integrations/tracing/dataloader/vendored/instrumentation.d.ts +0 -18
  832. package/build/types/integrations/tracing/dataloader/vendored/instrumentation.d.ts.map +0 -1
  833. package/build/types/integrations/tracing/dataloader/vendored/types.d.ts +0 -22
  834. package/build/types/integrations/tracing/dataloader/vendored/types.d.ts.map +0 -1
  835. package/build/types/integrations/tracing/fastify/v3/constants.d.ts +0 -3
  836. package/build/types/integrations/tracing/fastify/v3/constants.d.ts.map +0 -1
  837. package/build/types/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts +0 -15
  838. package/build/types/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts.map +0 -1
  839. package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts +0 -16
  840. package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts.map +0 -1
  841. package/build/types/integrations/tracing/fastify/v3/internal-types.d.ts +0 -7
  842. package/build/types/integrations/tracing/fastify/v3/internal-types.d.ts.map +0 -1
  843. package/build/types/integrations/tracing/fastify/v3/types.d.ts +0 -21
  844. package/build/types/integrations/tracing/fastify/v3/types.d.ts.map +0 -1
  845. package/build/types/integrations/tracing/fastify/v3/utils.d.ts +0 -28
  846. package/build/types/integrations/tracing/fastify/v3/utils.d.ts.map +0 -1
  847. package/build/types/integrations/tracing/firebase/firebase.d.ts +0 -8
  848. package/build/types/integrations/tracing/firebase/firebase.d.ts.map +0 -1
  849. package/build/types/integrations/tracing/firebase/index.d.ts +0 -2
  850. package/build/types/integrations/tracing/firebase/index.d.ts.map +0 -1
  851. package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +0 -14
  852. package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts.map +0 -1
  853. package/build/types/integrations/tracing/firebase/otel/index.d.ts +0 -3
  854. package/build/types/integrations/tracing/firebase/otel/index.d.ts.map +0 -1
  855. package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts +0 -22
  856. package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts.map +0 -1
  857. package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts +0 -18
  858. package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts.map +0 -1
  859. package/build/types/integrations/tracing/firebase/otel/types.d.ts +0 -100
  860. package/build/types/integrations/tracing/firebase/otel/types.d.ts.map +0 -1
  861. package/build/types/integrations/tracing/genericPool/index.d.ts +0 -22
  862. package/build/types/integrations/tracing/genericPool/index.d.ts.map +0 -1
  863. package/build/types/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts +0 -5
  864. package/build/types/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts.map +0 -1
  865. package/build/types/integrations/tracing/genericPool/vendored/instrumentation.d.ts +0 -11
  866. package/build/types/integrations/tracing/genericPool/vendored/instrumentation.d.ts.map +0 -1
  867. package/build/types/integrations/tracing/google-genai/index.d.ts +0 -62
  868. package/build/types/integrations/tracing/google-genai/index.d.ts.map +0 -1
  869. package/build/types/integrations/tracing/google-genai/instrumentation.d.ts +0 -20
  870. package/build/types/integrations/tracing/google-genai/instrumentation.d.ts.map +0 -1
  871. package/build/types/integrations/tracing/graphql/index.d.ts +0 -50
  872. package/build/types/integrations/tracing/graphql/index.d.ts.map +0 -1
  873. package/build/types/integrations/tracing/graphql/vendored/enum.d.ts +0 -38
  874. package/build/types/integrations/tracing/graphql/vendored/enum.d.ts.map +0 -1
  875. package/build/types/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts +0 -10
  876. package/build/types/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts.map +0 -1
  877. package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts +0 -2
  878. package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts.map +0 -1
  879. package/build/types/integrations/tracing/graphql/vendored/instrumentation.d.ts +0 -25
  880. package/build/types/integrations/tracing/graphql/vendored/instrumentation.d.ts.map +0 -1
  881. package/build/types/integrations/tracing/graphql/vendored/internal-types.d.ts +0 -63
  882. package/build/types/integrations/tracing/graphql/vendored/internal-types.d.ts.map +0 -1
  883. package/build/types/integrations/tracing/graphql/vendored/symbols.d.ts +0 -3
  884. package/build/types/integrations/tracing/graphql/vendored/symbols.d.ts.map +0 -1
  885. package/build/types/integrations/tracing/graphql/vendored/types.d.ts +0 -33
  886. package/build/types/integrations/tracing/graphql/vendored/types.d.ts.map +0 -1
  887. package/build/types/integrations/tracing/graphql/vendored/utils.d.ts +0 -14
  888. package/build/types/integrations/tracing/graphql/vendored/utils.d.ts.map +0 -1
  889. package/build/types/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts +0 -6
  890. package/build/types/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts.map +0 -1
  891. package/build/types/integrations/tracing/hapi/vendored/hapi-types.d.ts +0 -70
  892. package/build/types/integrations/tracing/hapi/vendored/hapi-types.d.ts.map +0 -1
  893. package/build/types/integrations/tracing/hapi/vendored/instrumentation.d.ts +0 -72
  894. package/build/types/integrations/tracing/hapi/vendored/instrumentation.d.ts.map +0 -1
  895. package/build/types/integrations/tracing/hapi/vendored/internal-types.d.ts +0 -32
  896. package/build/types/integrations/tracing/hapi/vendored/internal-types.d.ts.map +0 -1
  897. package/build/types/integrations/tracing/hapi/vendored/utils.d.ts +0 -18
  898. package/build/types/integrations/tracing/hapi/vendored/utils.d.ts.map +0 -1
  899. package/build/types/integrations/tracing/hono/constants.d.ts +0 -11
  900. package/build/types/integrations/tracing/hono/constants.d.ts.map +0 -1
  901. package/build/types/integrations/tracing/hono/index.d.ts +0 -60
  902. package/build/types/integrations/tracing/hono/index.d.ts.map +0 -1
  903. package/build/types/integrations/tracing/hono/instrumentation.d.ts +0 -55
  904. package/build/types/integrations/tracing/hono/instrumentation.d.ts.map +0 -1
  905. package/build/types/integrations/tracing/hono/types.d.ts +0 -36
  906. package/build/types/integrations/tracing/hono/types.d.ts.map +0 -1
  907. package/build/types/integrations/tracing/kafka/index.d.ts +0 -21
  908. package/build/types/integrations/tracing/kafka/index.d.ts.map +0 -1
  909. package/build/types/integrations/tracing/kafka/vendored/instrumentation.d.ts +0 -15
  910. package/build/types/integrations/tracing/kafka/vendored/instrumentation.d.ts.map +0 -1
  911. package/build/types/integrations/tracing/kafka/vendored/kafkajs-types.d.ts +0 -79
  912. package/build/types/integrations/tracing/kafka/vendored/kafkajs-types.d.ts.map +0 -1
  913. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts +0 -54
  914. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts.map +0 -1
  915. package/build/types/integrations/tracing/kafka/vendored/utils.d.ts +0 -29
  916. package/build/types/integrations/tracing/kafka/vendored/utils.d.ts.map +0 -1
  917. package/build/types/integrations/tracing/knex/index.d.ts +0 -22
  918. package/build/types/integrations/tracing/knex/index.d.ts.map +0 -1
  919. package/build/types/integrations/tracing/knex/vendored/instrumentation.d.ts +0 -12
  920. package/build/types/integrations/tracing/knex/vendored/instrumentation.d.ts.map +0 -1
  921. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts +0 -7
  922. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts.map +0 -1
  923. package/build/types/integrations/tracing/knex/vendored/utils.d.ts +0 -9
  924. package/build/types/integrations/tracing/knex/vendored/utils.d.ts.map +0 -1
  925. package/build/types/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts +0 -5
  926. package/build/types/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts.map +0 -1
  927. package/build/types/integrations/tracing/koa/vendored/instrumentation.d.ts +0 -32
  928. package/build/types/integrations/tracing/koa/vendored/instrumentation.d.ts.map +0 -1
  929. package/build/types/integrations/tracing/koa/vendored/internal-types.d.ts +0 -34
  930. package/build/types/integrations/tracing/koa/vendored/internal-types.d.ts.map +0 -1
  931. package/build/types/integrations/tracing/koa/vendored/types.d.ts +0 -13
  932. package/build/types/integrations/tracing/koa/vendored/types.d.ts.map +0 -1
  933. package/build/types/integrations/tracing/koa/vendored/utils.d.ts +0 -15
  934. package/build/types/integrations/tracing/koa/vendored/utils.d.ts.map +0 -1
  935. package/build/types/integrations/tracing/langchain/index.d.ts +0 -101
  936. package/build/types/integrations/tracing/langchain/index.d.ts.map +0 -1
  937. package/build/types/integrations/tracing/langchain/instrumentation.d.ts +0 -38
  938. package/build/types/integrations/tracing/langchain/instrumentation.d.ts.map +0 -1
  939. package/build/types/integrations/tracing/langgraph/index.d.ts +0 -77
  940. package/build/types/integrations/tracing/langgraph/index.d.ts.map +0 -1
  941. package/build/types/integrations/tracing/langgraph/instrumentation.d.ts +0 -19
  942. package/build/types/integrations/tracing/langgraph/instrumentation.d.ts.map +0 -1
  943. package/build/types/integrations/tracing/lrumemoizer/index.d.ts +0 -21
  944. package/build/types/integrations/tracing/lrumemoizer/index.d.ts.map +0 -1
  945. package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts +0 -6
  946. package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts.map +0 -1
  947. package/build/types/integrations/tracing/mongo/index.d.ts +0 -22
  948. package/build/types/integrations/tracing/mongo/index.d.ts.map +0 -1
  949. package/build/types/integrations/tracing/mongo/vendored/instrumentation.d.ts +0 -11
  950. package/build/types/integrations/tracing/mongo/vendored/instrumentation.d.ts.map +0 -1
  951. package/build/types/integrations/tracing/mongo/vendored/internal-types.d.ts +0 -62
  952. package/build/types/integrations/tracing/mongo/vendored/internal-types.d.ts.map +0 -1
  953. package/build/types/integrations/tracing/mongo/vendored/patches.d.ts +0 -15
  954. package/build/types/integrations/tracing/mongo/vendored/patches.d.ts.map +0 -1
  955. package/build/types/integrations/tracing/mongo/vendored/utils.d.ts +0 -15
  956. package/build/types/integrations/tracing/mongo/vendored/utils.d.ts.map +0 -1
  957. package/build/types/integrations/tracing/mongoose/index.d.ts +0 -22
  958. package/build/types/integrations/tracing/mongoose/index.d.ts.map +0 -1
  959. package/build/types/integrations/tracing/mongoose/vendored/mongoose-types.d.ts +0 -33
  960. package/build/types/integrations/tracing/mongoose/vendored/mongoose-types.d.ts.map +0 -1
  961. package/build/types/integrations/tracing/mongoose/vendored/mongoose.d.ts +0 -18
  962. package/build/types/integrations/tracing/mongoose/vendored/mongoose.d.ts.map +0 -1
  963. package/build/types/integrations/tracing/mongoose/vendored/utils.d.ts +0 -4
  964. package/build/types/integrations/tracing/mongoose/vendored/utils.d.ts.map +0 -1
  965. package/build/types/integrations/tracing/mysql/index.d.ts +0 -22
  966. package/build/types/integrations/tracing/mysql/index.d.ts.map +0 -1
  967. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts +0 -14
  968. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts.map +0 -1
  969. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts +0 -78
  970. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts.map +0 -1
  971. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts +0 -19
  972. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts.map +0 -1
  973. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts +0 -22
  974. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts.map +0 -1
  975. package/build/types/integrations/tracing/mysql2/index.d.ts +0 -22
  976. package/build/types/integrations/tracing/mysql2/index.d.ts.map +0 -1
  977. package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts +0 -9
  978. package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts.map +0 -1
  979. package/build/types/integrations/tracing/mysql2/vendored/mysql2-types.d.ts +0 -39
  980. package/build/types/integrations/tracing/mysql2/vendored/mysql2-types.d.ts.map +0 -1
  981. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -3
  982. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts.map +0 -1
  983. package/build/types/integrations/tracing/mysql2/vendored/utils.d.ts +0 -25
  984. package/build/types/integrations/tracing/mysql2/vendored/utils.d.ts.map +0 -1
  985. package/build/types/integrations/tracing/openai/index.d.ts +0 -62
  986. package/build/types/integrations/tracing/openai/index.d.ts.map +0 -1
  987. package/build/types/integrations/tracing/openai/instrumentation.d.ts +0 -26
  988. package/build/types/integrations/tracing/openai/instrumentation.d.ts.map +0 -1
  989. package/build/types/integrations/tracing/postgres/index.d.ts +0 -26
  990. package/build/types/integrations/tracing/postgres/index.d.ts.map +0 -1
  991. package/build/types/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts +0 -6
  992. package/build/types/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts.map +0 -1
  993. package/build/types/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts +0 -6
  994. package/build/types/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts.map +0 -1
  995. package/build/types/integrations/tracing/postgres/vendored/instrumentation.d.ts +0 -12
  996. package/build/types/integrations/tracing/postgres/vendored/instrumentation.d.ts.map +0 -1
  997. package/build/types/integrations/tracing/postgres/vendored/internal-types.d.ts +0 -33
  998. package/build/types/integrations/tracing/postgres/vendored/internal-types.d.ts.map +0 -1
  999. package/build/types/integrations/tracing/postgres/vendored/pg-pool-types.d.ts +0 -20
  1000. package/build/types/integrations/tracing/postgres/vendored/pg-pool-types.d.ts.map +0 -1
  1001. package/build/types/integrations/tracing/postgres/vendored/pg-types.d.ts +0 -54
  1002. package/build/types/integrations/tracing/postgres/vendored/pg-types.d.ts.map +0 -1
  1003. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts +0 -13
  1004. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts.map +0 -1
  1005. package/build/types/integrations/tracing/postgres/vendored/types.d.ts +0 -11
  1006. package/build/types/integrations/tracing/postgres/vendored/types.d.ts.map +0 -1
  1007. package/build/types/integrations/tracing/postgres/vendored/utils.d.ts +0 -56
  1008. package/build/types/integrations/tracing/postgres/vendored/utils.d.ts.map +0 -1
  1009. package/build/types/integrations/tracing/postgresjs.d.ts +0 -103
  1010. package/build/types/integrations/tracing/postgresjs.d.ts.map +0 -1
  1011. package/build/types/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts +0 -10
  1012. package/build/types/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts.map +0 -1
  1013. package/build/types/integrations/tracing/redis/vendored/redis-instrumentation.d.ts +0 -16
  1014. package/build/types/integrations/tracing/redis/vendored/redis-instrumentation.d.ts.map +0 -1
  1015. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  1016. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts.map +0 -1
  1017. package/build/types/integrations/tracing/tedious/index.d.ts +0 -22
  1018. package/build/types/integrations/tracing/tedious/index.d.ts.map +0 -1
  1019. package/build/types/integrations/tracing/tedious/vendored/instrumentation.d.ts +0 -11
  1020. package/build/types/integrations/tracing/tedious/vendored/instrumentation.d.ts.map +0 -1
  1021. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts +0 -19
  1022. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts.map +0 -1
  1023. package/build/types/integrations/tracing/tedious/vendored/tedious-types.d.ts +0 -21
  1024. package/build/types/integrations/tracing/tedious/vendored/tedious-types.d.ts.map +0 -1
  1025. package/build/types/integrations/tracing/tedious/vendored/utils.d.ts +0 -9
  1026. package/build/types/integrations/tracing/tedious/vendored/utils.d.ts.map +0 -1
  1027. package/build/types/integrations/tracing/vercelai/constants.d.ts +0 -2
  1028. package/build/types/integrations/tracing/vercelai/constants.d.ts.map +0 -1
  1029. package/build/types/integrations/tracing/vercelai/index.d.ts +0 -44
  1030. package/build/types/integrations/tracing/vercelai/index.d.ts.map +0 -1
  1031. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts +0 -56
  1032. package/build/types/integrations/tracing/vercelai/instrumentation.d.ts.map +0 -1
  1033. package/build/types/integrations/tracing/vercelai/types.d.ts +0 -50
  1034. package/build/types/integrations/tracing/vercelai/types.d.ts.map +0 -1
  1035. package/build/types/preload.d.ts +0 -2
  1036. package/build/types/preload.d.ts.map +0 -1
  1037. package/build/types/sdk/diagnosticsChannelInjection.d.ts +0 -41
  1038. package/build/types/sdk/diagnosticsChannelInjection.d.ts.map +0 -1
  1039. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +0 -37
  1040. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts.map +0 -1
  1041. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +0 -9
  1042. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +0 -1
  1043. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1044. package/build/types-ts3.8/index.d.ts +0 -44
  1045. package/build/types-ts3.8/init.d.ts +0 -2
  1046. package/build/types-ts3.8/integrations/featureFlagShims/growthbook.d.ts +0 -6
  1047. package/build/types-ts3.8/integrations/featureFlagShims/index.d.ts +0 -6
  1048. package/build/types-ts3.8/integrations/featureFlagShims/launchDarkly.d.ts +0 -12
  1049. package/build/types-ts3.8/integrations/featureFlagShims/openFeature.d.ts +0 -25
  1050. package/build/types-ts3.8/integrations/featureFlagShims/statsig.d.ts +0 -8
  1051. package/build/types-ts3.8/integrations/featureFlagShims/unleash.d.ts +0 -8
  1052. package/build/types-ts3.8/integrations/fs/index.d.ts +0 -14
  1053. package/build/types-ts3.8/integrations/fs/vendored/constants.d.ts +0 -5
  1054. package/build/types-ts3.8/integrations/fs/vendored/instrumentation.d.ts +0 -3
  1055. package/build/types-ts3.8/integrations/fs/vendored/types.d.ts +0 -23
  1056. package/build/types-ts3.8/integrations/fs/vendored/utils.d.ts +0 -15
  1057. package/build/types-ts3.8/integrations/http.d.ts +0 -134
  1058. package/build/types-ts3.8/integrations/node-fetch.d.ts +0 -9
  1059. package/build/types-ts3.8/integrations/tracing/InstrumentationNodeModuleFile.d.ts +0 -9
  1060. package/build/types-ts3.8/integrations/tracing/amqplib/index.d.ts +0 -22
  1061. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/amqplib-types.d.ts +0 -44
  1062. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/instrumentation.d.ts +0 -11
  1063. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/patches.d.ts +0 -11
  1064. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -23
  1065. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/types.d.ts +0 -49
  1066. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/utils.d.ts +0 -42
  1067. package/build/types-ts3.8/integrations/tracing/anthropic-ai/index.d.ts +0 -62
  1068. package/build/types-ts3.8/integrations/tracing/anthropic-ai/instrumentation.d.ts +0 -19
  1069. package/build/types-ts3.8/integrations/tracing/connect/index.d.ts +0 -48
  1070. package/build/types-ts3.8/integrations/tracing/connect/vendored/enums/AttributeNames.d.ts +0 -9
  1071. package/build/types-ts3.8/integrations/tracing/connect/vendored/instrumentation.d.ts +0 -18
  1072. package/build/types-ts3.8/integrations/tracing/connect/vendored/internal-types.d.ts +0 -36
  1073. package/build/types-ts3.8/integrations/tracing/connect/vendored/utils.d.ts +0 -5
  1074. package/build/types-ts3.8/integrations/tracing/dataloader/index.d.ts +0 -22
  1075. package/build/types-ts3.8/integrations/tracing/dataloader/vendored/instrumentation.d.ts +0 -18
  1076. package/build/types-ts3.8/integrations/tracing/dataloader/vendored/types.d.ts +0 -22
  1077. package/build/types-ts3.8/integrations/tracing/express.d.ts +0 -19
  1078. package/build/types-ts3.8/integrations/tracing/fastify/index.d.ts +0 -119
  1079. package/build/types-ts3.8/integrations/tracing/fastify/types.d.ts +0 -33
  1080. package/build/types-ts3.8/integrations/tracing/fastify/v3/constants.d.ts +0 -3
  1081. package/build/types-ts3.8/integrations/tracing/fastify/v3/enums/AttributeNames.d.ts +0 -15
  1082. package/build/types-ts3.8/integrations/tracing/fastify/v3/instrumentation.d.ts +0 -16
  1083. package/build/types-ts3.8/integrations/tracing/fastify/v3/internal-types.d.ts +0 -7
  1084. package/build/types-ts3.8/integrations/tracing/fastify/v3/types.d.ts +0 -21
  1085. package/build/types-ts3.8/integrations/tracing/fastify/v3/utils.d.ts +0 -28
  1086. package/build/types-ts3.8/integrations/tracing/firebase/firebase.d.ts +0 -8
  1087. package/build/types-ts3.8/integrations/tracing/firebase/index.d.ts +0 -2
  1088. package/build/types-ts3.8/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +0 -14
  1089. package/build/types-ts3.8/integrations/tracing/firebase/otel/index.d.ts +0 -3
  1090. package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/firestore.d.ts +0 -22
  1091. package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/functions.d.ts +0 -18
  1092. package/build/types-ts3.8/integrations/tracing/firebase/otel/types.d.ts +0 -100
  1093. package/build/types-ts3.8/integrations/tracing/genericPool/index.d.ts +0 -22
  1094. package/build/types-ts3.8/integrations/tracing/genericPool/vendored/generic-pool-types.d.ts +0 -5
  1095. package/build/types-ts3.8/integrations/tracing/genericPool/vendored/instrumentation.d.ts +0 -11
  1096. package/build/types-ts3.8/integrations/tracing/google-genai/index.d.ts +0 -62
  1097. package/build/types-ts3.8/integrations/tracing/google-genai/instrumentation.d.ts +0 -20
  1098. package/build/types-ts3.8/integrations/tracing/graphql/index.d.ts +0 -50
  1099. package/build/types-ts3.8/integrations/tracing/graphql/vendored/enum.d.ts +0 -38
  1100. package/build/types-ts3.8/integrations/tracing/graphql/vendored/enums/AttributeNames.d.ts +0 -10
  1101. package/build/types-ts3.8/integrations/tracing/graphql/vendored/graphql-types.d.ts +0 -2
  1102. package/build/types-ts3.8/integrations/tracing/graphql/vendored/instrumentation.d.ts +0 -25
  1103. package/build/types-ts3.8/integrations/tracing/graphql/vendored/internal-types.d.ts +0 -63
  1104. package/build/types-ts3.8/integrations/tracing/graphql/vendored/symbols.d.ts +0 -3
  1105. package/build/types-ts3.8/integrations/tracing/graphql/vendored/types.d.ts +0 -33
  1106. package/build/types-ts3.8/integrations/tracing/graphql/vendored/utils.d.ts +0 -14
  1107. package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +0 -52
  1108. package/build/types-ts3.8/integrations/tracing/hapi/types.d.ts +0 -166
  1109. package/build/types-ts3.8/integrations/tracing/hapi/vendored/enums/AttributeNames.d.ts +0 -6
  1110. package/build/types-ts3.8/integrations/tracing/hapi/vendored/hapi-types.d.ts +0 -70
  1111. package/build/types-ts3.8/integrations/tracing/hapi/vendored/instrumentation.d.ts +0 -72
  1112. package/build/types-ts3.8/integrations/tracing/hapi/vendored/internal-types.d.ts +0 -32
  1113. package/build/types-ts3.8/integrations/tracing/hapi/vendored/utils.d.ts +0 -18
  1114. package/build/types-ts3.8/integrations/tracing/hono/constants.d.ts +0 -11
  1115. package/build/types-ts3.8/integrations/tracing/hono/index.d.ts +0 -60
  1116. package/build/types-ts3.8/integrations/tracing/hono/instrumentation.d.ts +0 -55
  1117. package/build/types-ts3.8/integrations/tracing/hono/types.d.ts +0 -36
  1118. package/build/types-ts3.8/integrations/tracing/index.d.ts +0 -12
  1119. package/build/types-ts3.8/integrations/tracing/kafka/index.d.ts +0 -21
  1120. package/build/types-ts3.8/integrations/tracing/kafka/vendored/instrumentation.d.ts +0 -15
  1121. package/build/types-ts3.8/integrations/tracing/kafka/vendored/kafkajs-types.d.ts +0 -79
  1122. package/build/types-ts3.8/integrations/tracing/kafka/vendored/semconv.d.ts +0 -54
  1123. package/build/types-ts3.8/integrations/tracing/kafka/vendored/utils.d.ts +0 -29
  1124. package/build/types-ts3.8/integrations/tracing/knex/index.d.ts +0 -22
  1125. package/build/types-ts3.8/integrations/tracing/knex/vendored/instrumentation.d.ts +0 -12
  1126. package/build/types-ts3.8/integrations/tracing/knex/vendored/semconv.d.ts +0 -7
  1127. package/build/types-ts3.8/integrations/tracing/knex/vendored/utils.d.ts +0 -9
  1128. package/build/types-ts3.8/integrations/tracing/koa/index.d.ts +0 -72
  1129. package/build/types-ts3.8/integrations/tracing/koa/vendored/enums/AttributeNames.d.ts +0 -5
  1130. package/build/types-ts3.8/integrations/tracing/koa/vendored/instrumentation.d.ts +0 -32
  1131. package/build/types-ts3.8/integrations/tracing/koa/vendored/internal-types.d.ts +0 -34
  1132. package/build/types-ts3.8/integrations/tracing/koa/vendored/types.d.ts +0 -13
  1133. package/build/types-ts3.8/integrations/tracing/koa/vendored/utils.d.ts +0 -15
  1134. package/build/types-ts3.8/integrations/tracing/langchain/index.d.ts +0 -101
  1135. package/build/types-ts3.8/integrations/tracing/langchain/instrumentation.d.ts +0 -38
  1136. package/build/types-ts3.8/integrations/tracing/langgraph/index.d.ts +0 -77
  1137. package/build/types-ts3.8/integrations/tracing/langgraph/instrumentation.d.ts +0 -19
  1138. package/build/types-ts3.8/integrations/tracing/lrumemoizer/index.d.ts +0 -21
  1139. package/build/types-ts3.8/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts +0 -6
  1140. package/build/types-ts3.8/integrations/tracing/mongo/index.d.ts +0 -22
  1141. package/build/types-ts3.8/integrations/tracing/mongo/vendored/instrumentation.d.ts +0 -11
  1142. package/build/types-ts3.8/integrations/tracing/mongo/vendored/internal-types.d.ts +0 -62
  1143. package/build/types-ts3.8/integrations/tracing/mongo/vendored/patches.d.ts +0 -15
  1144. package/build/types-ts3.8/integrations/tracing/mongo/vendored/utils.d.ts +0 -15
  1145. package/build/types-ts3.8/integrations/tracing/mongoose/index.d.ts +0 -22
  1146. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/mongoose-types.d.ts +0 -33
  1147. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/mongoose.d.ts +0 -18
  1148. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/utils.d.ts +0 -4
  1149. package/build/types-ts3.8/integrations/tracing/mysql/index.d.ts +0 -22
  1150. package/build/types-ts3.8/integrations/tracing/mysql/vendored/instrumentation.d.ts +0 -14
  1151. package/build/types-ts3.8/integrations/tracing/mysql/vendored/mysql-types.d.ts +0 -78
  1152. package/build/types-ts3.8/integrations/tracing/mysql/vendored/semconv.d.ts +0 -19
  1153. package/build/types-ts3.8/integrations/tracing/mysql/vendored/utils.d.ts +0 -22
  1154. package/build/types-ts3.8/integrations/tracing/mysql2/index.d.ts +0 -22
  1155. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/instrumentation.d.ts +0 -9
  1156. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/mysql2-types.d.ts +0 -39
  1157. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -3
  1158. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/utils.d.ts +0 -25
  1159. package/build/types-ts3.8/integrations/tracing/openai/index.d.ts +0 -62
  1160. package/build/types-ts3.8/integrations/tracing/openai/instrumentation.d.ts +0 -26
  1161. package/build/types-ts3.8/integrations/tracing/postgres/index.d.ts +0 -26
  1162. package/build/types-ts3.8/integrations/tracing/postgres/vendored/enums/AttributeNames.d.ts +0 -6
  1163. package/build/types-ts3.8/integrations/tracing/postgres/vendored/enums/SpanNames.d.ts +0 -6
  1164. package/build/types-ts3.8/integrations/tracing/postgres/vendored/instrumentation.d.ts +0 -12
  1165. package/build/types-ts3.8/integrations/tracing/postgres/vendored/internal-types.d.ts +0 -33
  1166. package/build/types-ts3.8/integrations/tracing/postgres/vendored/pg-pool-types.d.ts +0 -20
  1167. package/build/types-ts3.8/integrations/tracing/postgres/vendored/pg-types.d.ts +0 -54
  1168. package/build/types-ts3.8/integrations/tracing/postgres/vendored/semconv.d.ts +0 -13
  1169. package/build/types-ts3.8/integrations/tracing/postgres/vendored/types.d.ts +0 -11
  1170. package/build/types-ts3.8/integrations/tracing/postgres/vendored/utils.d.ts +0 -56
  1171. package/build/types-ts3.8/integrations/tracing/postgresjs.d.ts +0 -103
  1172. package/build/types-ts3.8/integrations/tracing/redis/cache.d.ts +0 -22
  1173. package/build/types-ts3.8/integrations/tracing/redis/index.d.ts +0 -28
  1174. package/build/types-ts3.8/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts +0 -10
  1175. package/build/types-ts3.8/integrations/tracing/redis/vendored/redis-instrumentation.d.ts +0 -16
  1176. package/build/types-ts3.8/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  1177. package/build/types-ts3.8/integrations/tracing/redis/vendored/types.d.ts +0 -24
  1178. package/build/types-ts3.8/integrations/tracing/tedious/index.d.ts +0 -22
  1179. package/build/types-ts3.8/integrations/tracing/tedious/vendored/instrumentation.d.ts +0 -11
  1180. package/build/types-ts3.8/integrations/tracing/tedious/vendored/semconv.d.ts +0 -19
  1181. package/build/types-ts3.8/integrations/tracing/tedious/vendored/tedious-types.d.ts +0 -21
  1182. package/build/types-ts3.8/integrations/tracing/tedious/vendored/utils.d.ts +0 -9
  1183. package/build/types-ts3.8/integrations/tracing/vercelai/constants.d.ts +0 -2
  1184. package/build/types-ts3.8/integrations/tracing/vercelai/index.d.ts +0 -44
  1185. package/build/types-ts3.8/integrations/tracing/vercelai/instrumentation.d.ts +0 -56
  1186. package/build/types-ts3.8/integrations/tracing/vercelai/types.d.ts +0 -50
  1187. package/build/types-ts3.8/preload.d.ts +0 -2
  1188. package/build/types-ts3.8/sdk/diagnosticsChannelInjection.d.ts +0 -41
  1189. package/build/types-ts3.8/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +0 -37
  1190. package/build/types-ts3.8/sdk/index.d.ts +0 -36
  1191. package/build/types-ts3.8/sdk/initOtel.d.ts +0 -30
  1192. package/build/types-ts3.8/types.d.ts +0 -89
  1193. package/build/types-ts3.8/utils/redisCache.d.ts +0 -17
  1194. package/build/types-ts3.8/utils/setHttpServerSpanRouteAttribute.d.ts +0 -9
@@ -1 +0,0 @@
1
- {"version":3,"file":"instrumentation.js","sources":["../../../../../../src/integrations/tracing/knex/vendored/instrumentation.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-knex\n * - Upstream version: @opentelemetry/instrumentation-knex@0.62.0\n * - Minor TypeScript strictness adjustments for this repository's compiler settings\n * - Refactored to use Sentry's span APIs instead of OpenTelemetry tracing APIs\n */\n\n/* oxlint-disable typescript/no-deprecated */\n\nimport type { InstrumentationConfig } from '@opentelemetry/instrumentation';\nimport { InstrumentationBase, InstrumentationNodeModuleDefinition, isWrapped } from '@opentelemetry/instrumentation';\nimport type { Span, SpanAttributes } from '@sentry/core';\nimport {\n getActiveSpan,\n SDK_VERSION,\n SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,\n SPAN_KIND,\n SPAN_STATUS_ERROR,\n startSpan,\n} from '@sentry/core';\nimport {\n DB_NAME,\n DB_OPERATION,\n DB_STATEMENT,\n DB_SYSTEM,\n DB_USER,\n NET_PEER_NAME,\n NET_PEER_PORT,\n NET_TRANSPORT,\n} from '@sentry/conventions/attributes';\nimport { InstrumentationNodeModuleFile } from '../../InstrumentationNodeModuleFile';\nimport { ATTR_DB_SQL_TABLE } from './semconv';\nimport * as utils from './utils';\n\nconst PACKAGE_NAME = '@sentry/instrumentation-knex';\nconst ORIGIN = 'auto.db.otel.knex';\n\nconst MODULE_NAME = 'knex';\nconst SUPPORTED_VERSIONS = [\n // use \"lib/execution\" for runner.js, \"lib\" for client.js as basepath, latest tested 0.95.6\n '>=0.22.0 <4',\n // use \"lib\" as basepath\n '>=0.10.0 <0.18.0',\n '>=0.19.0 <0.22.0',\n // use \"src\" as basepath\n '>=0.18.0 <0.19.0',\n];\n\n// Max length of the query text captured in the `db.statement` attribute; \"..\" is appended when truncated.\nconst MAX_QUERY_LENGTH = 1022;\n\nconst parentSpanSymbol = Symbol('sentry.instrumentation-knex.parent-span');\n\nexport class KnexInstrumentation extends InstrumentationBase<InstrumentationConfig> {\n public constructor(config: InstrumentationConfig = {}) {\n super(PACKAGE_NAME, SDK_VERSION, config);\n }\n\n public init(): InstrumentationNodeModuleDefinition {\n const module = new InstrumentationNodeModuleDefinition(MODULE_NAME, SUPPORTED_VERSIONS);\n\n module.files.push(\n this._getClientNodeModuleFileInstrumentation('src'),\n this._getClientNodeModuleFileInstrumentation('lib'),\n this._getRunnerNodeModuleFileInstrumentation('src'),\n this._getRunnerNodeModuleFileInstrumentation('lib'),\n this._getRunnerNodeModuleFileInstrumentation('lib/execution'),\n );\n\n return module;\n }\n\n private _getRunnerNodeModuleFileInstrumentation(basePath: string): InstrumentationNodeModuleFile {\n return new InstrumentationNodeModuleFile(\n `knex/${basePath}/runner.js`,\n SUPPORTED_VERSIONS,\n (Runner: any, moduleVersion?: string) => {\n this._ensureWrapped(Runner.prototype, 'query', this._createQueryWrapper(moduleVersion));\n return Runner;\n },\n (Runner: any) => {\n this._unwrap(Runner.prototype, 'query');\n return Runner;\n },\n );\n }\n\n private _getClientNodeModuleFileInstrumentation(basePath: string): InstrumentationNodeModuleFile {\n return new InstrumentationNodeModuleFile(\n `knex/${basePath}/client.js`,\n SUPPORTED_VERSIONS,\n (Client: any) => {\n this._ensureWrapped(Client.prototype, 'queryBuilder', this._storeContext.bind(this));\n this._ensureWrapped(Client.prototype, 'schemaBuilder', this._storeContext.bind(this));\n this._ensureWrapped(Client.prototype, 'raw', this._storeContext.bind(this));\n return Client;\n },\n (Client: any) => {\n this._unwrap(Client.prototype, 'queryBuilder');\n this._unwrap(Client.prototype, 'schemaBuilder');\n this._unwrap(Client.prototype, 'raw');\n return Client;\n },\n );\n }\n\n private _createQueryWrapper(moduleVersion?: string) {\n return function wrapQuery(original: (...args: any[]) => any) {\n return function wrapped_logging_method(this: any, query: any) {\n const config = this.client.config;\n\n const table = utils.extractTableName(this.builder);\n const operation = query?.method;\n const connectionString = config?.connection?.connectionString;\n const name =\n config?.connection?.filename ||\n config?.connection?.database ||\n utils.extractDatabaseFromConnectionString(connectionString);\n\n const attributes: SpanAttributes = {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: ORIGIN,\n 'knex.version': moduleVersion,\n [DB_SYSTEM]: utils.mapSystem(this.client.driverName),\n [ATTR_DB_SQL_TABLE]: table,\n [DB_OPERATION]: operation,\n [DB_USER]: config?.connection?.user,\n [DB_NAME]: name,\n [NET_PEER_NAME]: config?.connection?.host ?? utils.extractHostFromConnectionString(connectionString),\n [NET_PEER_PORT]: config?.connection?.port ?? utils.extractPortFromConnectionString(connectionString),\n [NET_TRANSPORT]: config?.connection?.filename === ':memory:' ? 'inproc' : undefined,\n [DB_STATEMENT]: utils.limitLength(query?.sql, MAX_QUERY_LENGTH),\n };\n\n // The query builder captures the span active when it was created (see `_storeContext`).\n // `onlyIfParent` ensures we only instrument queries that run as part of an existing trace.\n const parentSpan: Span | undefined = this.builder[parentSpanSymbol] || getActiveSpan();\n\n const args = arguments;\n return startSpan(\n {\n name: utils.getName(name, operation, table),\n kind: SPAN_KIND.CLIENT,\n attributes,\n parentSpan,\n onlyIfParent: true,\n },\n span =>\n // `Runner.query` returns a real, already-executing Promise, so it is safe to let\n // `startSpan` await it and auto-end the span.\n original.apply(this, args).catch((err: any) => {\n const formatter = utils.getFormatter(this);\n const fullQuery = formatter(query.sql, query.bindings || []);\n const message = err.message.replace(`${fullQuery} - `, '');\n span.setStatus({ code: SPAN_STATUS_ERROR, message });\n throw err;\n }),\n );\n };\n };\n }\n\n private _storeContext(original: (...args: any[]) => any) {\n return function wrapped_logging_method(this: any) {\n const builder = original.apply(this, arguments);\n // Capture the span that is active when the query builder is created. The query often executes\n // in a different async context, so we reuse this span as the parent when the query runs.\n Object.defineProperty(builder, parentSpanSymbol, {\n value: getActiveSpan(),\n });\n return builder;\n };\n }\n\n private _ensureWrapped(obj: any, methodName: string, wrapper: (original: any) => any): void {\n if (isWrapped(obj[methodName])) {\n this._unwrap(obj, methodName);\n }\n this._wrap(obj, methodName, wrapper);\n }\n}\n"],"names":["InstrumentationBase","SDK_VERSION","InstrumentationNodeModuleDefinition","InstrumentationNodeModuleFile","utils.extractTableName","utils.extractDatabaseFromConnectionString","attributes","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","DB_SYSTEM","utils.mapSystem","ATTR_DB_SQL_TABLE","DB_OPERATION","DB_USER","DB_NAME","NET_PEER_NAME","utils.extractHostFromConnectionString","NET_PEER_PORT","utils.extractPortFromConnectionString","NET_TRANSPORT","DB_STATEMENT","utils.limitLength","getActiveSpan","startSpan","utils.getName","SPAN_KIND","utils.getFormatter","SPAN_STATUS_ERROR","isWrapped"],"mappings":";;;;;;;;;AAsCA,MAAM,YAAA,GAAe,8BAAA;AACrB,MAAM,MAAA,GAAS,mBAAA;AAEf,MAAM,WAAA,GAAc,MAAA;AACpB,MAAM,kBAAA,GAAqB;AAAA;AAAA,EAEzB,aAAA;AAAA;AAAA,EAEA,kBAAA;AAAA,EACA,kBAAA;AAAA;AAAA,EAEA;AACF,CAAA;AAGA,MAAM,gBAAA,GAAmB,IAAA;AAEzB,MAAM,gBAAA,0BAA0B,yCAAyC,CAAA;AAElE,MAAM,4BAA4BA,mCAAA,CAA2C;AAAA,EAC3E,WAAA,CAAY,MAAA,GAAgC,EAAC,EAAG;AACrD,IAAA,KAAA,CAAM,YAAA,EAAcC,kBAAa,MAAM,CAAA;AAAA,EACzC;AAAA,EAEO,IAAA,GAA4C;AACjD,IAAA,MAAM,MAAA,GAAS,IAAIC,mDAAA,CAAoC,WAAA,EAAa,kBAAkB,CAAA;AAEtF,IAAA,MAAA,CAAO,KAAA,CAAM,IAAA;AAAA,MACX,IAAA,CAAK,wCAAwC,KAAK,CAAA;AAAA,MAClD,IAAA,CAAK,wCAAwC,KAAK,CAAA;AAAA,MAClD,IAAA,CAAK,wCAAwC,KAAK,CAAA;AAAA,MAClD,IAAA,CAAK,wCAAwC,KAAK,CAAA;AAAA,MAClD,IAAA,CAAK,wCAAwC,eAAe;AAAA,KAC9D;AAEA,IAAA,OAAO,MAAA;AAAA,EACT;AAAA,EAEQ,wCAAwC,QAAA,EAAiD;AAC/F,IAAA,OAAO,IAAIC,2DAAA;AAAA,MACT,QAAQ,QAAQ,CAAA,UAAA,CAAA;AAAA,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CAAA,EAAG;AAC9B,MAAA,IAAA,CAAK,OAAA,CAAQ,KAAK,UAAU,CAAA;AAAA,IAC9B;AACA,IAAA,IAAA,CAAK,KAAA,CAAM,GAAA,EAAK,UAAA,EAAY,OAAO,CAAA;AAAA,EACrC;AACF;;;;"}
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const ATTR_DB_SQL_TABLE = "db.sql.table";
4
- const DB_SYSTEM_NAME_VALUE_SQLITE = "sqlite";
5
- const DB_SYSTEM_NAME_VALUE_POSTGRESQL = "postgresql";
6
-
7
- exports.ATTR_DB_SQL_TABLE = ATTR_DB_SQL_TABLE;
8
- exports.DB_SYSTEM_NAME_VALUE_POSTGRESQL = DB_SYSTEM_NAME_VALUE_POSTGRESQL;
9
- exports.DB_SYSTEM_NAME_VALUE_SQLITE = DB_SYSTEM_NAME_VALUE_SQLITE;
10
- //# sourceMappingURL=semconv.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semconv.js","sources":["../../../../../../src/integrations/tracing/knex/vendored/semconv.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-knex\n * - Upstream version: @opentelemetry/instrumentation-knex@0.62.0\n */\n\n/**\n * @deprecated Replaced by `db.collection.name`.\n */\nexport const ATTR_DB_SQL_TABLE = 'db.sql.table' as const;\n\nexport const DB_SYSTEM_NAME_VALUE_SQLITE = 'sqlite' as const;\n\nexport const DB_SYSTEM_NAME_VALUE_POSTGRESQL = 'postgresql' as const;\n"],"names":[],"mappings":";;AAYO,MAAM,iBAAA,GAAoB;AAE1B,MAAM,2BAAA,GAA8B;AAEpC,MAAM,+BAAA,GAAkC;;;;;;"}
@@ -1,84 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const semconv = require('./semconv.js');
4
-
5
- const getFormatter = (runner) => {
6
- if (runner) {
7
- if (runner.client) {
8
- if (runner.client._formatQuery) {
9
- return runner.client._formatQuery.bind(runner.client);
10
- } else if (runner.client.SqlString) {
11
- return runner.client.SqlString.format.bind(runner.client.SqlString);
12
- }
13
- }
14
- if (runner.builder) {
15
- return runner.builder.toString.bind(runner.builder);
16
- }
17
- }
18
- return () => "<noop formatter>";
19
- };
20
- const systemMap = /* @__PURE__ */ new Map([
21
- ["sqlite3", semconv.DB_SYSTEM_NAME_VALUE_SQLITE],
22
- ["pg", semconv.DB_SYSTEM_NAME_VALUE_POSTGRESQL]
23
- ]);
24
- const mapSystem = (knexSystem) => {
25
- return systemMap.get(knexSystem) || knexSystem;
26
- };
27
- const getName = (db, operation, table) => {
28
- if (operation) {
29
- if (table) {
30
- return `${operation} ${db}.${table}`;
31
- }
32
- return `${operation} ${db}`;
33
- }
34
- return db;
35
- };
36
- const limitLength = (str, maxLength) => {
37
- if (typeof str === "string" && typeof maxLength === "number" && 0 < maxLength && maxLength < str.length) {
38
- return `${str.substring(0, maxLength)}..`;
39
- }
40
- return str;
41
- };
42
- const extractDatabaseFromConnectionString = (connectionString) => {
43
- if (!connectionString) return void 0;
44
- try {
45
- const db = new URL(connectionString).pathname?.replace(/^\//, "");
46
- return db || void 0;
47
- } catch {
48
- return void 0;
49
- }
50
- };
51
- const extractHostFromConnectionString = (connectionString) => {
52
- if (!connectionString) return void 0;
53
- try {
54
- return new URL(connectionString).hostname || void 0;
55
- } catch {
56
- return void 0;
57
- }
58
- };
59
- const extractPortFromConnectionString = (connectionString) => {
60
- if (!connectionString) return void 0;
61
- try {
62
- const port = new URL(connectionString).port;
63
- return port ? parseInt(port, 10) : void 0;
64
- } catch {
65
- return void 0;
66
- }
67
- };
68
- const extractTableName = (builder) => {
69
- const table = builder?._single?.table;
70
- if (typeof table === "object") {
71
- return extractTableName(table);
72
- }
73
- return table;
74
- };
75
-
76
- exports.extractDatabaseFromConnectionString = extractDatabaseFromConnectionString;
77
- exports.extractHostFromConnectionString = extractHostFromConnectionString;
78
- exports.extractPortFromConnectionString = extractPortFromConnectionString;
79
- exports.extractTableName = extractTableName;
80
- exports.getFormatter = getFormatter;
81
- exports.getName = getName;
82
- exports.limitLength = limitLength;
83
- exports.mapSystem = mapSystem;
84
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../../../src/integrations/tracing/knex/vendored/utils.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-knex\n * - Upstream version: @opentelemetry/instrumentation-knex@0.62.0\n * - Refactored to use Sentry's span APIs instead of OpenTelemetry tracing APIs\n */\n\nimport { DB_SYSTEM_NAME_VALUE_POSTGRESQL, DB_SYSTEM_NAME_VALUE_SQLITE } from './semconv';\n\nexport const getFormatter = (runner: any) => {\n if (runner) {\n if (runner.client) {\n if (runner.client._formatQuery) {\n return runner.client._formatQuery.bind(runner.client);\n } else if (runner.client.SqlString) {\n return runner.client.SqlString.format.bind(runner.client.SqlString);\n }\n }\n if (runner.builder) {\n return runner.builder.toString.bind(runner.builder);\n }\n }\n return () => '<noop formatter>';\n};\n\nconst systemMap = new Map([\n ['sqlite3', DB_SYSTEM_NAME_VALUE_SQLITE],\n ['pg', DB_SYSTEM_NAME_VALUE_POSTGRESQL],\n]);\n\nexport const mapSystem = (knexSystem: string) => {\n return systemMap.get(knexSystem) || knexSystem;\n};\n\nexport const getName = (db: string, operation?: string, table?: string) => {\n if (operation) {\n if (table) {\n return `${operation} ${db}.${table}`;\n }\n return `${operation} ${db}`;\n }\n return db;\n};\n\nexport const limitLength = (str: string, maxLength: number) => {\n if (typeof str === 'string' && typeof maxLength === 'number' && 0 < maxLength && maxLength < str.length) {\n return `${str.substring(0, maxLength)}..`;\n }\n return str;\n};\n\nexport const extractDatabaseFromConnectionString = (connectionString?: string): string | undefined => {\n if (!connectionString) return undefined;\n try {\n const db = new URL(connectionString).pathname?.replace(/^\\//, '');\n return db || undefined;\n } catch {\n return undefined;\n }\n};\n\nexport const extractHostFromConnectionString = (connectionString?: string): string | undefined => {\n if (!connectionString) return undefined;\n try {\n return new URL(connectionString).hostname || undefined;\n } catch {\n return undefined;\n }\n};\n\nexport const extractPortFromConnectionString = (connectionString?: string): number | undefined => {\n if (!connectionString) return undefined;\n try {\n const port = new URL(connectionString).port;\n return port ? parseInt(port, 10) : undefined;\n } catch {\n return undefined;\n }\n};\n\nexport const extractTableName = (builder: any): string => {\n const table = builder?._single?.table;\n if (typeof table === 'object') {\n return extractTableName(table);\n }\n return table;\n};\n"],"names":["DB_SYSTEM_NAME_VALUE_SQLITE","DB_SYSTEM_NAME_VALUE_POSTGRESQL"],"mappings":";;;;AAYO,MAAM,YAAA,GAAe,CAAC,MAAA,KAAgB;AAC3C,EAAA,IAAI,MAAA,EAAQ;AACV,IAAA,IAAI,OAAO,MAAA,EAAQ;AACjB,MAAA,IAAI,MAAA,CAAO,OAAO,YAAA,EAAc;AAC9B,QAAA,OAAO,MAAA,CAAO,MAAA,CAAO,YAAA,CAAa,IAAA,CAAK,OAAO,MAAM,CAAA;AAAA,MACtD,CAAA,MAAA,IAAW,MAAA,CAAO,MAAA,CAAO,SAAA,EAAW;AAClC,QAAA,OAAO,OAAO,MAAA,CAAO,SAAA,CAAU,OAAO,IAAA,CAAK,MAAA,CAAO,OAAO,SAAS,CAAA;AAAA,MACpE;AAAA,IACF;AACA,IAAA,IAAI,OAAO,OAAA,EAAS;AAClB,MAAA,OAAO,MAAA,CAAO,OAAA,CAAQ,QAAA,CAAS,IAAA,CAAK,OAAO,OAAO,CAAA;AAAA,IACpD;AAAA,EACF;AACA,EAAA,OAAO,MAAM,kBAAA;AACf;AAE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AEO,MAAM,+BAAA,GAAkC,CAAC,gBAAA,KAAkD;AAChG,EAAA,IAAI,CAAC,kBAAkB,OAAO,MAAA;AAC9B,EAAA,IAAI;AACF,IAAA,OAAO,IAAI,GAAA,CAAI,gBAAgB,CAAA,CAAE,QAAA,IAAY,KAAA,CAAA;AAAA,EAC/C,CAAA,CAAA,MAAQ;AACN,IAAA,OAAO,MAAA;AAAA,EACT;AACF;AAEO,MAAM,+BAAA,GAAkC,CAAC,gBAAA,KAAkD;AAChG,EAAA,IAAI,CAAC,kBAAkB,OAAO,MAAA;AAC9B,EAAA,IAAI;AACF,IAAA,MAAM,IAAA,GAAO,IAAI,GAAA,CAAI,gBAAgB,CAAA,CAAE,IAAA;AACvC,IAAA,OAAO,IAAA,GAAO,QAAA,CAAS,IAAA,EAAM,EAAE,CAAA,GAAI,KAAA,CAAA;AAAA,EACrC,CAAA,CAAA,MAAQ;AACN,IAAA,OAAO,MAAA;AAAA,EACT;AACF;AAEO,MAAM,gBAAA,GAAmB,CAAC,OAAA,KAAyB;AACxD,EAAA,MAAM,KAAA,GAAQ,SAAS,OAAA,EAAS,KAAA;AAChC,EAAA,IAAI,OAAO,UAAU,QAAA,EAAU;AAC7B,IAAA,OAAO,iBAAiB,KAAK,CAAA;AAAA,EAC/B;AACA,EAAA,OAAO,KAAA;AACT;;;;;;;;;;;"}
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- var AttributeNames = /* @__PURE__ */ ((AttributeNames2) => {
4
- AttributeNames2["KOA_TYPE"] = "koa.type";
5
- AttributeNames2["KOA_NAME"] = "koa.name";
6
- return AttributeNames2;
7
- })(AttributeNames || {});
8
-
9
- exports.AttributeNames = AttributeNames;
10
- //# sourceMappingURL=AttributeNames.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AttributeNames.js","sources":["../../../../../../../src/integrations/tracing/koa/vendored/enums/AttributeNames.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-koa\n * - Upstream version: @opentelemetry/instrumentation-koa@0.66.0\n */\n\nexport enum AttributeNames {\n KOA_TYPE = 'koa.type',\n KOA_NAME = 'koa.name',\n}\n"],"names":["AttributeNames"],"mappings":";;AASO,IAAK,cAAA,qBAAAA,eAAAA,KAAL;AACL,EAAAA,gBAAA,UAAA,CAAA,GAAW,UAAA;AACX,EAAAA,gBAAA,UAAA,CAAA,GAAW,UAAA;AAFD,EAAA,OAAAA,eAAAA;AAAA,CAAA,EAAA,cAAA,IAAA,EAAA;;;;"}
@@ -1,127 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const api = require('@opentelemetry/api');
4
- const instrumentation = require('@opentelemetry/instrumentation');
5
- const types = require('./types.js');
6
- const core = require('@sentry/core');
7
- const attributes = require('@sentry/conventions/attributes');
8
- const utils = require('./utils.js');
9
- const setHttpServerSpanRouteAttribute = require('../../../../utils/setHttpServerSpanRouteAttribute.js');
10
- const debugBuild = require('../../../../debug-build.js');
11
- const AttributeNames = require('./enums/AttributeNames.js');
12
- const internalTypes = require('./internal-types.js');
13
-
14
- const PACKAGE_NAME = "@sentry/instrumentation-koa";
15
- class KoaInstrumentation extends instrumentation.InstrumentationBase {
16
- constructor(config = {}) {
17
- super(PACKAGE_NAME, core.SDK_VERSION, config);
18
- }
19
- init() {
20
- return new instrumentation.InstrumentationNodeModuleDefinition(
21
- "koa",
22
- [">=2.0.0 <4"],
23
- (module) => {
24
- const moduleExports = module[Symbol.toStringTag] === "Module" ? module.default : module;
25
- if (moduleExports == null) {
26
- return moduleExports;
27
- }
28
- if (instrumentation.isWrapped(moduleExports.prototype.use)) {
29
- this._unwrap(moduleExports.prototype, "use");
30
- }
31
- this._wrap(moduleExports.prototype, "use", this._getKoaUsePatch.bind(this));
32
- return module;
33
- },
34
- (module) => {
35
- const moduleExports = module[Symbol.toStringTag] === "Module" ? module.default : module;
36
- if (moduleExports && instrumentation.isWrapped(moduleExports.prototype.use)) {
37
- this._unwrap(moduleExports.prototype, "use");
38
- }
39
- }
40
- );
41
- }
42
- /**
43
- * Patches the Koa.use function in order to instrument each original
44
- * middleware layer which is introduced
45
- * @param {KoaMiddleware} middleware - the original middleware function
46
- */
47
- _getKoaUsePatch(original) {
48
- const patchRouterDispatch = this._patchRouterDispatch.bind(this);
49
- const patchLayer = this._patchLayer.bind(this);
50
- return function use(middlewareFunction) {
51
- const patchedFunction = middlewareFunction.router ? patchRouterDispatch(middlewareFunction) : patchLayer(middlewareFunction, false);
52
- return original.apply(this, [patchedFunction]);
53
- };
54
- }
55
- /**
56
- * Patches the dispatch function used by @koa/router. This function
57
- * goes through each routed middleware and adds instrumentation via a call
58
- * to the @function _patchLayer function.
59
- * @param {KoaMiddleware} dispatchLayer - the original dispatch function which dispatches
60
- * routed middleware
61
- */
62
- _patchRouterDispatch(dispatchLayer) {
63
- const router = dispatchLayer.router;
64
- const routesStack = router?.stack ?? [];
65
- for (const pathLayer of routesStack) {
66
- const path = pathLayer.path;
67
- const pathStack = pathLayer.stack;
68
- for (let j = 0; j < pathStack.length; j++) {
69
- const routedMiddleware = pathStack[j];
70
- pathStack[j] = this._patchLayer(routedMiddleware, true, path);
71
- }
72
- }
73
- return dispatchLayer;
74
- }
75
- /**
76
- * Patches each individual @param middlewareLayer function in order to create the
77
- * span and propagate context. It does not create spans when there is no parent span.
78
- * @param {KoaMiddleware} middlewareLayer - the original middleware function.
79
- * @param {boolean} isRouter - tracks whether the original middleware function
80
- * was dispatched by the router originally
81
- * @param {string?} layerPath - if present, provides additional data from the
82
- * router about the routed path which the middleware is attached to
83
- */
84
- _patchLayer(middlewareLayer, isRouter, layerPath) {
85
- const layerType = isRouter ? types.KoaLayerType.ROUTER : types.KoaLayerType.MIDDLEWARE;
86
- if (middlewareLayer[internalTypes.kLayerPatched] === true || utils.isLayerIgnored(layerType, this.getConfig())) return middlewareLayer;
87
- if (middlewareLayer.constructor.name === "GeneratorFunction" || middlewareLayer.constructor.name === "AsyncGeneratorFunction") {
88
- return middlewareLayer;
89
- }
90
- middlewareLayer[internalTypes.kLayerPatched] = true;
91
- return (context, next) => {
92
- const parent = api.trace.getSpan(api.context.active());
93
- if (parent === void 0) {
94
- return middlewareLayer(context, next);
95
- }
96
- const metadata = utils.getMiddlewareMetadata(context, middlewareLayer, isRouter, layerPath);
97
- if (context._matchedRoute) {
98
- setHttpServerSpanRouteAttribute.setHttpServerSpanRouteAttribute(context._matchedRoute.toString());
99
- }
100
- const koaName = metadata.attributes[AttributeNames.AttributeNames.KOA_NAME];
101
- const name = typeof koaName === "string" ? koaName || "< unknown >" : metadata.name;
102
- return core.startSpan(
103
- {
104
- name,
105
- op: `${layerType}.koa`,
106
- attributes: {
107
- ...metadata.attributes,
108
- [core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: "auto.http.otel.koa"
109
- }
110
- },
111
- () => {
112
- const route = metadata.attributes[attributes.HTTP_ROUTE];
113
- if (core.getIsolationScope() === core.getDefaultIsolationScope()) {
114
- debugBuild.DEBUG_BUILD && core.debug.warn("Isolation scope is default isolation scope - skipping setting transactionName");
115
- } else if (route) {
116
- const method = context.request?.method?.toUpperCase() || "GET";
117
- core.getIsolationScope().setTransactionName(`${method} ${route}`);
118
- }
119
- return middlewareLayer(context, next);
120
- }
121
- );
122
- };
123
- }
124
- }
125
-
126
- exports.KoaInstrumentation = KoaInstrumentation;
127
- //# sourceMappingURL=instrumentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"instrumentation.js","sources":["../../../../../../src/integrations/tracing/koa/vendored/instrumentation.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-koa\n * - Upstream version: @opentelemetry/instrumentation-koa@0.66.0\n * - Minor TypeScript strictness adjustments for this repository's compiler settings\n * - Span creation migrated to the @sentry/core API; op/origin/name and transaction name folded into\n * span creation (previously set via a Sentry requestHook)\n */\n\nimport * as api from '@opentelemetry/api';\nimport { isWrapped, InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';\n\nimport { KoaLayerType, type KoaInstrumentationConfig } from './types';\nimport {\n debug,\n getDefaultIsolationScope,\n getIsolationScope,\n SDK_VERSION,\n SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,\n startSpan,\n} from '@sentry/core';\nimport { HTTP_ROUTE } from '@sentry/conventions/attributes';\nimport { getMiddlewareMetadata, isLayerIgnored } from './utils';\nimport { setHttpServerSpanRouteAttribute } from '../../../../utils/setHttpServerSpanRouteAttribute';\nimport { DEBUG_BUILD } from '../../../../debug-build';\nimport { AttributeNames } from './enums/AttributeNames';\nimport {\n kLayerPatched,\n type Next,\n type KoaContext,\n type KoaMiddleware,\n type KoaPatchedMiddleware,\n} from './internal-types';\n\nconst PACKAGE_NAME = '@sentry/instrumentation-koa';\n\ninterface KoaModuleExports {\n prototype: { use: KoaMiddleware };\n}\n\ntype KoaModule = KoaModuleExports & { [Symbol.toStringTag]?: string; default?: KoaModuleExports };\n\n/** Koa instrumentation for OpenTelemetry */\nexport class KoaInstrumentation extends InstrumentationBase<KoaInstrumentationConfig> {\n constructor(config: KoaInstrumentationConfig = {}) {\n super(PACKAGE_NAME, SDK_VERSION, config);\n }\n\n protected init() {\n return new InstrumentationNodeModuleDefinition(\n 'koa',\n ['>=2.0.0 <4'],\n (module: KoaModule) => {\n const moduleExports =\n module[Symbol.toStringTag] === 'Module'\n ? module.default // ESM\n : module; // CommonJS\n if (moduleExports == null) {\n return moduleExports;\n }\n if (isWrapped(moduleExports.prototype.use)) {\n this._unwrap(moduleExports.prototype, 'use');\n }\n this._wrap(moduleExports.prototype, 'use', this._getKoaUsePatch.bind(this));\n return module;\n },\n (module: KoaModule) => {\n const moduleExports =\n module[Symbol.toStringTag] === 'Module'\n ? module.default // ESM\n : module; // CommonJS\n if (moduleExports && isWrapped(moduleExports.prototype.use)) {\n this._unwrap(moduleExports.prototype, 'use');\n }\n },\n );\n }\n\n /**\n * Patches the Koa.use function in order to instrument each original\n * middleware layer which is introduced\n * @param {KoaMiddleware} middleware - the original middleware function\n */\n private _getKoaUsePatch(original: (middleware: KoaMiddleware) => unknown) {\n const patchRouterDispatch = this._patchRouterDispatch.bind(this);\n const patchLayer = this._patchLayer.bind(this);\n return function use(this: unknown, middlewareFunction: KoaMiddleware) {\n const patchedFunction = middlewareFunction.router\n ? patchRouterDispatch(middlewareFunction)\n : patchLayer(middlewareFunction, false);\n return original.apply(this, [patchedFunction]);\n };\n }\n\n /**\n * Patches the dispatch function used by @koa/router. This function\n * goes through each routed middleware and adds instrumentation via a call\n * to the @function _patchLayer function.\n * @param {KoaMiddleware} dispatchLayer - the original dispatch function which dispatches\n * routed middleware\n */\n private _patchRouterDispatch(dispatchLayer: KoaMiddleware): KoaMiddleware {\n const router = dispatchLayer.router;\n\n const routesStack = router?.stack ?? [];\n for (const pathLayer of routesStack) {\n const path = pathLayer.path;\n const pathStack = pathLayer.stack;\n for (let j = 0; j < pathStack.length; j++) {\n const routedMiddleware: KoaMiddleware = pathStack[j]!;\n pathStack[j] = this._patchLayer(routedMiddleware, true, path);\n }\n }\n\n return dispatchLayer;\n }\n\n /**\n * Patches each individual @param middlewareLayer function in order to create the\n * span and propagate context. It does not create spans when there is no parent span.\n * @param {KoaMiddleware} middlewareLayer - the original middleware function.\n * @param {boolean} isRouter - tracks whether the original middleware function\n * was dispatched by the router originally\n * @param {string?} layerPath - if present, provides additional data from the\n * router about the routed path which the middleware is attached to\n */\n private _patchLayer(\n middlewareLayer: KoaPatchedMiddleware,\n isRouter: boolean,\n layerPath?: string | RegExp,\n ): KoaMiddleware {\n const layerType = isRouter ? KoaLayerType.ROUTER : KoaLayerType.MIDDLEWARE;\n // Skip patching layer if its ignored in the config\n if (middlewareLayer[kLayerPatched] === true || isLayerIgnored(layerType, this.getConfig())) return middlewareLayer;\n\n if (\n middlewareLayer.constructor.name === 'GeneratorFunction' ||\n middlewareLayer.constructor.name === 'AsyncGeneratorFunction'\n ) {\n return middlewareLayer;\n }\n\n middlewareLayer[kLayerPatched] = true;\n\n return (context: KoaContext, next: Next) => {\n const parent = api.trace.getSpan(api.context.active());\n if (parent === undefined) {\n return middlewareLayer(context, next);\n }\n const metadata = getMiddlewareMetadata(context, middlewareLayer, isRouter, layerPath);\n\n if (context._matchedRoute) {\n setHttpServerSpanRouteAttribute(context._matchedRoute.toString());\n }\n\n const koaName = metadata.attributes[AttributeNames.KOA_NAME];\n // Somehow, name is sometimes `''` for middleware spans\n // See: https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2220\n const name = typeof koaName === 'string' ? koaName || '< unknown >' : metadata.name;\n\n return startSpan(\n {\n name,\n op: `${layerType}.koa`,\n attributes: {\n ...metadata.attributes,\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.http.otel.koa',\n },\n },\n () => {\n const route = metadata.attributes[HTTP_ROUTE];\n if (getIsolationScope() === getDefaultIsolationScope()) {\n DEBUG_BUILD && debug.warn('Isolation scope is default isolation scope - skipping setting transactionName');\n } else if (route) {\n const method = (context.request as { method?: string } | undefined)?.method?.toUpperCase() || 'GET';\n getIsolationScope().setTransactionName(`${method} ${route}`);\n }\n return middlewareLayer(context, next);\n },\n );\n };\n }\n}\n"],"names":["InstrumentationBase","SDK_VERSION","InstrumentationNodeModuleDefinition","isWrapped","KoaLayerType","kLayerPatched","isLayerIgnored","getMiddlewareMetadata","setHttpServerSpanRouteAttribute","AttributeNames","startSpan","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","HTTP_ROUTE","getIsolationScope","getDefaultIsolationScope","DEBUG_BUILD","debug"],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,CAAS,UAAA,CAAWC,qBAAU,CAAA;AAC5C,UAAA,IAAIC,sBAAA,EAAkB,KAAMC,6BAAA,EAAyB,EAAG;AACtD,YAAAC,sBAAA,IAAeC,UAAA,CAAM,KAAK,+EAA+E,CAAA;AAAA,UAC3G,WAAW,KAAA,EAAO;AAChB,YAAA,MAAM,MAAA,GAAU,OAAA,CAAQ,OAAA,EAA6C,MAAA,EAAQ,aAAY,IAAK,KAAA;AAC9F,YAAAH,sBAAA,GAAoB,kBAAA,CAAmB,CAAA,EAAG,MAAM,CAAA,CAAA,EAAI,KAAK,CAAA,CAAE,CAAA;AAAA,UAC7D;AACA,UAAA,OAAO,eAAA,CAAgB,SAAS,IAAI,CAAA;AAAA,QACtC;AAAA,OACF;AAAA,IACF,CAAA;AAAA,EACF;AACF;;;;"}
@@ -1,6 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const kLayerPatched = /* @__PURE__ */ Symbol("koa-layer-patched");
4
-
5
- exports.kLayerPatched = kLayerPatched;
6
- //# sourceMappingURL=internal-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal-types.js","sources":["../../../../../../src/integrations/tracing/koa/vendored/internal-types.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-koa\n * - Upstream version: @opentelemetry/instrumentation-koa@0.66.0\n * - Some types vendored from @types/koa, @types/koa-compose, and @types/koa__router with simplifications\n */\n\ninterface DefaultState {}\n\nexport type Next = () => Promise<unknown>;\n\ntype ParameterizedContext<_StateT = DefaultState, ContextT = {}, _ResponseBodyT = unknown> = {\n [key: string]: unknown;\n} & ContextT;\n\ntype Middleware<StateT = DefaultState, ContextT = {}, ResponseBodyT = unknown> = (\n context: ParameterizedContext<StateT, ContextT, ResponseBodyT>,\n next: Next,\n) => unknown;\n\ninterface RouterParamContext<StateT = DefaultState, ContextT = {}> {\n params: Record<string, string>;\n router: Router<StateT, ContextT>;\n _matchedRoute: string | RegExp | undefined;\n _matchedRouteName: string | undefined;\n}\n\ninterface Layer {\n path: string | RegExp;\n stack: KoaMiddleware[];\n}\n\nexport interface Router<_StateT = DefaultState, _ContextT = {}> {\n stack: Layer[];\n}\n\nexport type KoaContext = ParameterizedContext<DefaultState, RouterParamContext>;\nexport type KoaMiddleware = Middleware<DefaultState, KoaContext> & {\n router?: Router;\n};\n\n/**\n * This symbol is used to mark a Koa layer as being already instrumented\n * since its possible to use a given layer multiple times (ex: middlewares)\n */\nexport const kLayerPatched: unique symbol = Symbol('koa-layer-patched');\n\nexport type KoaPatchedMiddleware = KoaMiddleware & {\n [kLayerPatched]?: boolean;\n};\n"],"names":[],"mappings":";;AAgDO,MAAM,aAAA,0BAAsC,mBAAmB;;;;"}
@@ -1,10 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- var KoaLayerType = /* @__PURE__ */ ((KoaLayerType2) => {
4
- KoaLayerType2["ROUTER"] = "router";
5
- KoaLayerType2["MIDDLEWARE"] = "middleware";
6
- return KoaLayerType2;
7
- })(KoaLayerType || {});
8
-
9
- exports.KoaLayerType = KoaLayerType;
10
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":["../../../../../../src/integrations/tracing/koa/vendored/types.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-koa\n * - Upstream version: @opentelemetry/instrumentation-koa@0.66.0\n */\n\nimport type { InstrumentationConfig } from '@opentelemetry/instrumentation';\n\nexport enum KoaLayerType {\n ROUTER = 'router',\n MIDDLEWARE = 'middleware',\n}\n\n/**\n * Options available for the Koa Instrumentation (see [documentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-Instrumentation-koa#koa-Instrumentation-options))\n */\nexport interface KoaInstrumentationConfig extends InstrumentationConfig {\n /** Ignore specific layers based on their type */\n ignoreLayersType?: KoaLayerType[];\n}\n"],"names":["KoaLayerType"],"mappings":";;AAWO,IAAK,YAAA,qBAAAA,aAAAA,KAAL;AACL,EAAAA,cAAA,QAAA,CAAA,GAAS,QAAA;AACT,EAAAA,cAAA,YAAA,CAAA,GAAa,YAAA;AAFH,EAAA,OAAAA,aAAAA;AAAA,CAAA,EAAA,YAAA,IAAA,EAAA;;;;"}
@@ -1,36 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const types = require('./types.js');
4
- const AttributeNames = require('./enums/AttributeNames.js');
5
- const attributes = require('@sentry/conventions/attributes');
6
-
7
- const getMiddlewareMetadata = (context, layer, isRouter, layerPath) => {
8
- if (isRouter) {
9
- return {
10
- attributes: {
11
- [AttributeNames.AttributeNames.KOA_NAME]: layerPath?.toString(),
12
- // TODO(v11): remove, replaced by http.route
13
- [AttributeNames.AttributeNames.KOA_TYPE]: types.KoaLayerType.ROUTER,
14
- [attributes.HTTP_ROUTE]: layerPath?.toString()
15
- },
16
- name: context._matchedRouteName || `router - ${layerPath}`
17
- };
18
- } else {
19
- return {
20
- attributes: {
21
- [AttributeNames.AttributeNames.KOA_NAME]: layer.name ?? "middleware",
22
- // TODO(v11): remove, replaced by code.function.name
23
- [AttributeNames.AttributeNames.KOA_TYPE]: types.KoaLayerType.MIDDLEWARE,
24
- [attributes.CODE_FUNCTION_NAME]: layer.name ?? "middleware"
25
- },
26
- name: `middleware - ${layer.name}`
27
- };
28
- }
29
- };
30
- const isLayerIgnored = (type, config) => {
31
- return !!(Array.isArray(config?.ignoreLayersType) && config?.ignoreLayersType?.includes(type));
32
- };
33
-
34
- exports.getMiddlewareMetadata = getMiddlewareMetadata;
35
- exports.isLayerIgnored = isLayerIgnored;
36
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../../../../src/integrations/tracing/koa/vendored/utils.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-koa\n * - Upstream version: @opentelemetry/instrumentation-koa@0.66.0\n */\n\nimport { KoaLayerType, type KoaInstrumentationConfig } from './types';\nimport type { KoaContext, KoaMiddleware } from './internal-types';\nimport { AttributeNames } from './enums/AttributeNames';\nimport type { Attributes } from '@opentelemetry/api';\nimport { CODE_FUNCTION_NAME, HTTP_ROUTE } from '@sentry/conventions/attributes';\n\nexport const getMiddlewareMetadata = (\n context: KoaContext,\n layer: KoaMiddleware,\n isRouter: boolean,\n layerPath?: string | RegExp,\n): {\n attributes: Attributes;\n name: string;\n} => {\n if (isRouter) {\n return {\n attributes: {\n [AttributeNames.KOA_NAME]: layerPath?.toString(), // TODO(v11): remove, replaced by http.route\n [AttributeNames.KOA_TYPE]: KoaLayerType.ROUTER,\n [HTTP_ROUTE]: layerPath?.toString(),\n },\n name: context._matchedRouteName || `router - ${layerPath}`,\n };\n } else {\n return {\n attributes: {\n [AttributeNames.KOA_NAME]: layer.name ?? 'middleware', // TODO(v11): remove, replaced by code.function.name\n [AttributeNames.KOA_TYPE]: KoaLayerType.MIDDLEWARE,\n [CODE_FUNCTION_NAME]: layer.name ?? 'middleware',\n },\n name: `middleware - ${layer.name}`,\n };\n }\n};\n\n/**\n * Check whether the given request is ignored by configuration\n * @param [list] List of ignore patterns\n * @param [onException] callback for doing something when an exception has\n * occurred\n */\nexport const isLayerIgnored = (type: KoaLayerType, config?: KoaInstrumentationConfig): boolean => {\n return !!(Array.isArray(config?.ignoreLayersType) && config?.ignoreLayersType?.includes(type));\n};\n"],"names":["AttributeNames","KoaLayerType","HTTP_ROUTE","CODE_FUNCTION_NAME"],"mappings":";;;;;;AAeO,MAAM,qBAAA,GAAwB,CACnC,OAAA,EACA,KAAA,EACA,UACA,SAAA,KAIG;AACH,EAAA,IAAI,QAAA,EAAU;AACZ,IAAA,OAAO;AAAA,MACL,UAAA,EAAY;AAAA,QACV,CAACA,6BAAA,CAAe,QAAQ,GAAG,WAAW,QAAA,EAAS;AAAA;AAAA,QAC/C,CAACA,6BAAA,CAAe,QAAQ,GAAGC,kBAAA,CAAa,MAAA;AAAA,QACxC,CAACC,qBAAU,GAAG,SAAA,EAAW,QAAA;AAAS,OACpC;AAAA,MACA,IAAA,EAAM,OAAA,CAAQ,iBAAA,IAAqB,CAAA,SAAA,EAAY,SAAS,CAAA;AAAA,KAC1D;AAAA,EACF,CAAA,MAAO;AACL,IAAA,OAAO;AAAA,MACL,UAAA,EAAY;AAAA,QACV,CAACF,6BAAA,CAAe,QAAQ,GAAG,MAAM,IAAA,IAAQ,YAAA;AAAA;AAAA,QACzC,CAACA,6BAAA,CAAe,QAAQ,GAAGC,kBAAA,CAAa,UAAA;AAAA,QACxC,CAACE,6BAAkB,GAAG,KAAA,CAAM,IAAA,IAAQ;AAAA,OACtC;AAAA,MACA,IAAA,EAAM,CAAA,aAAA,EAAgB,KAAA,CAAM,IAAI,CAAA;AAAA,KAClC;AAAA,EACF;AACF;AAQO,MAAM,cAAA,GAAiB,CAAC,IAAA,EAAoB,MAAA,KAA+C;AAChG,EAAA,OAAO,CAAC,EAAE,KAAA,CAAM,OAAA,CAAQ,MAAA,EAAQ,gBAAgB,CAAA,IAAK,MAAA,EAAQ,gBAAA,EAAkB,QAAA,CAAS,IAAI,CAAA,CAAA;AAC9F;;;;;"}
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
- const nodeCore = require('@sentry/node-core');
5
- const instrumentation = require('./instrumentation.js');
6
-
7
- const instrumentLangChain = nodeCore.generateInstrumentOnce(
8
- core.LANGCHAIN_INTEGRATION_NAME,
9
- (options) => new instrumentation.SentryLangChainInstrumentation(options)
10
- );
11
- const _langChainIntegration = ((options = {}) => {
12
- return {
13
- name: core.LANGCHAIN_INTEGRATION_NAME,
14
- setupOnce() {
15
- instrumentLangChain(options);
16
- }
17
- };
18
- });
19
- const langChainIntegration = core.defineIntegration(_langChainIntegration);
20
-
21
- exports.instrumentLangChain = instrumentLangChain;
22
- exports.langChainIntegration = langChainIntegration;
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/integrations/tracing/langchain/index.ts"],"sourcesContent":["import type { IntegrationFn, LangChainOptions } from '@sentry/core';\nimport { defineIntegration, LANGCHAIN_INTEGRATION_NAME } from '@sentry/core';\nimport { generateInstrumentOnce } from '@sentry/node-core';\nimport { SentryLangChainInstrumentation } from './instrumentation';\n\nexport const instrumentLangChain = generateInstrumentOnce<LangChainOptions>(\n LANGCHAIN_INTEGRATION_NAME,\n options => new SentryLangChainInstrumentation(options),\n);\n\nconst _langChainIntegration = ((options: LangChainOptions = {}) => {\n return {\n name: LANGCHAIN_INTEGRATION_NAME,\n setupOnce() {\n instrumentLangChain(options);\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Adds Sentry tracing instrumentation for LangChain.\n *\n * This integration is enabled by default.\n *\n * When configured, this integration automatically instruments LangChain runnable instances\n * to capture telemetry data by injecting Sentry callback handlers into all LangChain calls.\n *\n * **Important:** This integration automatically skips wrapping the OpenAI, Anthropic, and Google GenAI\n * providers to prevent duplicate spans when using LangChain with these AI providers.\n * LangChain handles the instrumentation for all underlying AI providers.\n *\n * @example\n * ```javascript\n * import * as Sentry from '@sentry/node';\n * import { ChatOpenAI } from '@langchain/openai';\n *\n * Sentry.init({\n * integrations: [Sentry.langChainIntegration()],\n * dataCollection: { genAI: { inputs: true, outputs: true } }, // Enable to record inputs/outputs\n * });\n *\n * // LangChain calls are automatically instrumented\n * const model = new ChatOpenAI();\n * await model.invoke(\"What is the capital of France?\");\n * ```\n *\n * ## Manual Callback Handler\n *\n * You can also manually add the Sentry callback handler alongside other callbacks:\n *\n * @example\n * ```javascript\n * import * as Sentry from '@sentry/node';\n * import { ChatOpenAI } from '@langchain/openai';\n *\n * const sentryHandler = Sentry.createLangChainCallbackHandler({\n * recordInputs: true,\n * recordOutputs: true\n * });\n *\n * const model = new ChatOpenAI();\n * await model.invoke(\n * \"What is the capital of France?\",\n * { callbacks: [sentryHandler, myOtherCallback] }\n * );\n * ```\n *\n * ## Options\n *\n * - `recordInputs`: Whether to record input messages/prompts (default: follows `dataCollection.genAI.inputs`, or the deprecated `sendDefaultPii` option)\n * - `recordOutputs`: Whether to record response text (default: follows `dataCollection.genAI.outputs`, or the deprecated `sendDefaultPii` option)\n *\n * ### Default Behavior\n *\n * By default, the integration will:\n * - Record inputs and outputs based on `dataCollection.genAI` in your Sentry client options\n * (or the deprecated `sendDefaultPii` option, for backwards compatibility)\n * - Integration-level `recordInputs`/`recordOutputs` options take precedence over global config\n *\n * @example\n * ```javascript\n * // Always record inputs and outputs regardless of global dataCollection config\n * Sentry.init({\n * integrations: [\n * Sentry.langChainIntegration({\n * recordInputs: true,\n * recordOutputs: true\n * })\n * ],\n * });\n *\n * // Never record inputs/outputs regardless of global dataCollection config\n * Sentry.init({\n * dataCollection: { genAI: { inputs: true, outputs: true } },\n * integrations: [\n * Sentry.langChainIntegration({\n * recordInputs: false,\n * recordOutputs: false\n * })\n * ],\n * });\n * ```\n *\n * ## Supported Events\n *\n * The integration captures the following LangChain lifecycle events:\n * - LLM/Chat Model: start, end, error (via callbacks)\n * - Chain: start, end, error (via callbacks)\n * - Tool: start, end, error (via callbacks)\n * - Embeddings: embedQuery, embedDocuments (via direct method wrapping)\n *\n */\nexport const langChainIntegration = defineIntegration(_langChainIntegration);\n"],"names":["generateInstrumentOnce","LANGCHAIN_INTEGRATION_NAME","SentryLangChainInstrumentation","defineIntegration"],"mappings":";;;;;;AAKO,MAAM,mBAAA,GAAsBA,+BAAA;AAAA,EACjCC,+BAAA;AAAA,EACA,CAAA,OAAA,KAAW,IAAIC,8CAAA,CAA+B,OAAO;AACvD;AAEA,MAAM,qBAAA,IAAyB,CAAC,OAAA,GAA4B,EAAC,KAAM;AACjE,EAAA,OAAO;AAAA,IACL,IAAA,EAAMD,+BAAA;AAAA,IACN,SAAA,GAAY;AACV,MAAA,mBAAA,CAAoB,OAAO,CAAA;AAAA,IAC7B;AAAA,GACF;AACF,CAAA,CAAA;AA+FO,MAAM,oBAAA,GAAuBE,uBAAkB,qBAAqB;;;;;"}
@@ -1,160 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const instrumentation = require('@opentelemetry/instrumentation');
4
- const InstrumentationNodeModuleFile = require('../InstrumentationNodeModuleFile.js');
5
- const core = require('@sentry/core');
6
-
7
- const supportedVersions = [">=0.1.0 <2.0.0"];
8
- function wrapRunnableMethod(originalMethod, sentryHandler, _methodName) {
9
- return new Proxy(originalMethod, {
10
- apply(target, thisArg, args) {
11
- const optionsIndex = 1;
12
- let options = args[optionsIndex];
13
- if (!options || typeof options !== "object" || Array.isArray(options)) {
14
- options = {};
15
- args[optionsIndex] = options;
16
- }
17
- options.callbacks = core._INTERNAL_mergeLangChainCallbackHandler(options.callbacks, sentryHandler);
18
- return Reflect.apply(target, thisArg, args);
19
- }
20
- });
21
- }
22
- class SentryLangChainInstrumentation extends instrumentation.InstrumentationBase {
23
- constructor(config = {}) {
24
- super("@sentry/instrumentation-langchain", core.SDK_VERSION, config);
25
- }
26
- /**
27
- * Initializes the instrumentation by defining the modules to be patched.
28
- * We patch the BaseChatModel class methods to inject callbacks
29
- *
30
- * We hook into provider packages (@langchain/anthropic, @langchain/openai, etc.)
31
- * because @langchain/core is often bundled and not loaded as a separate module
32
- */
33
- init() {
34
- const modules = [];
35
- const providerPackages = [
36
- "@langchain/anthropic",
37
- "@langchain/openai",
38
- "@langchain/google-genai",
39
- "@langchain/mistralai",
40
- "@langchain/google-vertexai",
41
- "@langchain/groq"
42
- ];
43
- for (const packageName of providerPackages) {
44
- modules.push(
45
- new instrumentation.InstrumentationNodeModuleDefinition(
46
- packageName,
47
- supportedVersions,
48
- this._patch.bind(this),
49
- (exports) => exports,
50
- [
51
- new InstrumentationNodeModuleFile.InstrumentationNodeModuleFile(
52
- `${packageName}/dist/index.cjs`,
53
- supportedVersions,
54
- this._patch.bind(this),
55
- (exports) => exports
56
- )
57
- ]
58
- )
59
- );
60
- }
61
- modules.push(
62
- new instrumentation.InstrumentationNodeModuleDefinition(
63
- "langchain",
64
- supportedVersions,
65
- this._patch.bind(this),
66
- (exports) => exports,
67
- [
68
- // To catch the CJS build that contains ConfigurableModel / initChatModel for v1
69
- new InstrumentationNodeModuleFile.InstrumentationNodeModuleFile(
70
- "langchain/dist/chat_models/universal.cjs",
71
- supportedVersions,
72
- this._patch.bind(this),
73
- (exports) => exports
74
- )
75
- ]
76
- )
77
- );
78
- return modules;
79
- }
80
- /**
81
- * Core patch logic - patches chat model and embedding methods
82
- * This is called when a LangChain provider package is loaded
83
- */
84
- _patch(exports) {
85
- core._INTERNAL_skipAiProviderWrapping([
86
- core.OPENAI_INTEGRATION_NAME,
87
- core.ANTHROPIC_AI_INTEGRATION_NAME,
88
- core.GOOGLE_GENAI_INTEGRATION_NAME
89
- ]);
90
- const config = this.getConfig();
91
- const sentryHandler = core.createLangChainCallbackHandler(config);
92
- this._patchRunnableMethods(exports, sentryHandler);
93
- this._patchEmbeddingsMethods(exports, config);
94
- return exports;
95
- }
96
- /**
97
- * Patches chat model methods (invoke, stream, batch) to inject Sentry callbacks
98
- * Finds a chat model class from the provider package exports and patches its prototype methods
99
- */
100
- _patchRunnableMethods(exports, sentryHandler) {
101
- const knownChatModelNames = [
102
- "ChatAnthropic",
103
- "ChatOpenAI",
104
- "ChatGoogleGenerativeAI",
105
- "ChatMistralAI",
106
- "ChatVertexAI",
107
- "ChatGroq",
108
- "ConfigurableModel"
109
- ];
110
- const exportsToPatch = exports.universal_exports ?? exports;
111
- const chatModelClass = Object.values(exportsToPatch).find((exp) => {
112
- return typeof exp === "function" && knownChatModelNames.includes(exp.name);
113
- });
114
- if (!chatModelClass) {
115
- return;
116
- }
117
- const targetProto = chatModelClass.prototype;
118
- if (targetProto.__sentry_patched__) {
119
- return;
120
- }
121
- targetProto.__sentry_patched__ = true;
122
- const methodsToPatch = ["invoke", "stream", "batch"];
123
- for (const methodName of methodsToPatch) {
124
- const method = targetProto[methodName];
125
- if (typeof method === "function") {
126
- targetProto[methodName] = wrapRunnableMethod(
127
- method,
128
- sentryHandler);
129
- }
130
- }
131
- }
132
- /**
133
- * Patches embedding class methods (embedQuery, embedDocuments) to create Sentry spans.
134
- *
135
- * Unlike chat models which use LangChain's callback system, the Embeddings base class
136
- * has no callback support. We wrap the methods directly on the prototype.
137
- *
138
- * Instruments any exported class whose prototype has both embedQuery and embedDocuments as functions.
139
- */
140
- _patchEmbeddingsMethods(exports, options) {
141
- const exportsToPatch = exports.universal_exports ?? exports;
142
- for (const exp of Object.values(exportsToPatch)) {
143
- if (typeof exp !== "function" || !exp.prototype) {
144
- continue;
145
- }
146
- const proto = exp.prototype;
147
- if (typeof proto.embedQuery !== "function" || typeof proto.embedDocuments !== "function") {
148
- continue;
149
- }
150
- if (proto.__sentry_patched__) {
151
- continue;
152
- }
153
- proto.__sentry_patched__ = true;
154
- core.instrumentLangChainEmbeddings(proto, options);
155
- }
156
- }
157
- }
158
-
159
- exports.SentryLangChainInstrumentation = SentryLangChainInstrumentation;
160
- //# sourceMappingURL=instrumentation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"instrumentation.js","sources":["../../../../../src/integrations/tracing/langchain/instrumentation.ts"],"sourcesContent":["import {\n InstrumentationBase,\n type InstrumentationConfig,\n type InstrumentationModuleDefinition,\n InstrumentationNodeModuleDefinition,\n} from '@opentelemetry/instrumentation';\nimport { InstrumentationNodeModuleFile } from '../InstrumentationNodeModuleFile';\nimport type { LangChainOptions } from '@sentry/core';\nimport {\n _INTERNAL_mergeLangChainCallbackHandler,\n _INTERNAL_skipAiProviderWrapping,\n ANTHROPIC_AI_INTEGRATION_NAME,\n createLangChainCallbackHandler,\n GOOGLE_GENAI_INTEGRATION_NAME,\n instrumentLangChainEmbeddings,\n OPENAI_INTEGRATION_NAME,\n SDK_VERSION,\n} from '@sentry/core';\n\nconst supportedVersions = ['>=0.1.0 <2.0.0'];\n\ntype LangChainInstrumentationOptions = InstrumentationConfig & LangChainOptions;\n\n/**\n * Represents the patched shape of LangChain provider package exports\n */\ninterface PatchedLangChainExports {\n [key: string]: unknown;\n}\n\n/**\n * Wraps Runnable methods (invoke, stream, batch) to inject Sentry callbacks at request time\n * Uses a Proxy to intercept method calls and augment the options.callbacks\n */\nfunction wrapRunnableMethod(\n originalMethod: (...args: unknown[]) => unknown,\n sentryHandler: unknown,\n _methodName: string,\n): (...args: unknown[]) => unknown {\n return new Proxy(originalMethod, {\n apply(target, thisArg, args: unknown[]): unknown {\n // LangChain Runnable method signatures:\n // invoke(input, options?) - options contains callbacks\n // stream(input, options?) - options contains callbacks\n // batch(inputs, options?) - options contains callbacks\n\n // Options is typically the second argument\n const optionsIndex = 1;\n let options = args[optionsIndex] as Record<string, unknown> | undefined;\n\n // If options don't exist or aren't an object, create them\n if (!options || typeof options !== 'object' || Array.isArray(options)) {\n options = {};\n args[optionsIndex] = options;\n }\n\n // Inject our callback handler into options.callbacks (request time callbacks)\n options.callbacks = _INTERNAL_mergeLangChainCallbackHandler(options.callbacks, sentryHandler);\n\n // Call original method with augmented options\n return Reflect.apply(target, thisArg, args);\n },\n }) as (...args: unknown[]) => unknown;\n}\n\n/**\n * Sentry LangChain instrumentation using OpenTelemetry.\n */\nexport class SentryLangChainInstrumentation extends InstrumentationBase<LangChainInstrumentationOptions> {\n public constructor(config: LangChainInstrumentationOptions = {}) {\n super('@sentry/instrumentation-langchain', SDK_VERSION, config);\n }\n\n /**\n * Initializes the instrumentation by defining the modules to be patched.\n * We patch the BaseChatModel class methods to inject callbacks\n *\n * We hook into provider packages (@langchain/anthropic, @langchain/openai, etc.)\n * because @langchain/core is often bundled and not loaded as a separate module\n */\n public init(): InstrumentationModuleDefinition | InstrumentationModuleDefinition[] {\n const modules: InstrumentationModuleDefinition[] = [];\n\n // Hook into common LangChain provider packages\n const providerPackages = [\n '@langchain/anthropic',\n '@langchain/openai',\n '@langchain/google-genai',\n '@langchain/mistralai',\n '@langchain/google-vertexai',\n '@langchain/groq',\n ];\n\n for (const packageName of providerPackages) {\n // In CJS, LangChain packages re-export from dist/index.cjs files.\n // Patching only the root module sometimes misses the real implementation or\n // gets overwritten when that file is loaded. We add a file-level patch so that\n // _patch runs again on the concrete implementation\n modules.push(\n new InstrumentationNodeModuleDefinition(\n packageName,\n supportedVersions,\n this._patch.bind(this),\n exports => exports,\n [\n new InstrumentationNodeModuleFile(\n `${packageName}/dist/index.cjs`,\n supportedVersions,\n this._patch.bind(this),\n exports => exports,\n ),\n ],\n ),\n );\n }\n\n // Hook into main 'langchain' package to catch initChatModel (v1+)\n modules.push(\n new InstrumentationNodeModuleDefinition(\n 'langchain',\n supportedVersions,\n this._patch.bind(this),\n exports => exports,\n [\n // To catch the CJS build that contains ConfigurableModel / initChatModel for v1\n new InstrumentationNodeModuleFile(\n 'langchain/dist/chat_models/universal.cjs',\n supportedVersions,\n this._patch.bind(this),\n exports => exports,\n ),\n ],\n ),\n );\n\n return modules;\n }\n\n /**\n * Core patch logic - patches chat model and embedding methods\n * This is called when a LangChain provider package is loaded\n */\n private _patch(exports: PatchedLangChainExports): PatchedLangChainExports | void {\n // Skip AI provider wrapping now that LangChain is actually being used\n // This prevents duplicate spans from Anthropic/OpenAI/GoogleGenAI standalone integrations\n _INTERNAL_skipAiProviderWrapping([\n OPENAI_INTEGRATION_NAME,\n ANTHROPIC_AI_INTEGRATION_NAME,\n GOOGLE_GENAI_INTEGRATION_NAME,\n ]);\n\n const config = this.getConfig();\n\n // Create a shared handler instance for chat model callbacks\n const sentryHandler = createLangChainCallbackHandler(config);\n\n // Patch Runnable methods to inject callbacks at request time\n // This directly manipulates options.callbacks that LangChain uses\n this._patchRunnableMethods(exports, sentryHandler);\n\n // Patch embedding methods to create spans directly\n // Embeddings don't use the callback system, so we wrap the methods themselves\n this._patchEmbeddingsMethods(exports, config);\n\n return exports;\n }\n\n /**\n * Patches chat model methods (invoke, stream, batch) to inject Sentry callbacks\n * Finds a chat model class from the provider package exports and patches its prototype methods\n */\n private _patchRunnableMethods(exports: PatchedLangChainExports, sentryHandler: unknown): void {\n // Known chat model class names for each provider\n const knownChatModelNames = [\n 'ChatAnthropic',\n 'ChatOpenAI',\n 'ChatGoogleGenerativeAI',\n 'ChatMistralAI',\n 'ChatVertexAI',\n 'ChatGroq',\n 'ConfigurableModel',\n ];\n\n const exportsToPatch = (exports.universal_exports ?? exports) as Record<string, unknown>;\n\n const chatModelClass = Object.values(exportsToPatch).find(exp => {\n return typeof exp === 'function' && knownChatModelNames.includes(exp.name);\n }) as { prototype: unknown; name: string } | undefined;\n\n if (!chatModelClass) {\n return;\n }\n\n // Patch directly on chatModelClass.prototype\n const targetProto = chatModelClass.prototype as Record<string, unknown>;\n\n // Skip if already patched (both file-level and module-level hooks resolve to the same prototype)\n if (targetProto.__sentry_patched__) {\n return;\n }\n targetProto.__sentry_patched__ = true;\n\n // Patch the methods (invoke, stream, batch)\n // All chat model instances will inherit these patched methods\n const methodsToPatch = ['invoke', 'stream', 'batch'] as const;\n\n for (const methodName of methodsToPatch) {\n const method = targetProto[methodName];\n if (typeof method === 'function') {\n targetProto[methodName] = wrapRunnableMethod(\n method as (...args: unknown[]) => unknown,\n sentryHandler,\n methodName,\n );\n }\n }\n }\n\n /**\n * Patches embedding class methods (embedQuery, embedDocuments) to create Sentry spans.\n *\n * Unlike chat models which use LangChain's callback system, the Embeddings base class\n * has no callback support. We wrap the methods directly on the prototype.\n *\n * Instruments any exported class whose prototype has both embedQuery and embedDocuments as functions.\n */\n private _patchEmbeddingsMethods(exports: PatchedLangChainExports, options: LangChainOptions): void {\n const exportsToPatch = (exports.universal_exports ?? exports) as Record<string, unknown>;\n\n for (const exp of Object.values(exportsToPatch)) {\n if (typeof exp !== 'function' || !exp.prototype) {\n continue;\n }\n const proto = exp.prototype as Record<string, unknown>;\n if (typeof proto.embedQuery !== 'function' || typeof proto.embedDocuments !== 'function') {\n continue;\n }\n if (proto.__sentry_patched__) {\n continue;\n }\n proto.__sentry_patched__ = true;\n\n instrumentLangChainEmbeddings(proto, options);\n }\n }\n}\n"],"names":["_INTERNAL_mergeLangChainCallbackHandler","InstrumentationBase","SDK_VERSION","InstrumentationNodeModuleDefinition","InstrumentationNodeModuleFile","_INTERNAL_skipAiProviderWrapping","OPENAI_INTEGRATION_NAME","ANTHROPIC_AI_INTEGRATION_NAME","GOOGLE_GENAI_INTEGRATION_NAME","createLangChainCallbackHandler","instrumentLangChainEmbeddings"],"mappings":";;;;;;AAmBA,MAAM,iBAAA,GAAoB,CAAC,gBAAgB,CAAA;AAe3C,SAAS,kBAAA,CACP,cAAA,EACA,aAAA,EACA,WAAA,EACiC;AACjC,EAAA,OAAO,IAAI,MAAM,cAAA,EAAgB;AAAA,IAC/B,KAAA,CAAM,MAAA,EAAQ,OAAA,EAAS,IAAA,EAA0B;AAO/C,MAAA,MAAM,YAAA,GAAe,CAAA;AACrB,MAAA,IAAI,OAAA,GAAU,KAAK,YAAY,CAAA;AAG/B,MAAA,IAAI,CAAC,WAAW,OAAO,OAAA,KAAY,YAAY,KAAA,CAAM,OAAA,CAAQ,OAAO,CAAA,EAAG;AACrE,QAAA,OAAA,GAAU,EAAC;AACX,QAAA,IAAA,CAAK,YAAY,CAAA,GAAI,OAAA;AAAA,MACvB;AAGA,MAAA,OAAA,CAAQ,SAAA,GAAYA,4CAAA,CAAwC,OAAA,CAAQ,SAAA,EAAW,aAAa,CA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