@depup/sentry__server-utils 10.75.1-depup.0 → 11.0.0-depup.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 (1857) hide show
  1. package/README.md +4 -4
  2. package/build/THIRD-PARTY-LICENSES.txt +35 -362
  3. package/build/cjs/ai/anthropic-ai/constants.js +13 -0
  4. package/build/cjs/ai/anthropic-ai/constants.js.map +1 -0
  5. package/build/cjs/ai/anthropic-ai/index.js +216 -0
  6. package/build/cjs/ai/anthropic-ai/index.js.map +1 -0
  7. package/build/cjs/ai/anthropic-ai/streaming.js +148 -0
  8. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -0
  9. package/build/cjs/ai/anthropic-ai/utils.js +62 -0
  10. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -0
  11. package/build/cjs/ai/core/gen-ai-attributes.js +14 -0
  12. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -0
  13. package/build/cjs/ai/core/utils.js +165 -0
  14. package/build/cjs/ai/core/utils.js.map +1 -0
  15. package/build/cjs/ai/flue/constants.js +20 -0
  16. package/build/cjs/ai/flue/constants.js.map +1 -0
  17. package/build/cjs/ai/flue/index.js +115 -0
  18. package/build/cjs/ai/flue/index.js.map +1 -0
  19. package/build/cjs/ai/flue/utils.js +202 -0
  20. package/build/cjs/ai/flue/utils.js.map +1 -0
  21. package/build/cjs/ai/google-genai/constants.js +17 -0
  22. package/build/cjs/ai/google-genai/constants.js.map +1 -0
  23. package/build/cjs/ai/google-genai/index.js +262 -0
  24. package/build/cjs/ai/google-genai/index.js.map +1 -0
  25. package/build/cjs/ai/google-genai/streaming.js +79 -0
  26. package/build/cjs/ai/google-genai/streaming.js.map +1 -0
  27. package/build/cjs/ai/google-genai/utils.js +131 -0
  28. package/build/cjs/ai/google-genai/utils.js.map +1 -0
  29. package/build/cjs/ai/langchain/constants.js +17 -0
  30. package/build/cjs/ai/langchain/constants.js.map +1 -0
  31. package/build/cjs/ai/langchain/embeddings.js +82 -0
  32. package/build/cjs/ai/langchain/embeddings.js.map +1 -0
  33. package/build/cjs/ai/langchain/index.js +246 -0
  34. package/build/cjs/ai/langchain/index.js.map +1 -0
  35. package/build/cjs/ai/langchain/utils.js +272 -0
  36. package/build/cjs/ai/langchain/utils.js.map +1 -0
  37. package/build/cjs/ai/langgraph/constants.js +8 -0
  38. package/build/cjs/ai/langgraph/constants.js.map +1 -0
  39. package/build/cjs/ai/langgraph/index.js +170 -0
  40. package/build/cjs/ai/langgraph/index.js.map +1 -0
  41. package/build/cjs/ai/langgraph/utils.js +225 -0
  42. package/build/cjs/ai/langgraph/utils.js.map +1 -0
  43. package/build/cjs/ai/mastra/constants.js +40 -0
  44. package/build/cjs/ai/mastra/constants.js.map +1 -0
  45. package/build/cjs/ai/mastra/index.js +176 -0
  46. package/build/cjs/ai/mastra/index.js.map +1 -0
  47. package/build/cjs/ai/mastra/span-registry.js +20 -0
  48. package/build/cjs/ai/mastra/span-registry.js.map +1 -0
  49. package/build/cjs/ai/mastra/utils.js +159 -0
  50. package/build/cjs/ai/mastra/utils.js.map +1 -0
  51. package/build/cjs/ai/mistral/constants.js +20 -0
  52. package/build/cjs/ai/mistral/constants.js.map +1 -0
  53. package/build/cjs/ai/mistral/index.js +130 -0
  54. package/build/cjs/ai/mistral/index.js.map +1 -0
  55. package/build/cjs/ai/mistral/streaming.js +208 -0
  56. package/build/cjs/ai/mistral/streaming.js.map +1 -0
  57. package/build/cjs/ai/mistral/utils.js +87 -0
  58. package/build/cjs/ai/mistral/utils.js.map +1 -0
  59. package/build/cjs/ai/openai/constants.js +33 -0
  60. package/build/cjs/ai/openai/constants.js.map +1 -0
  61. package/build/cjs/ai/openai/index.js +156 -0
  62. package/build/cjs/ai/openai/index.js.map +1 -0
  63. package/build/cjs/ai/openai/streaming.js +126 -0
  64. package/build/cjs/ai/openai/streaming.js.map +1 -0
  65. package/build/cjs/ai/openai/utils.js +111 -0
  66. package/build/cjs/ai/openai/utils.js.map +1 -0
  67. package/build/cjs/ai/vercel-ai/index.js +71 -0
  68. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  69. package/build/cjs/ai/workers-ai/constants.js +10 -0
  70. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  71. package/build/cjs/ai/workers-ai/index.js +85 -0
  72. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  73. package/build/cjs/ai/workers-ai/streaming.js +149 -0
  74. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  75. package/build/cjs/ai/workers-ai/utils.js +113 -0
  76. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  77. package/build/cjs/async-context.js +68 -0
  78. package/build/cjs/async-context.js.map +1 -0
  79. package/build/cjs/eve.js +30 -0
  80. package/build/cjs/eve.js.map +1 -0
  81. package/build/cjs/index.js +122 -27
  82. package/build/cjs/index.js.map +1 -1
  83. package/build/cjs/index.no-diagnostic-channels.js +41 -0
  84. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  85. package/build/cjs/integrations/amqplib.js +402 -0
  86. package/build/cjs/integrations/amqplib.js.map +1 -0
  87. package/build/cjs/integrations/anthropic.js +113 -0
  88. package/build/cjs/integrations/anthropic.js.map +1 -0
  89. package/build/cjs/integrations/aws-sdk/constants.js +16 -0
  90. package/build/cjs/integrations/aws-sdk/constants.js.map +1 -0
  91. package/build/cjs/integrations/aws-sdk/index.js +154 -0
  92. package/build/cjs/integrations/aws-sdk/index.js.map +1 -0
  93. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js +46 -0
  94. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  95. package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  96. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +424 -0
  97. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  98. package/build/cjs/integrations/aws-sdk/services/dynamodb.js +130 -0
  99. package/build/cjs/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  100. package/build/cjs/integrations/aws-sdk/services/kinesis.js +19 -0
  101. package/build/cjs/integrations/aws-sdk/services/kinesis.js.map +1 -0
  102. package/build/cjs/integrations/aws-sdk/services/lambda.js +63 -0
  103. package/build/cjs/integrations/aws-sdk/services/lambda.js.map +1 -0
  104. package/build/cjs/integrations/aws-sdk/services/s3.js +19 -0
  105. package/build/cjs/integrations/aws-sdk/services/s3.js.map +1 -0
  106. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js +25 -0
  107. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  108. package/build/cjs/integrations/aws-sdk/services/sns.js +79 -0
  109. package/build/cjs/integrations/aws-sdk/services/sns.js.map +1 -0
  110. package/build/cjs/integrations/aws-sdk/services/sqs.js +135 -0
  111. package/build/cjs/integrations/aws-sdk/services/sqs.js.map +1 -0
  112. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js +23 -0
  113. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  114. package/build/cjs/integrations/aws-sdk/utils.js.map +1 -0
  115. package/build/cjs/integrations/dataloader.js +134 -0
  116. package/build/cjs/integrations/dataloader.js.map +1 -0
  117. package/build/cjs/integrations/express/error-handled.js +17 -0
  118. package/build/cjs/integrations/express/error-handled.js.map +1 -0
  119. package/build/cjs/integrations/express/error-handler.js +43 -0
  120. package/build/cjs/integrations/express/error-handler.js.map +1 -0
  121. package/build/cjs/integrations/express/index.js +37 -0
  122. package/build/cjs/integrations/express/index.js.map +1 -0
  123. package/build/cjs/integrations/express/instrumentation.js +200 -0
  124. package/build/cjs/integrations/express/instrumentation.js.map +1 -0
  125. package/build/cjs/integrations/express/route.js.map +1 -0
  126. package/build/cjs/integrations/express/utils.js +12 -0
  127. package/build/cjs/integrations/express/utils.js.map +1 -0
  128. package/build/cjs/integrations/fastify/errors.js +49 -0
  129. package/build/cjs/integrations/fastify/errors.js.map +1 -0
  130. package/build/cjs/integrations/fastify/index.js +28 -0
  131. package/build/cjs/integrations/fastify/index.js.map +1 -0
  132. package/build/cjs/integrations/fastify/instrumentation.js +265 -0
  133. package/build/cjs/integrations/fastify/instrumentation.js.map +1 -0
  134. package/build/cjs/integrations/fastify/utils.js.map +1 -0
  135. package/build/cjs/integrations/firebase/firestore.js +92 -0
  136. package/build/cjs/integrations/firebase/firestore.js.map +1 -0
  137. package/build/cjs/integrations/firebase/functions.js +79 -0
  138. package/build/cjs/integrations/firebase/functions.js.map +1 -0
  139. package/build/cjs/integrations/firebase/index.js +20 -0
  140. package/build/cjs/integrations/firebase/index.js.map +1 -0
  141. package/build/cjs/integrations/firebase/instrumentation.js +69 -0
  142. package/build/cjs/integrations/firebase/instrumentation.js.map +1 -0
  143. package/build/cjs/integrations/flue.js +40 -0
  144. package/build/cjs/integrations/flue.js.map +1 -0
  145. package/build/cjs/integrations/generic-pool.js +49 -0
  146. package/build/cjs/integrations/generic-pool.js.map +1 -0
  147. package/build/cjs/integrations/google-genai.js +112 -0
  148. package/build/cjs/integrations/google-genai.js.map +1 -0
  149. package/build/cjs/integrations/graphql/constants.js +38 -0
  150. package/build/cjs/integrations/graphql/constants.js.map +1 -0
  151. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +122 -0
  152. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  153. package/build/cjs/integrations/graphql/index.js +73 -0
  154. package/build/cjs/integrations/graphql/index.js.map +1 -0
  155. package/build/cjs/integrations/graphql/resolvers.js +174 -0
  156. package/build/cjs/integrations/graphql/resolvers.js.map +1 -0
  157. package/build/cjs/integrations/graphql/spans.js +114 -0
  158. package/build/cjs/integrations/graphql/spans.js.map +1 -0
  159. package/build/cjs/integrations/graphql/utils.js +98 -0
  160. package/build/cjs/integrations/graphql/utils.js.map +1 -0
  161. package/build/cjs/integrations/groq.js +21 -0
  162. package/build/cjs/integrations/groq.js.map +1 -0
  163. package/build/cjs/integrations/hapi/hapi-error-handler.js +46 -0
  164. package/build/cjs/integrations/hapi/hapi-error-handler.js.map +1 -0
  165. package/build/cjs/integrations/hapi/hapi-types.js.map +1 -0
  166. package/build/cjs/integrations/hapi/hapi-utils.js +197 -0
  167. package/build/cjs/integrations/hapi/hapi-utils.js.map +1 -0
  168. package/build/cjs/integrations/hapi/index.js +86 -0
  169. package/build/cjs/integrations/hapi/index.js.map +1 -0
  170. package/build/cjs/integrations/index.js +76 -0
  171. package/build/cjs/integrations/index.js.map +1 -0
  172. package/build/cjs/integrations/kafkajs/consumer.js.map +1 -0
  173. package/build/cjs/integrations/kafkajs/index.js +83 -0
  174. package/build/cjs/integrations/kafkajs/index.js.map +1 -0
  175. package/build/cjs/integrations/kafkajs/semconv.js.map +1 -0
  176. package/build/cjs/integrations/kafkajs/spans.js +127 -0
  177. package/build/cjs/integrations/kafkajs/spans.js.map +1 -0
  178. package/build/cjs/integrations/knex.js +230 -0
  179. package/build/cjs/integrations/knex.js.map +1 -0
  180. package/build/cjs/integrations/koa/index.js +168 -0
  181. package/build/cjs/integrations/koa/index.js.map +1 -0
  182. package/build/cjs/integrations/koa/koa-error-handler.js +33 -0
  183. package/build/cjs/integrations/koa/koa-error-handler.js.map +1 -0
  184. package/build/cjs/integrations/langchain.js +90 -0
  185. package/build/cjs/integrations/langchain.js.map +1 -0
  186. package/build/cjs/integrations/langgraph.js +100 -0
  187. package/build/cjs/integrations/langgraph.js.map +1 -0
  188. package/build/cjs/integrations/lru-memoizer.js +42 -0
  189. package/build/cjs/integrations/lru-memoizer.js.map +1 -0
  190. package/build/cjs/integrations/mastra.js +258 -0
  191. package/build/cjs/integrations/mastra.js.map +1 -0
  192. package/build/cjs/integrations/mistral.js +81 -0
  193. package/build/cjs/integrations/mistral.js.map +1 -0
  194. package/build/cjs/integrations/mongodb/index.js +117 -0
  195. package/build/cjs/integrations/mongodb/index.js.map +1 -0
  196. package/build/cjs/integrations/mongodb/mongodb-span.js +134 -0
  197. package/build/cjs/integrations/mongodb/mongodb-span.js.map +1 -0
  198. package/build/cjs/integrations/mongoose/index.js +122 -0
  199. package/build/cjs/integrations/mongoose/index.js.map +1 -0
  200. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js +101 -0
  201. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  202. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js +41 -0
  203. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  204. package/build/cjs/integrations/mysql.js +120 -0
  205. package/build/cjs/integrations/mysql.js.map +1 -0
  206. package/build/cjs/integrations/mysql2/index.js +104 -0
  207. package/build/cjs/integrations/mysql2/index.js.map +1 -0
  208. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +73 -0
  209. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  210. package/build/cjs/integrations/openai-compatible.js +94 -0
  211. package/build/cjs/integrations/openai-compatible.js.map +1 -0
  212. package/build/cjs/integrations/openai.js +95 -0
  213. package/build/cjs/integrations/openai.js.map +1 -0
  214. package/build/cjs/integrations/postgres-js.js +213 -0
  215. package/build/cjs/integrations/postgres-js.js.map +1 -0
  216. package/build/cjs/integrations/postgres.js +185 -0
  217. package/build/cjs/integrations/postgres.js.map +1 -0
  218. package/build/cjs/integrations/postgresjs.js +226 -0
  219. package/build/cjs/integrations/postgresjs.js.map +1 -0
  220. package/build/cjs/integrations/prisma/global.js.map +1 -0
  221. package/build/cjs/integrations/prisma/index.js.map +1 -0
  222. package/build/cjs/integrations/prisma/tracing-helper.js +238 -0
  223. package/build/cjs/integrations/prisma/tracing-helper.js.map +1 -0
  224. package/build/cjs/integrations/redis/index.js +234 -0
  225. package/build/cjs/integrations/redis/index.js.map +1 -0
  226. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +104 -0
  227. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  228. package/build/cjs/integrations/redis/redis-cache.js +144 -0
  229. package/build/cjs/integrations/redis/redis-cache.js.map +1 -0
  230. package/build/cjs/integrations/redis/redis-dc-subscriber.js +107 -0
  231. package/build/cjs/integrations/redis/redis-dc-subscriber.js.map +1 -0
  232. package/build/cjs/integrations/redis/redis-span-name.js +32 -0
  233. package/build/cjs/integrations/redis/redis-span-name.js.map +1 -0
  234. package/build/cjs/integrations/redis/redis-statement-serializer.js.map +1 -0
  235. package/build/cjs/integrations/tedious.js +170 -0
  236. package/build/cjs/integrations/tedious.js.map +1 -0
  237. package/build/cjs/integrations/together-ai.js +19 -0
  238. package/build/cjs/integrations/together-ai.js.map +1 -0
  239. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js +13 -0
  240. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  241. package/build/cjs/integrations/vercel-ai/index.js +45 -0
  242. package/build/cjs/integrations/vercel-ai/index.js.map +1 -0
  243. package/build/cjs/integrations/vercel-ai/util.js +108 -0
  244. package/build/cjs/integrations/vercel-ai/util.js.map +1 -0
  245. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +482 -0
  246. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  247. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +400 -0
  248. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  249. package/build/cjs/opentelemetry.js +45 -0
  250. package/build/cjs/opentelemetry.js.map +1 -0
  251. package/build/cjs/orchestrion/bundler/bun.js +37 -0
  252. package/build/cjs/orchestrion/bundler/bun.js.map +1 -0
  253. package/build/cjs/orchestrion/bundler/esbuild.js +20 -0
  254. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  255. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +55 -0
  256. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  257. package/build/cjs/orchestrion/bundler/options.js +7 -20
  258. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  259. package/build/cjs/orchestrion/bundler/resolve.js +27 -0
  260. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  261. package/build/cjs/orchestrion/bundler/rollup.js +40 -1
  262. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  263. package/build/cjs/orchestrion/bundler/vite.js +66 -3
  264. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  265. package/build/cjs/orchestrion/bundler/webpack-loader.js +16 -2
  266. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -1
  267. package/build/cjs/orchestrion/bundler/webpack.js +36 -29
  268. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  269. package/build/cjs/orchestrion/channels.js +8 -0
  270. package/build/cjs/orchestrion/channels.js.map +1 -1
  271. package/build/cjs/orchestrion/config/amqplib.js +3 -3
  272. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  273. package/build/cjs/orchestrion/config/anthropic-ai.js +8 -16
  274. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  275. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  276. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  277. package/build/cjs/orchestrion/config/channel-integration-definitions.js +40 -18
  278. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  279. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  280. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  281. package/build/cjs/orchestrion/config/express.js +4 -4
  282. package/build/cjs/orchestrion/config/express.js.map +1 -1
  283. package/build/cjs/orchestrion/config/firebase.js +3 -3
  284. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  285. package/build/cjs/orchestrion/config/flue.js +10 -0
  286. package/build/cjs/orchestrion/config/flue.js.map +1 -0
  287. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  288. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  289. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  290. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  291. package/build/cjs/orchestrion/config/graphql.js +12 -12
  292. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  293. package/build/cjs/orchestrion/config/groq.js +19 -0
  294. package/build/cjs/orchestrion/config/groq.js.map +1 -0
  295. package/build/cjs/orchestrion/config/hapi.js +22 -4
  296. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  297. package/build/cjs/orchestrion/config/index.js +20 -32
  298. package/build/cjs/orchestrion/config/index.js.map +1 -1
  299. package/build/cjs/orchestrion/config/ioredis.js +5 -3
  300. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  301. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  302. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  303. package/build/cjs/orchestrion/config/knex.js +0 -4
  304. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  305. package/build/cjs/orchestrion/config/koa.js +16 -4
  306. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  307. package/build/cjs/orchestrion/config/langchain.js +3 -3
  308. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  309. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  310. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  311. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  312. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  313. package/build/cjs/orchestrion/config/mastra.js +38 -0
  314. package/build/cjs/orchestrion/config/mastra.js.map +1 -0
  315. package/build/cjs/orchestrion/config/mistral.js +57 -0
  316. package/build/cjs/orchestrion/config/mistral.js.map +1 -0
  317. package/build/cjs/orchestrion/config/module-names.js +8 -0
  318. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  319. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  320. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  321. package/build/cjs/orchestrion/config/mongoose.js +5 -3
  322. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  323. package/build/cjs/orchestrion/config/mysql.js +3 -3
  324. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  325. package/build/cjs/orchestrion/config/mysql2.js +5 -3
  326. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  327. package/build/cjs/orchestrion/config/nestjs.js +4 -8
  328. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  329. package/build/cjs/orchestrion/config/openai-compatible.js +19 -0
  330. package/build/cjs/orchestrion/config/openai-compatible.js.map +1 -0
  331. package/build/cjs/orchestrion/config/openai.js +3 -3
  332. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  333. package/build/cjs/orchestrion/config/pg.js +3 -3
  334. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  335. package/build/cjs/orchestrion/config/postgres.js +3 -3
  336. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  337. package/build/cjs/orchestrion/config/redis.js +5 -3
  338. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  339. package/build/cjs/orchestrion/config/registration-only.js +15 -0
  340. package/build/cjs/orchestrion/config/registration-only.js.map +1 -0
  341. package/build/cjs/orchestrion/config/remix.js +0 -4
  342. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  343. package/build/cjs/orchestrion/config/tedious.js +3 -3
  344. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  345. package/build/cjs/orchestrion/config/together-ai.js +19 -0
  346. package/build/cjs/orchestrion/config/together-ai.js.map +1 -0
  347. package/build/cjs/orchestrion/config/vercel-ai.js +7 -3
  348. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  349. package/build/cjs/orchestrion/detect.js +7 -4
  350. package/build/cjs/orchestrion/detect.js.map +1 -1
  351. package/build/cjs/orchestrion/instrumentation.js +86 -0
  352. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  353. package/build/cjs/tracing-channel.js +20 -1
  354. package/build/cjs/tracing-channel.js.map +1 -1
  355. package/build/cjs/utils/moduleInjected.js +18 -0
  356. package/build/cjs/utils/moduleInjected.js.map +1 -0
  357. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  358. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  359. package/build/cjs/utils/sql.js +236 -0
  360. package/build/cjs/utils/sql.js.map +1 -0
  361. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  362. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  363. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +5 -3
  364. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  365. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  366. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  367. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +65 -0
  368. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  369. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  370. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  371. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +4 -4
  372. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
  373. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -0
  374. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  375. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  376. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  377. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  378. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  379. package/build/cjs/vendored/module-details-from-path/index.js +2 -3
  380. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -1
  381. package/build/esm/ai/anthropic-ai/constants.js +10 -0
  382. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  383. package/build/esm/ai/anthropic-ai/index.js +211 -0
  384. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  385. package/build/esm/ai/anthropic-ai/streaming.js +145 -0
  386. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  387. package/build/esm/ai/anthropic-ai/utils.js +57 -0
  388. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  389. package/build/esm/ai/core/gen-ai-attributes.js +8 -0
  390. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  391. package/build/esm/ai/core/utils.js +155 -0
  392. package/build/esm/ai/core/utils.js.map +1 -0
  393. package/build/esm/ai/flue/constants.js +13 -0
  394. package/build/esm/ai/flue/constants.js.map +1 -0
  395. package/build/esm/ai/flue/index.js +113 -0
  396. package/build/esm/ai/flue/index.js.map +1 -0
  397. package/build/esm/ai/flue/utils.js +193 -0
  398. package/build/esm/ai/flue/utils.js.map +1 -0
  399. package/build/esm/ai/google-genai/constants.js +13 -0
  400. package/build/esm/ai/google-genai/constants.js.map +1 -0
  401. package/build/esm/ai/google-genai/index.js +255 -0
  402. package/build/esm/ai/google-genai/index.js.map +1 -0
  403. package/build/esm/ai/google-genai/streaming.js +77 -0
  404. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  405. package/build/esm/ai/google-genai/utils.js +125 -0
  406. package/build/esm/ai/google-genai/utils.js.map +1 -0
  407. package/build/esm/ai/langchain/constants.js +13 -0
  408. package/build/esm/ai/langchain/constants.js.map +1 -0
  409. package/build/esm/ai/langchain/embeddings.js +78 -0
  410. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  411. package/build/esm/ai/langchain/index.js +244 -0
  412. package/build/esm/ai/langchain/index.js.map +1 -0
  413. package/build/esm/ai/langchain/utils.js +263 -0
  414. package/build/esm/ai/langchain/utils.js.map +1 -0
  415. package/build/esm/ai/langgraph/constants.js +5 -0
  416. package/build/esm/ai/langgraph/constants.js.map +1 -0
  417. package/build/esm/ai/langgraph/index.js +165 -0
  418. package/build/esm/ai/langgraph/index.js.map +1 -0
  419. package/build/esm/ai/langgraph/utils.js +216 -0
  420. package/build/esm/ai/langgraph/utils.js.map +1 -0
  421. package/build/esm/ai/mastra/constants.js +29 -0
  422. package/build/esm/ai/mastra/constants.js.map +1 -0
  423. package/build/esm/ai/mastra/index.js +174 -0
  424. package/build/esm/ai/mastra/index.js.map +1 -0
  425. package/build/esm/ai/mastra/span-registry.js +16 -0
  426. package/build/esm/ai/mastra/span-registry.js.map +1 -0
  427. package/build/esm/ai/mastra/utils.js +152 -0
  428. package/build/esm/ai/mastra/utils.js.map +1 -0
  429. package/build/esm/ai/mistral/constants.js +15 -0
  430. package/build/esm/ai/mistral/constants.js.map +1 -0
  431. package/build/esm/ai/mistral/index.js +126 -0
  432. package/build/esm/ai/mistral/index.js.map +1 -0
  433. package/build/esm/ai/mistral/streaming.js +205 -0
  434. package/build/esm/ai/mistral/streaming.js.map +1 -0
  435. package/build/esm/ai/mistral/utils.js +82 -0
  436. package/build/esm/ai/mistral/utils.js.map +1 -0
  437. package/build/esm/ai/openai/constants.js +28 -0
  438. package/build/esm/ai/openai/constants.js.map +1 -0
  439. package/build/esm/ai/openai/index.js +152 -0
  440. package/build/esm/ai/openai/index.js.map +1 -0
  441. package/build/esm/ai/openai/streaming.js +124 -0
  442. package/build/esm/ai/openai/streaming.js.map +1 -0
  443. package/build/esm/ai/openai/utils.js +106 -0
  444. package/build/esm/ai/openai/utils.js.map +1 -0
  445. package/build/esm/ai/vercel-ai/index.js +68 -0
  446. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  447. package/build/esm/ai/workers-ai/constants.js +6 -0
  448. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  449. package/build/esm/ai/workers-ai/index.js +83 -0
  450. package/build/esm/ai/workers-ai/index.js.map +1 -0
  451. package/build/esm/ai/workers-ai/streaming.js +147 -0
  452. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  453. package/build/esm/ai/workers-ai/utils.js +106 -0
  454. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  455. package/build/esm/async-context.js +66 -0
  456. package/build/esm/async-context.js.map +1 -0
  457. package/build/esm/eve.js +27 -0
  458. package/build/esm/eve.js.map +1 -0
  459. package/build/esm/index.js +60 -10
  460. package/build/esm/index.js.map +1 -1
  461. package/build/esm/index.no-diagnostic-channels.js +16 -0
  462. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  463. package/build/esm/integrations/amqplib.js +386 -0
  464. package/build/esm/integrations/amqplib.js.map +1 -0
  465. package/build/esm/integrations/anthropic.js +98 -0
  466. package/build/esm/integrations/anthropic.js.map +1 -0
  467. package/build/esm/integrations/aws-sdk/constants.js +9 -0
  468. package/build/esm/integrations/aws-sdk/constants.js.map +1 -0
  469. package/build/esm/integrations/aws-sdk/index.js +139 -0
  470. package/build/esm/integrations/aws-sdk/index.js.map +1 -0
  471. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +41 -0
  472. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  473. package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  474. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +422 -0
  475. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  476. package/build/esm/integrations/aws-sdk/services/dynamodb.js +128 -0
  477. package/build/esm/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  478. package/build/esm/integrations/aws-sdk/services/kinesis.js +17 -0
  479. package/build/esm/integrations/aws-sdk/services/kinesis.js.map +1 -0
  480. package/build/esm/integrations/aws-sdk/services/lambda.js +61 -0
  481. package/build/esm/integrations/aws-sdk/services/lambda.js.map +1 -0
  482. package/build/esm/integrations/aws-sdk/services/s3.js +17 -0
  483. package/build/esm/integrations/aws-sdk/services/s3.js.map +1 -0
  484. package/build/esm/integrations/aws-sdk/services/secretsmanager.js +23 -0
  485. package/build/esm/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  486. package/build/esm/integrations/aws-sdk/services/sns.js +77 -0
  487. package/build/esm/integrations/aws-sdk/services/sns.js.map +1 -0
  488. package/build/esm/integrations/aws-sdk/services/sqs.js +133 -0
  489. package/build/esm/integrations/aws-sdk/services/sqs.js.map +1 -0
  490. package/build/esm/integrations/aws-sdk/services/stepfunctions.js +21 -0
  491. package/build/esm/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  492. package/build/esm/integrations/aws-sdk/utils.js.map +1 -0
  493. package/build/esm/integrations/dataloader.js +119 -0
  494. package/build/esm/integrations/dataloader.js.map +1 -0
  495. package/build/esm/integrations/express/error-handled.js +14 -0
  496. package/build/esm/integrations/express/error-handled.js.map +1 -0
  497. package/build/esm/integrations/express/error-handler.js +40 -0
  498. package/build/esm/integrations/express/error-handler.js.map +1 -0
  499. package/build/esm/integrations/express/index.js +22 -0
  500. package/build/esm/integrations/express/index.js.map +1 -0
  501. package/build/esm/integrations/express/instrumentation.js +197 -0
  502. package/build/esm/integrations/express/instrumentation.js.map +1 -0
  503. package/build/esm/integrations/express/route.js.map +1 -0
  504. package/build/esm/integrations/express/utils.js +10 -0
  505. package/build/esm/integrations/express/utils.js.map +1 -0
  506. package/build/esm/integrations/fastify/errors.js +33 -0
  507. package/build/esm/integrations/fastify/errors.js.map +1 -0
  508. package/build/esm/integrations/fastify/index.js +25 -0
  509. package/build/esm/integrations/fastify/index.js.map +1 -0
  510. package/build/esm/integrations/fastify/instrumentation.js +250 -0
  511. package/build/esm/integrations/fastify/instrumentation.js.map +1 -0
  512. package/build/esm/integrations/fastify/utils.js.map +1 -0
  513. package/build/esm/integrations/firebase/firestore.js +76 -0
  514. package/build/esm/integrations/firebase/firestore.js.map +1 -0
  515. package/build/esm/integrations/firebase/functions.js +77 -0
  516. package/build/esm/integrations/firebase/functions.js.map +1 -0
  517. package/build/esm/integrations/firebase/index.js +18 -0
  518. package/build/esm/integrations/firebase/index.js.map +1 -0
  519. package/build/esm/integrations/firebase/instrumentation.js +54 -0
  520. package/build/esm/integrations/firebase/instrumentation.js.map +1 -0
  521. package/build/esm/integrations/flue.js +38 -0
  522. package/build/esm/integrations/flue.js.map +1 -0
  523. package/build/esm/integrations/generic-pool.js +34 -0
  524. package/build/esm/integrations/generic-pool.js.map +1 -0
  525. package/build/esm/integrations/google-genai.js +97 -0
  526. package/build/esm/integrations/google-genai.js.map +1 -0
  527. package/build/esm/integrations/graphql/constants.js +20 -0
  528. package/build/esm/integrations/graphql/constants.js.map +1 -0
  529. package/build/esm/integrations/graphql/graphql-dc-subscriber.js +115 -0
  530. package/build/esm/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  531. package/build/esm/integrations/graphql/index.js +58 -0
  532. package/build/esm/integrations/graphql/index.js.map +1 -0
  533. package/build/esm/integrations/graphql/resolvers.js +170 -0
  534. package/build/esm/integrations/graphql/resolvers.js.map +1 -0
  535. package/build/esm/integrations/graphql/spans.js +108 -0
  536. package/build/esm/integrations/graphql/spans.js.map +1 -0
  537. package/build/esm/integrations/graphql/utils.js +93 -0
  538. package/build/esm/integrations/graphql/utils.js.map +1 -0
  539. package/build/esm/integrations/groq.js +18 -0
  540. package/build/esm/integrations/groq.js.map +1 -0
  541. package/build/esm/integrations/hapi/hapi-error-handler.js +44 -0
  542. package/build/esm/integrations/hapi/hapi-error-handler.js.map +1 -0
  543. package/build/esm/integrations/hapi/hapi-types.js.map +1 -0
  544. package/build/esm/integrations/hapi/hapi-utils.js +191 -0
  545. package/build/esm/integrations/hapi/hapi-utils.js.map +1 -0
  546. package/build/esm/integrations/hapi/index.js +71 -0
  547. package/build/esm/integrations/hapi/index.js.map +1 -0
  548. package/build/esm/integrations/index.js +73 -0
  549. package/build/esm/integrations/index.js.map +1 -0
  550. package/build/esm/integrations/kafkajs/consumer.js.map +1 -0
  551. package/build/esm/integrations/kafkajs/index.js +68 -0
  552. package/build/esm/integrations/kafkajs/index.js.map +1 -0
  553. package/build/esm/integrations/kafkajs/semconv.js.map +1 -0
  554. package/build/esm/integrations/kafkajs/spans.js +120 -0
  555. package/build/esm/integrations/kafkajs/spans.js.map +1 -0
  556. package/build/esm/integrations/knex.js +215 -0
  557. package/build/esm/integrations/knex.js.map +1 -0
  558. package/build/esm/integrations/koa/index.js +153 -0
  559. package/build/esm/integrations/koa/index.js.map +1 -0
  560. package/build/esm/integrations/koa/koa-error-handler.js +30 -0
  561. package/build/esm/integrations/koa/koa-error-handler.js.map +1 -0
  562. package/build/esm/integrations/langchain.js +75 -0
  563. package/build/esm/integrations/langchain.js.map +1 -0
  564. package/build/esm/integrations/langgraph.js +85 -0
  565. package/build/esm/integrations/langgraph.js.map +1 -0
  566. package/build/esm/integrations/lru-memoizer.js +27 -0
  567. package/build/esm/integrations/lru-memoizer.js.map +1 -0
  568. package/build/esm/integrations/mastra.js +243 -0
  569. package/build/esm/integrations/mastra.js.map +1 -0
  570. package/build/esm/integrations/mistral.js +66 -0
  571. package/build/esm/integrations/mistral.js.map +1 -0
  572. package/build/esm/integrations/mongodb/index.js +102 -0
  573. package/build/esm/integrations/mongodb/index.js.map +1 -0
  574. package/build/esm/integrations/mongodb/mongodb-span.js +127 -0
  575. package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -0
  576. package/build/esm/integrations/mongoose/index.js +107 -0
  577. package/build/esm/integrations/mongoose/index.js.map +1 -0
  578. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +93 -0
  579. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  580. package/build/esm/integrations/mongoose/mongoose-legacy-span.js +39 -0
  581. package/build/esm/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  582. package/build/esm/integrations/mysql.js +105 -0
  583. package/build/esm/integrations/mysql.js.map +1 -0
  584. package/build/esm/integrations/mysql2/index.js +89 -0
  585. package/build/esm/integrations/mysql2/index.js.map +1 -0
  586. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +67 -0
  587. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  588. package/build/esm/integrations/openai-compatible.js +79 -0
  589. package/build/esm/integrations/openai-compatible.js.map +1 -0
  590. package/build/esm/integrations/openai.js +80 -0
  591. package/build/esm/integrations/openai.js.map +1 -0
  592. package/build/esm/integrations/postgres-js.js +198 -0
  593. package/build/esm/integrations/postgres-js.js.map +1 -0
  594. package/build/esm/integrations/postgres.js +170 -0
  595. package/build/esm/integrations/postgres.js.map +1 -0
  596. package/build/esm/integrations/postgresjs.js +220 -0
  597. package/build/esm/integrations/postgresjs.js.map +1 -0
  598. package/build/esm/integrations/prisma/global.js.map +1 -0
  599. package/build/esm/integrations/prisma/index.js.map +1 -0
  600. package/build/esm/integrations/prisma/tracing-helper.js +236 -0
  601. package/build/esm/integrations/prisma/tracing-helper.js.map +1 -0
  602. package/build/esm/integrations/redis/index.js +219 -0
  603. package/build/esm/integrations/redis/index.js.map +1 -0
  604. package/build/esm/integrations/redis/ioredis-channel-subscriber.js +88 -0
  605. package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  606. package/build/esm/integrations/redis/redis-cache.js +133 -0
  607. package/build/esm/integrations/redis/redis-cache.js.map +1 -0
  608. package/build/esm/integrations/redis/redis-dc-subscriber.js +100 -0
  609. package/build/esm/integrations/redis/redis-dc-subscriber.js.map +1 -0
  610. package/build/esm/integrations/redis/redis-span-name.js +30 -0
  611. package/build/esm/integrations/redis/redis-span-name.js.map +1 -0
  612. package/build/esm/integrations/redis/redis-statement-serializer.js.map +1 -0
  613. package/build/esm/integrations/tedious.js +155 -0
  614. package/build/esm/integrations/tedious.js.map +1 -0
  615. package/build/esm/integrations/together-ai.js +17 -0
  616. package/build/esm/integrations/together-ai.js.map +1 -0
  617. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js +10 -0
  618. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  619. package/build/esm/integrations/vercel-ai/index.js +30 -0
  620. package/build/esm/integrations/vercel-ai/index.js.map +1 -0
  621. package/build/esm/integrations/vercel-ai/util.js +103 -0
  622. package/build/esm/integrations/vercel-ai/util.js.map +1 -0
  623. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +474 -0
  624. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  625. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +398 -0
  626. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  627. package/build/esm/opentelemetry.js +42 -0
  628. package/build/esm/opentelemetry.js.map +1 -0
  629. package/build/esm/orchestrion/bundler/bun.js +35 -0
  630. package/build/esm/orchestrion/bundler/bun.js.map +1 -0
  631. package/build/esm/orchestrion/bundler/esbuild.js +20 -0
  632. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  633. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +52 -0
  634. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  635. package/build/esm/orchestrion/bundler/options.js +7 -21
  636. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  637. package/build/esm/orchestrion/bundler/resolve.js +22 -0
  638. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  639. package/build/esm/orchestrion/bundler/rollup.js +41 -2
  640. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  641. package/build/esm/orchestrion/bundler/vite.js +67 -4
  642. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  643. package/build/esm/orchestrion/bundler/webpack-loader.js +16 -2
  644. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -1
  645. package/build/esm/orchestrion/bundler/webpack.js +34 -27
  646. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  647. package/build/esm/orchestrion/channels.js +8 -0
  648. package/build/esm/orchestrion/channels.js.map +1 -1
  649. package/build/esm/orchestrion/config/amqplib.js +3 -3
  650. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  651. package/build/esm/orchestrion/config/anthropic-ai.js +8 -16
  652. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  653. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  654. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  655. package/build/esm/orchestrion/config/channel-integration-definitions.js +40 -18
  656. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  657. package/build/esm/orchestrion/config/dataloader.js +1 -4
  658. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  659. package/build/esm/orchestrion/config/express.js +4 -4
  660. package/build/esm/orchestrion/config/express.js.map +1 -1
  661. package/build/esm/orchestrion/config/firebase.js +3 -3
  662. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  663. package/build/esm/orchestrion/config/flue.js +8 -0
  664. package/build/esm/orchestrion/config/flue.js.map +1 -0
  665. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  666. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  667. package/build/esm/orchestrion/config/google-genai.js +8 -7
  668. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  669. package/build/esm/orchestrion/config/graphql.js +12 -12
  670. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  671. package/build/esm/orchestrion/config/groq.js +15 -0
  672. package/build/esm/orchestrion/config/groq.js.map +1 -0
  673. package/build/esm/orchestrion/config/hapi.js +22 -4
  674. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  675. package/build/esm/orchestrion/config/index.js +48 -61
  676. package/build/esm/orchestrion/config/index.js.map +1 -1
  677. package/build/esm/orchestrion/config/ioredis.js +5 -3
  678. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  679. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  680. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  681. package/build/esm/orchestrion/config/knex.js +1 -4
  682. package/build/esm/orchestrion/config/knex.js.map +1 -1
  683. package/build/esm/orchestrion/config/koa.js +16 -4
  684. package/build/esm/orchestrion/config/koa.js.map +1 -1
  685. package/build/esm/orchestrion/config/langchain.js +3 -3
  686. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  687. package/build/esm/orchestrion/config/langgraph.js +3 -3
  688. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  689. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  690. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  691. package/build/esm/orchestrion/config/mastra.js +34 -0
  692. package/build/esm/orchestrion/config/mastra.js.map +1 -0
  693. package/build/esm/orchestrion/config/mistral.js +53 -0
  694. package/build/esm/orchestrion/config/mistral.js.map +1 -0
  695. package/build/esm/orchestrion/config/module-names.js +6 -0
  696. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  697. package/build/esm/orchestrion/config/mongodb.js +3 -3
  698. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  699. package/build/esm/orchestrion/config/mongoose.js +5 -3
  700. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  701. package/build/esm/orchestrion/config/mysql.js +3 -3
  702. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  703. package/build/esm/orchestrion/config/mysql2.js +5 -3
  704. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  705. package/build/esm/orchestrion/config/nestjs.js +5 -8
  706. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  707. package/build/esm/orchestrion/config/openai-compatible.js +17 -0
  708. package/build/esm/orchestrion/config/openai-compatible.js.map +1 -0
  709. package/build/esm/orchestrion/config/openai.js +3 -3
  710. package/build/esm/orchestrion/config/openai.js.map +1 -1
  711. package/build/esm/orchestrion/config/pg.js +3 -3
  712. package/build/esm/orchestrion/config/pg.js.map +1 -1
  713. package/build/esm/orchestrion/config/postgres.js +3 -3
  714. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  715. package/build/esm/orchestrion/config/redis.js +5 -3
  716. package/build/esm/orchestrion/config/redis.js.map +1 -1
  717. package/build/esm/orchestrion/config/registration-only.js +12 -0
  718. package/build/esm/orchestrion/config/registration-only.js.map +1 -0
  719. package/build/esm/orchestrion/config/remix.js +1 -4
  720. package/build/esm/orchestrion/config/remix.js.map +1 -1
  721. package/build/esm/orchestrion/config/tedious.js +3 -3
  722. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  723. package/build/esm/orchestrion/config/together-ai.js +15 -0
  724. package/build/esm/orchestrion/config/together-ai.js.map +1 -0
  725. package/build/esm/orchestrion/config/vercel-ai.js +7 -3
  726. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  727. package/build/esm/orchestrion/detect.js +7 -4
  728. package/build/esm/orchestrion/detect.js.map +1 -1
  729. package/build/esm/orchestrion/instrumentation.js +71 -0
  730. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  731. package/build/esm/package.json +1 -1
  732. package/build/esm/tracing-channel.js +20 -3
  733. package/build/esm/tracing-channel.js.map +1 -1
  734. package/build/esm/utils/moduleInjected.js +16 -0
  735. package/build/esm/utils/moduleInjected.js.map +1 -0
  736. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  737. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  738. package/build/esm/utils/sql.js +231 -0
  739. package/build/esm/utils/sql.js.map +1 -0
  740. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  741. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  742. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +6 -4
  743. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  744. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  745. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  746. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +63 -0
  747. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  748. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  749. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  750. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -1
  751. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  752. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  753. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  754. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  755. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  756. package/build/esm/vendored/module-details-from-path/index.js +2 -2
  757. package/build/types/ai/anthropic-ai/constants.d.ts +17 -0
  758. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  759. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  760. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  761. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  762. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  763. package/build/types/ai/anthropic-ai/types.d.ts +89 -0
  764. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  765. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  766. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  767. package/build/types/ai/core/gen-ai-attributes.d.ts +32 -0
  768. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  769. package/build/types/ai/core/utils.d.ts +120 -0
  770. package/build/types/ai/core/utils.d.ts.map +1 -0
  771. package/build/types/ai/flue/constants.d.ts +37 -0
  772. package/build/types/ai/flue/constants.d.ts.map +1 -0
  773. package/build/types/ai/flue/index.d.ts +18 -0
  774. package/build/types/ai/flue/index.d.ts.map +1 -0
  775. package/build/types/ai/flue/types.d.ts +118 -0
  776. package/build/types/ai/flue/types.d.ts.map +1 -0
  777. package/build/types/ai/flue/utils.d.ts +38 -0
  778. package/build/types/ai/flue/utils.d.ts.map +1 -0
  779. package/build/types/ai/google-genai/constants.d.ts +25 -0
  780. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  781. package/build/types/ai/google-genai/index.d.ts +61 -0
  782. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  783. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  784. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  785. package/build/types/ai/google-genai/types.d.ts +141 -0
  786. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  787. package/build/types/ai/google-genai/utils.d.ts +50 -0
  788. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  789. package/build/types/ai/index.d.ts +16 -0
  790. package/build/types/ai/index.d.ts.map +1 -0
  791. package/build/types/ai/langchain/constants.d.ts +4 -0
  792. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  793. package/build/types/ai/langchain/embeddings.d.ts +38 -0
  794. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  795. package/build/types/ai/langchain/index.d.ts +10 -0
  796. package/build/types/ai/langchain/index.d.ts.map +1 -0
  797. package/build/types/ai/langchain/types.d.ts +136 -0
  798. package/build/types/ai/langchain/types.d.ts.map +1 -0
  799. package/build/types/ai/langchain/utils.d.ts +67 -0
  800. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  801. package/build/types/ai/langgraph/constants.d.ts +3 -0
  802. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  803. package/build/types/ai/langgraph/index.d.ts +44 -0
  804. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  805. package/build/types/ai/langgraph/types.d.ts +64 -0
  806. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  807. package/build/types/ai/langgraph/utils.d.ts +45 -0
  808. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  809. package/build/types/ai/mastra/constants.d.ts +32 -0
  810. package/build/types/ai/mastra/constants.d.ts.map +1 -0
  811. package/build/types/ai/mastra/index.d.ts +43 -0
  812. package/build/types/ai/mastra/index.d.ts.map +1 -0
  813. package/build/types/ai/mastra/span-registry.d.ts +5 -0
  814. package/build/types/ai/mastra/span-registry.d.ts.map +1 -0
  815. package/build/types/ai/mastra/types.d.ts +84 -0
  816. package/build/types/ai/mastra/types.d.ts.map +1 -0
  817. package/build/types/ai/mastra/utils.d.ts +23 -0
  818. package/build/types/ai/mastra/utils.d.ts.map +1 -0
  819. package/build/types/ai/mistral/constants.d.ts +30 -0
  820. package/build/types/ai/mistral/constants.d.ts.map +1 -0
  821. package/build/types/ai/mistral/index.d.ts +20 -0
  822. package/build/types/ai/mistral/index.d.ts.map +1 -0
  823. package/build/types/ai/mistral/streaming.d.ts +24 -0
  824. package/build/types/ai/mistral/streaming.d.ts.map +1 -0
  825. package/build/types/ai/mistral/types.d.ts +39 -0
  826. package/build/types/ai/mistral/types.d.ts.map +1 -0
  827. package/build/types/ai/mistral/utils.d.ts +20 -0
  828. package/build/types/ai/mistral/utils.d.ts.map +1 -0
  829. package/build/types/ai/openai/constants.d.ts +18 -0
  830. package/build/types/ai/openai/constants.d.ts.map +1 -0
  831. package/build/types/ai/openai/index.d.ts +13 -0
  832. package/build/types/ai/openai/index.d.ts.map +1 -0
  833. package/build/types/ai/openai/streaming.d.ts +13 -0
  834. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  835. package/build/types/ai/openai/types.d.ts +217 -0
  836. package/build/types/ai/openai/types.d.ts.map +1 -0
  837. package/build/types/ai/openai/utils.d.ts +20 -0
  838. package/build/types/ai/openai/utils.d.ts.map +1 -0
  839. package/build/types/ai/vercel-ai/index.d.ts +15 -0
  840. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  841. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +239 -0
  842. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  843. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  844. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  845. package/build/types/ai/workers-ai/index.d.ts +18 -0
  846. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  847. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  848. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  849. package/build/types/ai/workers-ai/types.d.ts +41 -0
  850. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  851. package/build/types/ai/workers-ai/utils.d.ts +24 -0
  852. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  853. package/build/types/async-context.d.ts +15 -0
  854. package/build/types/async-context.d.ts.map +1 -0
  855. package/build/types/eve.d.ts +53 -0
  856. package/build/types/eve.d.ts.map +1 -0
  857. package/build/types/exports.d.ts +9 -0
  858. package/build/types/exports.d.ts.map +1 -0
  859. package/build/types/index.d.ts +51 -19
  860. package/build/types/index.d.ts.map +1 -1
  861. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  862. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  863. package/build/types/integrations/amqplib.d.ts +20 -0
  864. package/build/types/integrations/amqplib.d.ts.map +1 -0
  865. package/build/types/integrations/anthropic.d.ts +9 -0
  866. package/build/types/integrations/anthropic.d.ts.map +1 -0
  867. package/build/types/integrations/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  868. package/build/types/integrations/aws-sdk/constants.d.ts +15 -0
  869. package/build/types/integrations/aws-sdk/constants.d.ts.map +1 -0
  870. package/build/types/integrations/aws-sdk/index.d.ts +12 -0
  871. package/build/types/integrations/aws-sdk/index.d.ts.map +1 -0
  872. package/build/types/integrations/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  873. package/build/types/integrations/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  874. package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  875. package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  876. package/build/types/integrations/aws-sdk/services/dynamodb.d.ts.map +1 -0
  877. package/build/types/integrations/aws-sdk/services/index.d.ts.map +1 -0
  878. package/build/types/integrations/aws-sdk/services/kinesis.d.ts.map +1 -0
  879. package/build/types/integrations/aws-sdk/services/lambda.d.ts.map +1 -0
  880. package/build/types/integrations/aws-sdk/services/s3.d.ts.map +1 -0
  881. package/build/types/integrations/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  882. package/build/types/integrations/aws-sdk/services/sns.d.ts.map +1 -0
  883. package/build/types/integrations/aws-sdk/services/sqs.d.ts.map +1 -0
  884. package/build/types/integrations/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  885. package/build/types/integrations/aws-sdk/types.d.ts +24 -0
  886. package/build/types/integrations/aws-sdk/types.d.ts.map +1 -0
  887. package/build/types/integrations/aws-sdk/utils.d.ts.map +1 -0
  888. package/build/types/integrations/dataloader.d.ts +11 -0
  889. package/build/types/integrations/dataloader.d.ts.map +1 -0
  890. package/build/types/integrations/express/error-handled.d.ts +10 -0
  891. package/build/types/integrations/express/error-handled.d.ts.map +1 -0
  892. package/build/types/integrations/express/error-handler.d.ts +25 -0
  893. package/build/types/integrations/express/error-handler.d.ts.map +1 -0
  894. package/build/types/integrations/express/index.d.ts +17 -0
  895. package/build/types/integrations/express/index.d.ts.map +1 -0
  896. package/build/types/integrations/express/instrumentation.d.ts +23 -0
  897. package/build/types/integrations/express/instrumentation.d.ts.map +1 -0
  898. package/build/types/integrations/express/route.d.ts.map +1 -0
  899. package/build/types/integrations/express/types.d.ts +107 -0
  900. package/build/types/integrations/express/types.d.ts.map +1 -0
  901. package/build/types/integrations/express/utils.d.ts +8 -0
  902. package/build/types/integrations/express/utils.d.ts.map +1 -0
  903. package/build/types/integrations/fastify/errors.d.ts +17 -0
  904. package/build/types/integrations/fastify/errors.d.ts.map +1 -0
  905. package/build/types/integrations/fastify/index.d.ts +57 -0
  906. package/build/types/integrations/fastify/index.d.ts.map +1 -0
  907. package/build/types/integrations/fastify/instrumentation.d.ts +6 -0
  908. package/build/types/integrations/fastify/instrumentation.d.ts.map +1 -0
  909. package/build/types/integrations/fastify/types.d.ts +31 -0
  910. package/build/types/integrations/fastify/types.d.ts.map +1 -0
  911. package/build/types/integrations/fastify/utils.d.ts +9 -0
  912. package/build/types/integrations/fastify/utils.d.ts.map +1 -0
  913. package/build/types/integrations/firebase/firestore-types.d.ts.map +1 -0
  914. package/build/types/integrations/firebase/firestore.d.ts +17 -0
  915. package/build/types/integrations/firebase/firestore.d.ts.map +1 -0
  916. package/build/types/integrations/firebase/functions.d.ts.map +1 -0
  917. package/build/types/integrations/firebase/index.d.ts +12 -0
  918. package/build/types/integrations/firebase/index.d.ts.map +1 -0
  919. package/build/types/integrations/firebase/instrumentation.d.ts.map +1 -0
  920. package/build/types/integrations/flue.d.ts +4 -0
  921. package/build/types/integrations/flue.d.ts.map +1 -0
  922. package/build/types/integrations/generic-pool.d.ts +10 -0
  923. package/build/types/integrations/generic-pool.d.ts.map +1 -0
  924. package/build/types/integrations/google-genai.d.ts +11 -0
  925. package/build/types/integrations/google-genai.d.ts.map +1 -0
  926. package/build/types/integrations/graphql/constants.d.ts +18 -0
  927. package/build/types/integrations/graphql/constants.d.ts.map +1 -0
  928. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts +98 -0
  929. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  930. package/build/types/integrations/graphql/graphql-types.d.ts.map +1 -0
  931. package/build/types/integrations/graphql/index.d.ts +9 -0
  932. package/build/types/integrations/graphql/index.d.ts.map +1 -0
  933. package/build/types/integrations/graphql/resolvers.d.ts.map +1 -0
  934. package/build/types/integrations/graphql/spans.d.ts.map +1 -0
  935. package/build/types/integrations/graphql/types.d.ts +41 -0
  936. package/build/types/integrations/graphql/types.d.ts.map +1 -0
  937. package/build/types/integrations/graphql/utils.d.ts +19 -0
  938. package/build/types/integrations/graphql/utils.d.ts.map +1 -0
  939. package/build/types/integrations/groq.d.ts +10 -0
  940. package/build/types/integrations/groq.d.ts.map +1 -0
  941. package/build/types/integrations/hapi/hapi-error-handler.d.ts +21 -0
  942. package/build/types/integrations/hapi/hapi-error-handler.d.ts.map +1 -0
  943. package/build/types/integrations/hapi/hapi-types.d.ts +99 -0
  944. package/build/types/integrations/hapi/hapi-types.d.ts.map +1 -0
  945. package/build/types/integrations/hapi/hapi-utils.d.ts +34 -0
  946. package/build/types/integrations/hapi/hapi-utils.d.ts.map +1 -0
  947. package/build/types/integrations/hapi/index.d.ts +35 -0
  948. package/build/types/integrations/hapi/index.d.ts.map +1 -0
  949. package/build/types/integrations/index.d.ts +6 -0
  950. package/build/types/integrations/index.d.ts.map +1 -0
  951. package/build/types/integrations/kafkajs/consumer.d.ts.map +1 -0
  952. package/build/types/integrations/kafkajs/index.d.ts +16 -0
  953. package/build/types/integrations/kafkajs/index.d.ts.map +1 -0
  954. package/build/types/integrations/kafkajs/semconv.d.ts +10 -0
  955. package/build/types/integrations/kafkajs/semconv.d.ts.map +1 -0
  956. package/build/types/integrations/kafkajs/spans.d.ts +38 -0
  957. package/build/types/integrations/kafkajs/spans.d.ts.map +1 -0
  958. package/build/types/integrations/kafkajs/types.d.ts.map +1 -0
  959. package/build/types/integrations/knex.d.ts +11 -0
  960. package/build/types/integrations/knex.d.ts.map +1 -0
  961. package/build/types/integrations/koa/index.d.ts +14 -0
  962. package/build/types/integrations/koa/index.d.ts.map +1 -0
  963. package/build/types/integrations/koa/koa-error-handler.d.ts +33 -0
  964. package/build/types/integrations/koa/koa-error-handler.d.ts.map +1 -0
  965. package/build/types/integrations/langchain.d.ts +9 -0
  966. package/build/types/integrations/langchain.d.ts.map +1 -0
  967. package/build/types/integrations/langgraph.d.ts +9 -0
  968. package/build/types/integrations/langgraph.d.ts.map +1 -0
  969. package/build/types/integrations/lru-memoizer.d.ts +10 -0
  970. package/build/types/integrations/lru-memoizer.d.ts.map +1 -0
  971. package/build/types/integrations/mastra.d.ts +18 -0
  972. package/build/types/integrations/mastra.d.ts.map +1 -0
  973. package/build/types/integrations/mistral.d.ts +7 -0
  974. package/build/types/integrations/mistral.d.ts.map +1 -0
  975. package/build/types/integrations/mongodb/index.d.ts +12 -0
  976. package/build/types/integrations/mongodb/index.d.ts.map +1 -0
  977. package/build/types/integrations/mongodb/mongodb-span.d.ts +65 -0
  978. package/build/types/integrations/mongodb/mongodb-span.d.ts.map +1 -0
  979. package/build/types/integrations/mongoose/index.d.ts +15 -0
  980. package/build/types/integrations/mongoose/index.d.ts.map +1 -0
  981. package/build/types/integrations/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
  982. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts +30 -0
  983. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  984. package/build/types/integrations/mysql.d.ts +12 -0
  985. package/build/types/integrations/mysql.d.ts.map +1 -0
  986. package/build/types/integrations/mysql2/index.d.ts +17 -0
  987. package/build/types/integrations/mysql2/index.d.ts.map +1 -0
  988. package/build/types/integrations/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  989. package/build/types/integrations/openai-compatible.d.ts +32 -0
  990. package/build/types/integrations/openai-compatible.d.ts.map +1 -0
  991. package/build/types/integrations/openai.d.ts +9 -0
  992. package/build/types/integrations/openai.d.ts.map +1 -0
  993. package/build/types/integrations/postgres-js.d.ts +27 -0
  994. package/build/types/integrations/postgres-js.d.ts.map +1 -0
  995. package/build/types/integrations/postgres.d.ts +15 -0
  996. package/build/types/integrations/postgres.d.ts.map +1 -0
  997. package/build/types/integrations/postgresjs.d.ts +75 -0
  998. package/build/types/integrations/postgresjs.d.ts.map +1 -0
  999. package/build/types/integrations/prisma/global.d.ts.map +1 -0
  1000. package/build/types/integrations/prisma/index.d.ts +41 -0
  1001. package/build/types/integrations/prisma/index.d.ts.map +1 -0
  1002. package/build/types/integrations/prisma/tracing-helper.d.ts.map +1 -0
  1003. package/build/types/integrations/prisma/types.d.ts +37 -0
  1004. package/build/types/integrations/prisma/types.d.ts.map +1 -0
  1005. package/build/types/integrations/redis/index.d.ts +25 -0
  1006. package/build/types/integrations/redis/index.d.ts.map +1 -0
  1007. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts +30 -0
  1008. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts.map +1 -0
  1009. package/build/types/integrations/redis/redis-cache.d.ts +61 -0
  1010. package/build/types/integrations/redis/redis-cache.d.ts.map +1 -0
  1011. package/build/types/integrations/redis/redis-dc-subscriber.d.ts +81 -0
  1012. package/build/types/integrations/redis/redis-dc-subscriber.d.ts.map +1 -0
  1013. package/build/types/integrations/redis/redis-span-name.d.ts +24 -0
  1014. package/build/types/integrations/redis/redis-span-name.d.ts.map +1 -0
  1015. package/build/types/integrations/redis/redis-statement-serializer.d.ts.map +1 -0
  1016. package/build/types/integrations/tedious.d.ts +11 -0
  1017. package/build/types/integrations/tedious.d.ts.map +1 -0
  1018. package/build/types/integrations/together-ai.d.ts +9 -0
  1019. package/build/types/integrations/together-ai.d.ts.map +1 -0
  1020. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts +15 -0
  1021. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts.map +1 -0
  1022. package/build/types/integrations/vercel-ai/index.d.ts +12 -0
  1023. package/build/types/integrations/vercel-ai/index.d.ts.map +1 -0
  1024. package/build/types/integrations/vercel-ai/util.d.ts +30 -0
  1025. package/build/types/integrations/vercel-ai/util.d.ts.map +1 -0
  1026. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts +69 -0
  1027. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -0
  1028. package/build/types/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  1029. package/build/types/opentelemetry.d.ts +49 -0
  1030. package/build/types/opentelemetry.d.ts.map +1 -0
  1031. package/build/types/orchestrion/apmTypes.d.ts +4 -0
  1032. package/build/types/orchestrion/apmTypes.d.ts.map +1 -1
  1033. package/build/types/orchestrion/bundler/bun.d.ts +21 -0
  1034. package/build/types/orchestrion/bundler/bun.d.ts.map +1 -0
  1035. package/build/types/orchestrion/bundler/esbuild.d.ts +1 -0
  1036. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  1037. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +31 -0
  1038. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  1039. package/build/types/orchestrion/bundler/options.d.ts +36 -31
  1040. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  1041. package/build/types/orchestrion/bundler/resolve.d.ts +35 -0
  1042. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  1043. package/build/types/orchestrion/bundler/rollup.d.ts +1 -0
  1044. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  1045. package/build/types/orchestrion/bundler/vite.d.ts +1 -0
  1046. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  1047. package/build/types/orchestrion/bundler/webpack-loader.d.ts +26 -1
  1048. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -1
  1049. package/build/types/orchestrion/bundler/webpack.d.ts +3 -18
  1050. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  1051. package/build/types/orchestrion/channels.d.ts +138 -125
  1052. package/build/types/orchestrion/channels.d.ts.map +1 -1
  1053. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  1054. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  1055. package/build/types/orchestrion/config/anthropic-ai.d.ts +5 -7
  1056. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  1057. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  1058. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  1059. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +68 -35
  1060. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  1061. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  1062. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1063. package/build/types/orchestrion/config/express.d.ts +5 -6
  1064. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1065. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1066. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1067. package/build/types/orchestrion/config/flue.d.ts +9 -0
  1068. package/build/types/orchestrion/config/flue.d.ts.map +1 -0
  1069. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1070. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1071. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1072. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1073. package/build/types/orchestrion/config/graphql.d.ts +6 -7
  1074. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1075. package/build/types/orchestrion/config/groq.d.ts +8 -0
  1076. package/build/types/orchestrion/config/groq.d.ts.map +1 -0
  1077. package/build/types/orchestrion/config/hapi.d.ts +5 -4
  1078. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1079. package/build/types/orchestrion/config/index.d.ts +47 -10
  1080. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1081. package/build/types/orchestrion/config/ioredis.d.ts +4 -4
  1082. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1083. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1084. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1085. package/build/types/orchestrion/config/knex.d.ts +5 -6
  1086. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1087. package/build/types/orchestrion/config/koa.d.ts +3 -3
  1088. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1089. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1090. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1091. package/build/types/orchestrion/config/langgraph.d.ts +5 -6
  1092. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1093. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1094. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1095. package/build/types/orchestrion/config/mastra.d.ts +8 -0
  1096. package/build/types/orchestrion/config/mastra.d.ts.map +1 -0
  1097. package/build/types/orchestrion/config/mistral.d.ts +46 -0
  1098. package/build/types/orchestrion/config/mistral.d.ts.map +1 -0
  1099. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1100. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1101. package/build/types/orchestrion/config/mongodb.d.ts +21 -22
  1102. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1103. package/build/types/orchestrion/config/mongoose.d.ts +10 -32
  1104. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1105. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1106. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1107. package/build/types/orchestrion/config/mysql2.d.ts +5 -17
  1108. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1109. package/build/types/orchestrion/config/nestjs.d.ts +10 -11
  1110. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1111. package/build/types/orchestrion/config/openai-compatible.d.ts +17 -0
  1112. package/build/types/orchestrion/config/openai-compatible.d.ts.map +1 -0
  1113. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1114. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1115. package/build/types/orchestrion/config/pg.d.ts +6 -7
  1116. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1117. package/build/types/orchestrion/config/postgres.d.ts +6 -6
  1118. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1119. package/build/types/orchestrion/config/redis.d.ts +10 -36
  1120. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1121. package/build/types/orchestrion/config/registration-only.d.ts +22 -0
  1122. package/build/types/orchestrion/config/registration-only.d.ts.map +1 -0
  1123. package/build/types/orchestrion/config/remix.d.ts +5 -6
  1124. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1125. package/build/types/orchestrion/config/tedious.d.ts +9 -9
  1126. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1127. package/build/types/orchestrion/config/together-ai.d.ts +8 -0
  1128. package/build/types/orchestrion/config/together-ai.d.ts.map +1 -0
  1129. package/build/types/orchestrion/config/vercel-ai.d.ts +9 -9
  1130. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1131. package/build/types/orchestrion/detect.d.ts +12 -9
  1132. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1133. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1134. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1135. package/build/types/tracing-channel.d.ts +13 -1
  1136. package/build/types/tracing-channel.d.ts.map +1 -1
  1137. package/build/types/utils/moduleInjected.d.ts +30 -0
  1138. package/build/types/utils/moduleInjected.d.ts.map +1 -0
  1139. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1140. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1141. package/build/types/utils/sql.d.ts +53 -0
  1142. package/build/types/utils/sql.d.ts.map +1 -0
  1143. package/changes.json +3 -3
  1144. package/package.json +27 -63
  1145. package/build/cjs/_virtual/chunk-D6vf50IK.js +0 -6
  1146. package/build/cjs/_virtual/chunk-D6vf50IK.js.map +0 -1
  1147. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js +0 -6
  1148. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1149. package/build/cjs/_virtual/node.js +0 -6
  1150. package/build/cjs/_virtual/node.js.map +0 -1
  1151. package/build/cjs/_virtual/transforms.js +0 -6
  1152. package/build/cjs/_virtual/transforms.js.map +0 -1
  1153. package/build/cjs/graphql/graphql-dc-subscriber.js +0 -123
  1154. package/build/cjs/graphql/graphql-dc-subscriber.js.map +0 -1
  1155. package/build/cjs/graphql/index.js +0 -36
  1156. package/build/cjs/graphql/index.js.map +0 -1
  1157. package/build/cjs/graphql/utils.js +0 -92
  1158. package/build/cjs/graphql/utils.js.map +0 -1
  1159. package/build/cjs/integrations/tracing-channel/amqplib.js +0 -433
  1160. package/build/cjs/integrations/tracing-channel/amqplib.js.map +0 -1
  1161. package/build/cjs/integrations/tracing-channel/anthropic.js +0 -114
  1162. package/build/cjs/integrations/tracing-channel/anthropic.js.map +0 -1
  1163. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +0 -16
  1164. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1165. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +0 -167
  1166. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1167. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -46
  1168. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1169. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1170. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -419
  1171. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1172. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -131
  1173. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1174. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -21
  1175. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1176. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -64
  1177. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1178. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +0 -21
  1179. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1180. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -27
  1181. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1182. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +0 -63
  1183. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1184. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -116
  1185. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1186. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -25
  1187. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1188. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1189. package/build/cjs/integrations/tracing-channel/dataloader.js +0 -118
  1190. package/build/cjs/integrations/tracing-channel/dataloader.js.map +0 -1
  1191. package/build/cjs/integrations/tracing-channel/express/index.js +0 -41
  1192. package/build/cjs/integrations/tracing-channel/express/index.js.map +0 -1
  1193. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +0 -168
  1194. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1195. package/build/cjs/integrations/tracing-channel/express/route.js.map +0 -1
  1196. package/build/cjs/integrations/tracing-channel/fastify/errors.js +0 -55
  1197. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1198. package/build/cjs/integrations/tracing-channel/fastify/index.js +0 -32
  1199. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +0 -1
  1200. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +0 -292
  1201. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1202. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1203. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +0 -91
  1204. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1205. package/build/cjs/integrations/tracing-channel/firebase/functions.js +0 -67
  1206. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1207. package/build/cjs/integrations/tracing-channel/firebase/index.js +0 -37
  1208. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +0 -1
  1209. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +0 -79
  1210. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1211. package/build/cjs/integrations/tracing-channel/generic-pool.js +0 -47
  1212. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +0 -1
  1213. package/build/cjs/integrations/tracing-channel/google-genai.js +0 -109
  1214. package/build/cjs/integrations/tracing-channel/google-genai.js.map +0 -1
  1215. package/build/cjs/integrations/tracing-channel/graphql/constants.js +0 -26
  1216. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1217. package/build/cjs/integrations/tracing-channel/graphql/index.js +0 -79
  1218. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +0 -1
  1219. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +0 -168
  1220. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1221. package/build/cjs/integrations/tracing-channel/graphql/spans.js +0 -102
  1222. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1223. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +0 -1
  1224. package/build/cjs/integrations/tracing-channel/hapi-utils.js +0 -177
  1225. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1226. package/build/cjs/integrations/tracing-channel/hapi.js +0 -65
  1227. package/build/cjs/integrations/tracing-channel/hapi.js.map +0 -1
  1228. package/build/cjs/integrations/tracing-channel/ioredis.js +0 -112
  1229. package/build/cjs/integrations/tracing-channel/ioredis.js.map +0 -1
  1230. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1231. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +0 -83
  1232. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1233. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1234. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +0 -119
  1235. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1236. package/build/cjs/integrations/tracing-channel/knex.js +0 -201
  1237. package/build/cjs/integrations/tracing-channel/knex.js.map +0 -1
  1238. package/build/cjs/integrations/tracing-channel/koa.js +0 -159
  1239. package/build/cjs/integrations/tracing-channel/koa.js.map +0 -1
  1240. package/build/cjs/integrations/tracing-channel/langchain.js +0 -75
  1241. package/build/cjs/integrations/tracing-channel/langchain.js.map +0 -1
  1242. package/build/cjs/integrations/tracing-channel/langgraph.js +0 -113
  1243. package/build/cjs/integrations/tracing-channel/langgraph.js.map +0 -1
  1244. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +0 -44
  1245. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1246. package/build/cjs/integrations/tracing-channel/mongodb.js +0 -117
  1247. package/build/cjs/integrations/tracing-channel/mongodb.js.map +0 -1
  1248. package/build/cjs/integrations/tracing-channel/mongoose.js +0 -123
  1249. package/build/cjs/integrations/tracing-channel/mongoose.js.map +0 -1
  1250. package/build/cjs/integrations/tracing-channel/mysql.js +0 -120
  1251. package/build/cjs/integrations/tracing-channel/mysql.js.map +0 -1
  1252. package/build/cjs/integrations/tracing-channel/mysql2.js +0 -96
  1253. package/build/cjs/integrations/tracing-channel/mysql2.js.map +0 -1
  1254. package/build/cjs/integrations/tracing-channel/openai.js +0 -94
  1255. package/build/cjs/integrations/tracing-channel/openai.js.map +0 -1
  1256. package/build/cjs/integrations/tracing-channel/postgres-js.js +0 -204
  1257. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +0 -1
  1258. package/build/cjs/integrations/tracing-channel/postgres.js +0 -183
  1259. package/build/cjs/integrations/tracing-channel/postgres.js.map +0 -1
  1260. package/build/cjs/integrations/tracing-channel/redis.js +0 -231
  1261. package/build/cjs/integrations/tracing-channel/redis.js.map +0 -1
  1262. package/build/cjs/integrations/tracing-channel/tedious.js +0 -158
  1263. package/build/cjs/integrations/tracing-channel/tedious.js.map +0 -1
  1264. package/build/cjs/integrations/tracing-channel/vercel-ai.js +0 -38
  1265. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1266. package/build/cjs/mongodb/mongodb-span.js +0 -133
  1267. package/build/cjs/mongodb/mongodb-span.js.map +0 -1
  1268. package/build/cjs/mongoose/index.js +0 -36
  1269. package/build/cjs/mongoose/index.js.map +0 -1
  1270. package/build/cjs/mongoose/mongoose-dc-subscriber.js +0 -97
  1271. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1272. package/build/cjs/mongoose/mongoose-legacy-span.js +0 -40
  1273. package/build/cjs/mongoose/mongoose-legacy-span.js.map +0 -1
  1274. package/build/cjs/mysql2/index.js +0 -36
  1275. package/build/cjs/mysql2/index.js.map +0 -1
  1276. package/build/cjs/mysql2/mysql2-dc-subscriber.js +0 -68
  1277. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1278. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -41
  1279. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1280. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1281. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1282. package/build/cjs/orchestrion/index.js +0 -94
  1283. package/build/cjs/orchestrion/index.js.map +0 -1
  1284. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1285. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1286. package/build/cjs/orchestrion/runtime/hook.js +0 -17
  1287. package/build/cjs/orchestrion/runtime/hook.js.map +0 -1
  1288. package/build/cjs/orchestrion/runtime/register.js +0 -84
  1289. package/build/cjs/orchestrion/runtime/register.js.map +0 -1
  1290. package/build/cjs/prisma/global.js.map +0 -1
  1291. package/build/cjs/prisma/index.js.map +0 -1
  1292. package/build/cjs/prisma/tracing-helper.js +0 -211
  1293. package/build/cjs/prisma/tracing-helper.js.map +0 -1
  1294. package/build/cjs/redis/index.js +0 -36
  1295. package/build/cjs/redis/index.js.map +0 -1
  1296. package/build/cjs/redis/redis-dc-subscriber.js +0 -101
  1297. package/build/cjs/redis/redis-dc-subscriber.js.map +0 -1
  1298. package/build/cjs/redis/redis-statement-serializer.js.map +0 -1
  1299. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1300. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1301. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1302. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1303. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -90
  1304. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1305. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -166
  1306. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1307. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +0 -88
  1308. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1309. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -15
  1310. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1311. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -30
  1312. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1313. package/build/cjs/vendored/debug/src/common.js +0 -178
  1314. package/build/cjs/vendored/debug/src/common.js.map +0 -1
  1315. package/build/cjs/vendored/debug/src/node.js +0 -186
  1316. package/build/cjs/vendored/debug/src/node.js.map +0 -1
  1317. package/build/cjs/vendored/has-flag/index.js +0 -11
  1318. package/build/cjs/vendored/has-flag/index.js.map +0 -1
  1319. package/build/cjs/vendored/ms/index.js +0 -115
  1320. package/build/cjs/vendored/ms/index.js.map +0 -1
  1321. package/build/cjs/vendored/supports-color/index.js +0 -104
  1322. package/build/cjs/vendored/supports-color/index.js.map +0 -1
  1323. package/build/cjs/vercel-ai/index.js +0 -36
  1324. package/build/cjs/vercel-ai/index.js.map +0 -1
  1325. package/build/cjs/vercel-ai/util.js +0 -112
  1326. package/build/cjs/vercel-ai/util.js.map +0 -1
  1327. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +0 -444
  1328. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1329. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -399
  1330. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1331. package/build/esm/_virtual/chunk-D6vf50IK.js +0 -4
  1332. package/build/esm/_virtual/chunk-D6vf50IK.js.map +0 -1
  1333. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js +0 -4
  1334. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1335. package/build/esm/_virtual/node.js +0 -4
  1336. package/build/esm/_virtual/node.js.map +0 -1
  1337. package/build/esm/_virtual/transforms.js +0 -4
  1338. package/build/esm/_virtual/transforms.js.map +0 -1
  1339. package/build/esm/graphql/graphql-dc-subscriber.js +0 -116
  1340. package/build/esm/graphql/graphql-dc-subscriber.js.map +0 -1
  1341. package/build/esm/graphql/index.js +0 -21
  1342. package/build/esm/graphql/index.js.map +0 -1
  1343. package/build/esm/graphql/utils.js +0 -87
  1344. package/build/esm/graphql/utils.js.map +0 -1
  1345. package/build/esm/integrations/tracing-channel/amqplib.js +0 -418
  1346. package/build/esm/integrations/tracing-channel/amqplib.js.map +0 -1
  1347. package/build/esm/integrations/tracing-channel/anthropic.js +0 -99
  1348. package/build/esm/integrations/tracing-channel/anthropic.js.map +0 -1
  1349. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +0 -9
  1350. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1351. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +0 -152
  1352. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1353. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -41
  1354. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1355. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1356. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -417
  1357. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1358. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -129
  1359. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1360. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -19
  1361. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1362. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -62
  1363. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1364. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +0 -19
  1365. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1366. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -25
  1367. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1368. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +0 -61
  1369. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1370. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -114
  1371. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1372. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -23
  1373. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1374. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1375. package/build/esm/integrations/tracing-channel/dataloader.js +0 -103
  1376. package/build/esm/integrations/tracing-channel/dataloader.js.map +0 -1
  1377. package/build/esm/integrations/tracing-channel/express/index.js +0 -26
  1378. package/build/esm/integrations/tracing-channel/express/index.js.map +0 -1
  1379. package/build/esm/integrations/tracing-channel/express/instrumentation.js +0 -166
  1380. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1381. package/build/esm/integrations/tracing-channel/express/route.js.map +0 -1
  1382. package/build/esm/integrations/tracing-channel/fastify/errors.js +0 -39
  1383. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1384. package/build/esm/integrations/tracing-channel/fastify/index.js +0 -28
  1385. package/build/esm/integrations/tracing-channel/fastify/index.js.map +0 -1
  1386. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +0 -277
  1387. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1388. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1389. package/build/esm/integrations/tracing-channel/firebase/firestore.js +0 -75
  1390. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1391. package/build/esm/integrations/tracing-channel/firebase/functions.js +0 -65
  1392. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1393. package/build/esm/integrations/tracing-channel/firebase/index.js +0 -22
  1394. package/build/esm/integrations/tracing-channel/firebase/index.js.map +0 -1
  1395. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +0 -64
  1396. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1397. package/build/esm/integrations/tracing-channel/generic-pool.js +0 -32
  1398. package/build/esm/integrations/tracing-channel/generic-pool.js.map +0 -1
  1399. package/build/esm/integrations/tracing-channel/google-genai.js +0 -94
  1400. package/build/esm/integrations/tracing-channel/google-genai.js.map +0 -1
  1401. package/build/esm/integrations/tracing-channel/graphql/constants.js +0 -14
  1402. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1403. package/build/esm/integrations/tracing-channel/graphql/index.js +0 -63
  1404. package/build/esm/integrations/tracing-channel/graphql/index.js.map +0 -1
  1405. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +0 -164
  1406. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1407. package/build/esm/integrations/tracing-channel/graphql/spans.js +0 -96
  1408. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1409. package/build/esm/integrations/tracing-channel/hapi-types.js.map +0 -1
  1410. package/build/esm/integrations/tracing-channel/hapi-utils.js +0 -172
  1411. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1412. package/build/esm/integrations/tracing-channel/hapi.js +0 -50
  1413. package/build/esm/integrations/tracing-channel/hapi.js.map +0 -1
  1414. package/build/esm/integrations/tracing-channel/ioredis.js +0 -96
  1415. package/build/esm/integrations/tracing-channel/ioredis.js.map +0 -1
  1416. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1417. package/build/esm/integrations/tracing-channel/kafkajs/index.js +0 -68
  1418. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1419. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1420. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +0 -112
  1421. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1422. package/build/esm/integrations/tracing-channel/knex.js +0 -186
  1423. package/build/esm/integrations/tracing-channel/knex.js.map +0 -1
  1424. package/build/esm/integrations/tracing-channel/koa.js +0 -144
  1425. package/build/esm/integrations/tracing-channel/koa.js.map +0 -1
  1426. package/build/esm/integrations/tracing-channel/langchain.js +0 -60
  1427. package/build/esm/integrations/tracing-channel/langchain.js.map +0 -1
  1428. package/build/esm/integrations/tracing-channel/langgraph.js +0 -98
  1429. package/build/esm/integrations/tracing-channel/langgraph.js.map +0 -1
  1430. package/build/esm/integrations/tracing-channel/lru-memoizer.js +0 -29
  1431. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1432. package/build/esm/integrations/tracing-channel/mongodb.js +0 -102
  1433. package/build/esm/integrations/tracing-channel/mongodb.js.map +0 -1
  1434. package/build/esm/integrations/tracing-channel/mongoose.js +0 -108
  1435. package/build/esm/integrations/tracing-channel/mongoose.js.map +0 -1
  1436. package/build/esm/integrations/tracing-channel/mysql.js +0 -105
  1437. package/build/esm/integrations/tracing-channel/mysql.js.map +0 -1
  1438. package/build/esm/integrations/tracing-channel/mysql2.js +0 -81
  1439. package/build/esm/integrations/tracing-channel/mysql2.js.map +0 -1
  1440. package/build/esm/integrations/tracing-channel/openai.js +0 -79
  1441. package/build/esm/integrations/tracing-channel/openai.js.map +0 -1
  1442. package/build/esm/integrations/tracing-channel/postgres-js.js +0 -189
  1443. package/build/esm/integrations/tracing-channel/postgres-js.js.map +0 -1
  1444. package/build/esm/integrations/tracing-channel/postgres.js +0 -168
  1445. package/build/esm/integrations/tracing-channel/postgres.js.map +0 -1
  1446. package/build/esm/integrations/tracing-channel/redis.js +0 -216
  1447. package/build/esm/integrations/tracing-channel/redis.js.map +0 -1
  1448. package/build/esm/integrations/tracing-channel/tedious.js +0 -143
  1449. package/build/esm/integrations/tracing-channel/tedious.js.map +0 -1
  1450. package/build/esm/integrations/tracing-channel/vercel-ai.js +0 -23
  1451. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1452. package/build/esm/mongodb/mongodb-span.js +0 -126
  1453. package/build/esm/mongodb/mongodb-span.js.map +0 -1
  1454. package/build/esm/mongoose/index.js +0 -21
  1455. package/build/esm/mongoose/index.js.map +0 -1
  1456. package/build/esm/mongoose/mongoose-dc-subscriber.js +0 -89
  1457. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1458. package/build/esm/mongoose/mongoose-legacy-span.js +0 -38
  1459. package/build/esm/mongoose/mongoose-legacy-span.js.map +0 -1
  1460. package/build/esm/mysql2/index.js +0 -21
  1461. package/build/esm/mysql2/index.js.map +0 -1
  1462. package/build/esm/mysql2/mysql2-dc-subscriber.js +0 -62
  1463. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1464. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -39
  1465. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1466. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1467. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1468. package/build/esm/orchestrion/index.js +0 -61
  1469. package/build/esm/orchestrion/index.js.map +0 -1
  1470. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1471. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1472. package/build/esm/orchestrion/runtime/hook.js +0 -8
  1473. package/build/esm/orchestrion/runtime/hook.js.map +0 -1
  1474. package/build/esm/orchestrion/runtime/register.js +0 -69
  1475. package/build/esm/orchestrion/runtime/register.js.map +0 -1
  1476. package/build/esm/prisma/global.js.map +0 -1
  1477. package/build/esm/prisma/index.js.map +0 -1
  1478. package/build/esm/prisma/tracing-helper.js +0 -209
  1479. package/build/esm/prisma/tracing-helper.js.map +0 -1
  1480. package/build/esm/redis/index.js +0 -21
  1481. package/build/esm/redis/index.js.map +0 -1
  1482. package/build/esm/redis/redis-dc-subscriber.js +0 -94
  1483. package/build/esm/redis/redis-dc-subscriber.js.map +0 -1
  1484. package/build/esm/redis/redis-statement-serializer.js.map +0 -1
  1485. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1486. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1487. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1488. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1489. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -88
  1490. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1491. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -157
  1492. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1493. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +0 -86
  1494. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1495. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -13
  1496. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1497. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -27
  1498. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1499. package/build/esm/vendored/debug/src/common.js +0 -176
  1500. package/build/esm/vendored/debug/src/common.js.map +0 -1
  1501. package/build/esm/vendored/debug/src/node.js +0 -183
  1502. package/build/esm/vendored/debug/src/node.js.map +0 -1
  1503. package/build/esm/vendored/has-flag/index.js +0 -9
  1504. package/build/esm/vendored/has-flag/index.js.map +0 -1
  1505. package/build/esm/vendored/ms/index.js +0 -113
  1506. package/build/esm/vendored/ms/index.js.map +0 -1
  1507. package/build/esm/vendored/supports-color/index.js +0 -102
  1508. package/build/esm/vendored/supports-color/index.js.map +0 -1
  1509. package/build/esm/vercel-ai/index.js +0 -21
  1510. package/build/esm/vercel-ai/index.js.map +0 -1
  1511. package/build/esm/vercel-ai/util.js +0 -106
  1512. package/build/esm/vercel-ai/util.js.map +0 -1
  1513. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +0 -436
  1514. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1515. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -397
  1516. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1517. package/build/orchestrion/import-hook.mjs +0 -19
  1518. package/build/types/graphql/graphql-dc-subscriber.d.ts +0 -94
  1519. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +0 -1
  1520. package/build/types/graphql/index.d.ts +0 -12
  1521. package/build/types/graphql/index.d.ts.map +0 -1
  1522. package/build/types/graphql/utils.d.ts +0 -36
  1523. package/build/types/graphql/utils.d.ts.map +0 -1
  1524. package/build/types/integrations/tracing-channel/amqplib.d.ts +0 -11
  1525. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +0 -1
  1526. package/build/types/integrations/tracing-channel/anthropic.d.ts +0 -10
  1527. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +0 -1
  1528. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +0 -1
  1529. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1530. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +0 -1
  1531. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1532. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +0 -1
  1533. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +0 -1
  1534. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +0 -1
  1535. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +0 -1
  1536. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +0 -1
  1537. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +0 -1
  1538. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +0 -1
  1539. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +0 -1
  1540. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +0 -1
  1541. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +0 -1
  1542. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +0 -1
  1543. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +0 -1
  1544. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +0 -1
  1545. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +0 -1
  1546. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1547. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +0 -1
  1548. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +0 -1
  1549. package/build/types/integrations/tracing-channel/dataloader.d.ts +0 -11
  1550. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +0 -1
  1551. package/build/types/integrations/tracing-channel/express/index.d.ts +0 -18
  1552. package/build/types/integrations/tracing-channel/express/index.d.ts.map +0 -1
  1553. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1554. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +0 -1
  1555. package/build/types/integrations/tracing-channel/express/route.d.ts.map +0 -1
  1556. package/build/types/integrations/tracing-channel/express/types.d.ts +0 -76
  1557. package/build/types/integrations/tracing-channel/express/types.d.ts.map +0 -1
  1558. package/build/types/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1559. package/build/types/integrations/tracing-channel/fastify/errors.d.ts.map +0 -1
  1560. package/build/types/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1561. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +0 -1
  1562. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1563. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +0 -1
  1564. package/build/types/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1565. package/build/types/integrations/tracing-channel/fastify/types.d.ts.map +0 -1
  1566. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1567. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +0 -1
  1568. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +0 -1
  1569. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1570. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +0 -1
  1571. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +0 -1
  1572. package/build/types/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1573. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +0 -1
  1574. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +0 -1
  1575. package/build/types/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1576. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +0 -1
  1577. package/build/types/integrations/tracing-channel/google-genai.d.ts +0 -12
  1578. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +0 -1
  1579. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1580. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +0 -1
  1581. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +0 -1
  1582. package/build/types/integrations/tracing-channel/graphql/index.d.ts +0 -28
  1583. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +0 -1
  1584. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +0 -1
  1585. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +0 -1
  1586. package/build/types/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1587. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +0 -1
  1588. package/build/types/integrations/tracing-channel/hapi-types.d.ts +0 -53
  1589. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +0 -1
  1590. package/build/types/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1591. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +0 -1
  1592. package/build/types/integrations/tracing-channel/hapi.d.ts +0 -9
  1593. package/build/types/integrations/tracing-channel/hapi.d.ts.map +0 -1
  1594. package/build/types/integrations/tracing-channel/ioredis.d.ts +0 -37
  1595. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +0 -1
  1596. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +0 -1
  1597. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1598. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +0 -1
  1599. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1600. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +0 -1
  1601. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1602. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +0 -1
  1603. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +0 -1
  1604. package/build/types/integrations/tracing-channel/knex.d.ts +0 -11
  1605. package/build/types/integrations/tracing-channel/knex.d.ts.map +0 -1
  1606. package/build/types/integrations/tracing-channel/koa.d.ts +0 -14
  1607. package/build/types/integrations/tracing-channel/koa.d.ts.map +0 -1
  1608. package/build/types/integrations/tracing-channel/langchain.d.ts +0 -10
  1609. package/build/types/integrations/tracing-channel/langchain.d.ts.map +0 -1
  1610. package/build/types/integrations/tracing-channel/langgraph.d.ts +0 -10
  1611. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +0 -1
  1612. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1613. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +0 -1
  1614. package/build/types/integrations/tracing-channel/mongodb.d.ts +0 -12
  1615. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +0 -1
  1616. package/build/types/integrations/tracing-channel/mongoose.d.ts +0 -15
  1617. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +0 -1
  1618. package/build/types/integrations/tracing-channel/mysql.d.ts +0 -12
  1619. package/build/types/integrations/tracing-channel/mysql.d.ts.map +0 -1
  1620. package/build/types/integrations/tracing-channel/mysql2.d.ts +0 -15
  1621. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +0 -1
  1622. package/build/types/integrations/tracing-channel/openai.d.ts +0 -10
  1623. package/build/types/integrations/tracing-channel/openai.d.ts.map +0 -1
  1624. package/build/types/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1625. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +0 -1
  1626. package/build/types/integrations/tracing-channel/postgres.d.ts +0 -15
  1627. package/build/types/integrations/tracing-channel/postgres.d.ts.map +0 -1
  1628. package/build/types/integrations/tracing-channel/redis.d.ts +0 -16
  1629. package/build/types/integrations/tracing-channel/redis.d.ts.map +0 -1
  1630. package/build/types/integrations/tracing-channel/tedious.d.ts +0 -11
  1631. package/build/types/integrations/tracing-channel/tedious.d.ts.map +0 -1
  1632. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1633. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +0 -1
  1634. package/build/types/mongodb/mongodb-span.d.ts +0 -66
  1635. package/build/types/mongodb/mongodb-span.d.ts.map +0 -1
  1636. package/build/types/mongoose/index.d.ts +0 -13
  1637. package/build/types/mongoose/index.d.ts.map +0 -1
  1638. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +0 -1
  1639. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -29
  1640. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +0 -1
  1641. package/build/types/mysql2/index.d.ts +0 -11
  1642. package/build/types/mysql2/index.d.ts.map +0 -1
  1643. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +0 -1
  1644. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1645. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1646. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1647. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1648. package/build/types/orchestrion/index.d.ts +0 -137
  1649. package/build/types/orchestrion/index.d.ts.map +0 -1
  1650. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1651. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1652. package/build/types/orchestrion/runtime/register.d.ts +0 -21
  1653. package/build/types/orchestrion/runtime/register.d.ts.map +0 -1
  1654. package/build/types/prisma/global.d.ts.map +0 -1
  1655. package/build/types/prisma/index.d.ts +0 -45
  1656. package/build/types/prisma/index.d.ts.map +0 -1
  1657. package/build/types/prisma/tracing-helper.d.ts.map +0 -1
  1658. package/build/types/prisma/types.d.ts +0 -37
  1659. package/build/types/prisma/types.d.ts.map +0 -1
  1660. package/build/types/redis/index.d.ts +0 -18
  1661. package/build/types/redis/index.d.ts.map +0 -1
  1662. package/build/types/redis/redis-dc-subscriber.d.ts +0 -89
  1663. package/build/types/redis/redis-dc-subscriber.d.ts.map +0 -1
  1664. package/build/types/redis/redis-statement-serializer.d.ts.map +0 -1
  1665. package/build/types/vercel-ai/index.d.ts +0 -26
  1666. package/build/types/vercel-ai/index.d.ts.map +0 -1
  1667. package/build/types/vercel-ai/util.d.ts +0 -30
  1668. package/build/types/vercel-ai/util.d.ts.map +0 -1
  1669. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1670. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +0 -1
  1671. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +0 -1
  1672. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1673. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1674. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1675. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1676. package/build/types-ts3.8/index.d.ts +0 -23
  1677. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1678. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1679. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1680. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1681. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1682. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1683. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1684. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1685. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1686. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1687. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1688. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1689. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1690. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1691. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1692. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1693. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1694. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1695. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1696. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1697. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1698. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1699. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1700. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1701. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -76
  1702. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1703. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1704. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1705. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1706. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1707. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1708. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1709. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1710. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1711. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1712. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1713. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1714. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1715. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1716. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1717. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1718. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1719. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1720. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1721. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1722. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1723. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1724. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1725. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1726. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1727. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1728. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1729. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1730. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1731. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1732. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1733. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1734. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1735. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1736. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1737. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1738. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1739. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1740. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1741. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1742. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1743. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1744. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1745. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1746. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1747. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1748. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1749. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1750. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1751. package/build/types-ts3.8/orchestrion/apmTypes.d.ts +0 -169
  1752. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1753. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1754. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1755. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1756. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1757. package/build/types-ts3.8/orchestrion/bundler/webpack-loader.d.ts +0 -3
  1758. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -35
  1759. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1760. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1761. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1762. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1763. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1764. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1765. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1766. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1767. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1768. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1769. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1770. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1771. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1772. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1773. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1774. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1775. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1776. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1777. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1778. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1779. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1780. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1781. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1782. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1783. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1784. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1785. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1786. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1787. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1788. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1789. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1790. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1791. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1792. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1793. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1794. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1795. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -21
  1796. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1797. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1798. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1799. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1800. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1801. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1802. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1803. package/build/types-ts3.8/tracing-channel.d.ts +0 -73
  1804. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1805. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1806. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1807. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
  1808. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1809. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1810. /package/build/cjs/integrations/{tracing-channel/express → express}/route.js +0 -0
  1811. /package/build/cjs/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1812. /package/build/cjs/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1813. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1814. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1815. /package/build/cjs/{prisma → integrations/prisma}/global.js +0 -0
  1816. /package/build/cjs/{prisma → integrations/prisma}/index.js +0 -0
  1817. /package/build/cjs/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1818. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1819. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1820. /package/build/esm/integrations/{tracing-channel/express → express}/route.js +0 -0
  1821. /package/build/esm/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1822. /package/build/esm/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1823. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1824. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1825. /package/build/esm/{prisma → integrations/prisma}/global.js +0 -0
  1826. /package/build/esm/{prisma → integrations/prisma}/index.js +0 -0
  1827. /package/build/esm/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1828. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/aws-sdk.types.d.ts +0 -0
  1829. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/MessageAttributes.d.ts +0 -0
  1830. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServiceExtension.d.ts +0 -0
  1831. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.d.ts +0 -0
  1832. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/bedrock-runtime.d.ts +0 -0
  1833. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/dynamodb.d.ts +0 -0
  1834. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/index.d.ts +0 -0
  1835. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.d.ts +0 -0
  1836. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/lambda.d.ts +0 -0
  1837. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.d.ts +0 -0
  1838. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.d.ts +0 -0
  1839. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sns.d.ts +0 -0
  1840. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sqs.d.ts +0 -0
  1841. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.d.ts +0 -0
  1842. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.d.ts +0 -0
  1843. /package/build/types/integrations/{tracing-channel/express → express}/route.d.ts +0 -0
  1844. /package/build/types/integrations/{tracing-channel/firebase → firebase}/firestore-types.d.ts +0 -0
  1845. /package/build/types/integrations/{tracing-channel/firebase → firebase}/functions.d.ts +0 -0
  1846. /package/build/types/integrations/{tracing-channel/firebase → firebase}/instrumentation.d.ts +0 -0
  1847. /package/build/types/integrations/{tracing-channel/graphql → graphql}/graphql-types.d.ts +0 -0
  1848. /package/build/types/integrations/{tracing-channel/graphql → graphql}/resolvers.d.ts +0 -0
  1849. /package/build/types/integrations/{tracing-channel/graphql → graphql}/spans.d.ts +0 -0
  1850. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.d.ts +0 -0
  1851. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/types.d.ts +0 -0
  1852. /package/build/types/{mongoose → integrations/mongoose}/mongoose-dc-subscriber.d.ts +0 -0
  1853. /package/build/types/{mysql2 → integrations/mysql2}/mysql2-dc-subscriber.d.ts +0 -0
  1854. /package/build/types/{prisma → integrations/prisma}/global.d.ts +0 -0
  1855. /package/build/types/{prisma → integrations/prisma}/tracing-helper.d.ts +0 -0
  1856. /package/build/types/{redis → integrations/redis}/redis-statement-serializer.d.ts +0 -0
  1857. /package/build/types/{vercel-ai → integrations/vercel-ai}/vercel-ai-orchestrion-subscriber.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/integrations/express/index.ts"],"sourcesContent":["import * as diagnosticsChannel from 'node:diagnostics_channel';\nimport type { IntegrationFn } from '@sentry/core';\nimport { defineIntegration } from '@sentry/core';\nimport { expressModuleNames } from '../../orchestrion/config/express';\nimport { invokeOrchestrionInstrumentation } from '../../orchestrion/instrumentation';\nimport type { ExpressIntegrationOptions } from './types';\nimport { instrumentExpress } from './instrumentation';\n\n// NOTE: this uses the same name as the OTel integration by design.\n// When enabled, the OTel 'Express' integration is omitted from the default set.\nconst INTEGRATION_NAME = 'Express' as const;\n\nconst _expressIntegration = ((options: ExpressIntegrationOptions = {}) => {\n return {\n name: INTEGRATION_NAME,\n setup(client) {\n invokeOrchestrionInstrumentation(client, expressModuleNames, instrumentExpress, [\n options,\n diagnosticsChannel.tracingChannel,\n ]);\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Diagnostics-channel-based Express integration.\n *\n * Subscribes to the `orchestrion:express:handle` (Express v4) and\n * `orchestrion:router:handle` (Express v5, via the `router` package)\n * diagnostics_channels that Sentry's code transform injects into the\n * routing layer's request handler (`Layer.prototype.handle_request` /\n * `handleRequest`). One span is opened per layer invocation — producing the\n * same spans as the OTel Express instrumentation.\n *\n * Requires the Sentry runtime hook or bundler plugin to be active.\n */\nexport const expressIntegration = defineIntegration(_expressIntegration);\n"],"names":[],"mappings":";;;;;;AAUA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAmB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEzB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,mBAAA,CAAA,CAAA,CAAA,CAAuB,CAAC,CAAA,CAAA,CAAA,CAAA,C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,CAAA,CAAA,CAAA,CAAA,EAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAmB,CAAA;;"}
@@ -0,0 +1,197 @@
1
+ import { HTTP_ROUTE, SENTRY_OP } from '@sentry/conventions/attributes';
2
+ import { ROUTER, HANDLER, MIDDLEWARE } from '@sentry/conventions/op';
3
+ import { getActiveSpan, getIsolationScope, getDefaultIsolationScope, debug, getClient, hasSpanStreamingEnabled, startInactiveSpan, ROUTER_SPAN_NAME_FALLBACK, REQUEST_HANDLER_SPAN_NAME_FALLBACK, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, withActiveSpan, stringMatchesSomePattern, captureException } from '@sentry/core';
4
+ import { DEBUG_BUILD } from '../../debug-build.js';
5
+ import { CHANNELS } from '../../orchestrion/channels.js';
6
+ import { bindTracingChannelToSpan } from '../../tracing-channel.js';
7
+ import { setLayerRegisteredPath, getLayerPath, getLayerRegisteredPath, pushLayerPath, getConstructedRoute, getActualMatchedRoute, popLayerPath } from './route.js';
8
+ import { defaultShouldHandleError } from './utils.js';
9
+ import { isExpressErrorHandled, markExpressErrorHandled } from './error-handled.js';
10
+ import { setHttpServerSpanRouteAttribute } from '../../utils/setHttpServerSpanRouteAttribute.js';
11
+
12
+ const ORIGIN = "auto.http.express";
13
+ const ATTR_EXPRESS_NAME = "express.name";
14
+ const ATTR_EXPRESS_TYPE = "express.type";
15
+ const EXPRESS_TYPE_TO_SPAN_OP = {
16
+ middleware: MIDDLEWARE,
17
+ request_handler: HANDLER,
18
+ router: ROUTER
19
+ };
20
+ const NOOP = () => {
21
+ };
22
+ let _isInstrumented = false;
23
+ function instrumentExpress(options, tracingChannel) {
24
+ if (_isInstrumented) {
25
+ return;
26
+ }
27
+ _isInstrumented = true;
28
+ for (const channelName of [CHANNELS.EXPRESS_REGISTER, CHANNELS.ROUTER_REGISTER]) {
29
+ tracingChannel(channelName).subscribe({
30
+ start: NOOP,
31
+ asyncStart: NOOP,
32
+ asyncEnd: NOOP,
33
+ error: NOOP,
34
+ end: captureRegisteredLayerPath
35
+ });
36
+ }
37
+ for (const channelName of [CHANNELS.EXPRESS_HANDLE, CHANNELS.ROUTER_HANDLE]) {
38
+ const channel = tracingChannel(channelName);
39
+ bindTracingChannelToSpan(channel, (data) => getSpanForLayer(data, options), {
40
+ beforeSpanEnd(_span, data) {
41
+ data._sentryCleanup?.();
42
+ }
43
+ });
44
+ channel.subscribe({
45
+ start: NOOP,
46
+ asyncEnd: NOOP,
47
+ end: NOOP,
48
+ error: (data) => captureLayerError(data, options.shouldHandleError),
49
+ asyncStart: popLayerPathForLayer
50
+ });
51
+ }
52
+ }
53
+ function captureLayerError(data, shouldHandleError) {
54
+ const error = data.error;
55
+ if (!error || error === "route" || error === "router") {
56
+ return;
57
+ }
58
+ const request = data.arguments?.[0];
59
+ if (request) {
60
+ if (isExpressErrorHandled(request)) {
61
+ return;
62
+ }
63
+ markExpressErrorHandled(request);
64
+ }
65
+ if (shouldHandleError === false) {
66
+ return;
67
+ }
68
+ if (!(shouldHandleError ?? defaultShouldHandleError)(error)) {
69
+ return;
70
+ }
71
+ const capture = () => captureException(error, {
72
+ mechanism: {
73
+ type: "auto.http.express",
74
+ handled: false
75
+ }
76
+ });
77
+ if (data._sentrySpan) {
78
+ withActiveSpan(data._sentrySpan, capture);
79
+ } else {
80
+ capture();
81
+ }
82
+ }
83
+ function captureRegisteredLayerPath(data) {
84
+ const stack = data.self?.stack;
85
+ if (!Array.isArray(stack)) {
86
+ return;
87
+ }
88
+ const layer = stack[stack.length - 1];
89
+ if (layer) {
90
+ setLayerRegisteredPath(layer, getLayerPath(data.arguments ?? []));
91
+ }
92
+ }
93
+ function popLayerPathForLayer(data) {
94
+ if (!data._sentryStoredLayer) {
95
+ return;
96
+ }
97
+ data._sentryStoredLayer = false;
98
+ const req = data.arguments?.[0];
99
+ if (req) {
100
+ popLayerPath(req);
101
+ }
102
+ }
103
+ function getSpanForLayer(data, options) {
104
+ const layer = data.self;
105
+ const args = data.arguments;
106
+ if (!layer || !Array.isArray(args)) {
107
+ return void 0;
108
+ }
109
+ if (layer.handle?.length === 4) {
110
+ return void 0;
111
+ }
112
+ if (layer.method && !layer.route) {
113
+ return void 0;
114
+ }
115
+ const req = args[0];
116
+ const res = args[1];
117
+ if (!req) {
118
+ return void 0;
119
+ }
120
+ if (!getActiveSpan()) {
121
+ return void 0;
122
+ }
123
+ const type = getLayerType(layer);
124
+ const registeredPath = getLayerRegisteredPath(layer);
125
+ if (registeredPath != null) {
126
+ pushLayerPath(req, registeredPath);
127
+ data._sentryStoredLayer = true;
128
+ }
129
+ const constructedRoute = getConstructedRoute(req);
130
+ const matchedRoute = constructedRoute != null ? getActualMatchedRoute(req, constructedRoute) : void 0;
131
+ const name = type === "request_handler" ? constructedRoute || "request handler" : type === "router" ? layer.path ?? "/" : layer.name ?? "<anonymous>";
132
+ if (matchedRoute) {
133
+ setHttpServerSpanRouteAttribute(matchedRoute);
134
+ }
135
+ if (type === "request_handler" && constructedRoute) {
136
+ const isolationScope = getIsolationScope();
137
+ if (isolationScope !== getDefaultIsolationScope()) {
138
+ const method = typeof req.method === "string" ? req.method.toUpperCase() : "GET";
139
+ isolationScope.setTransactionName(`${method} ${constructedRoute}`);
140
+ } else {
141
+ DEBUG_BUILD && debug.warn(
142
+ "[instrumentation:express] Isolation scope is still default isolation scope - skipping transaction name"
143
+ );
144
+ }
145
+ }
146
+ if (isLayerIgnored(name, type, options)) {
147
+ return void 0;
148
+ }
149
+ const client = getClient();
150
+ const isStreamedSpan = !!client && hasSpanStreamingEnabled(client);
151
+ const isStreamedRouterSpan = isStreamedSpan && type === "router";
152
+ const isStreamedRequestHandlerSpan = isStreamedSpan && type === "request_handler";
153
+ const span = startInactiveSpan({
154
+ name: isStreamedRouterSpan ? matchedRoute || ROUTER_SPAN_NAME_FALLBACK : isStreamedRequestHandlerSpan ? matchedRoute || REQUEST_HANDLER_SPAN_NAME_FALLBACK : name,
155
+ attributes: {
156
+ [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: ORIGIN,
157
+ [SENTRY_OP]: EXPRESS_TYPE_TO_SPAN_OP[type],
158
+ [ATTR_EXPRESS_NAME]: name,
159
+ [ATTR_EXPRESS_TYPE]: type,
160
+ ...matchedRoute ? { [HTTP_ROUTE]: matchedRoute } : {}
161
+ }
162
+ });
163
+ if (res && typeof res.once === "function") {
164
+ const onFinish = () => {
165
+ span.end();
166
+ };
167
+ res.once("finish", onFinish);
168
+ data._sentryCleanup = () => res.removeListener("finish", onFinish);
169
+ }
170
+ return span;
171
+ }
172
+ function getLayerType(layer) {
173
+ if (layer.name === "router") {
174
+ return "router";
175
+ }
176
+ if (layer.name === "bound dispatch" || layer.name === "handle") {
177
+ return "request_handler";
178
+ }
179
+ return "middleware";
180
+ }
181
+ function isLayerIgnored(name, type, options) {
182
+ const { ignoreLayers, ignoreLayersType } = options;
183
+ if (Array.isArray(ignoreLayersType) && ignoreLayersType.includes(type)) {
184
+ return true;
185
+ }
186
+ if (!Array.isArray(ignoreLayers)) {
187
+ return false;
188
+ }
189
+ try {
190
+ return stringMatchesSomePattern(name, ignoreLayers, true);
191
+ } catch {
192
+ return false;
193
+ }
194
+ }
195
+
196
+ export { captureLayerError, instrumentExpress };
197
+ //# sourceMappingURL=instrumentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrumentation.js","sources":["../../../../src/integrations/express/instrumentation.ts"],"sourcesContent":["import type * as diagnosticsChannel from 'node:diagnostics_channel';\nimport { HTTP_ROUTE, SENTRY_OP } from '@sentry/conventions/attributes';\nimport { HANDLER, MIDDLEWARE, ROUTER } from '@sentry/conventions/op';\nimport type { Span } from '@sentry/core';\nimport {\n captureException,\n debug,\n getActiveSpan,\n getClient,\n getDefaultIsolationScope,\n getIsolationScope,\n hasSpanStreamingEnabled,\n REQUEST_HANDLER_SPAN_NAME_FALLBACK,\n ROUTER_SPAN_NAME_FALLBACK,\n SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,\n startInactiveSpan,\n stringMatchesSomePattern,\n withActiveSpan,\n} from '@sentry/core';\nimport { DEBUG_BUILD } from '../../debug-build';\nimport { CHANNELS } from '../../orchestrion/channels';\nimport { bindTracingChannelToSpan } from '../../tracing-channel';\nimport {\n getActualMatchedRoute,\n getConstructedRoute,\n getLayerPath,\n getLayerRegisteredPath,\n popLayerPath,\n pushLayerPath,\n setLayerRegisteredPath,\n} from './route';\nimport type {\n ExpressIntegrationOptions,\n ExpressLayer,\n ExpressLayerType,\n ExpressRequest,\n ExpressResponse,\n ExpressShouldHandleError,\n HandleChannelContext,\n MiddlewareError,\n RegistrationChannelContext,\n} from './types';\nimport { defaultShouldHandleError } from './utils';\nimport { isExpressErrorHandled, markExpressErrorHandled } from './error-handled';\nimport { setHttpServerSpanRouteAttribute } from '../../utils/setHttpServerSpanRouteAttribute';\n\nconst ORIGIN = 'auto.http.express';\n\n// `express.name`/`express.type` are Sentry-internal Express attributes (not part\n// of `@sentry/conventions`); kept in sync with `@sentry/core`'s OTel-derived\n// Express integration so the emitted spans are identical across both code paths.\nconst ATTR_EXPRESS_NAME = 'express.name';\nconst ATTR_EXPRESS_TYPE = 'express.type';\n\nconst EXPRESS_TYPE_TO_SPAN_OP: Record<string, string> = {\n middleware: MIDDLEWARE,\n request_handler: HANDLER,\n router: ROUTER,\n};\n\nconst NOOP = (): void => {};\n\nlet _isInstrumented = false;\n\nexport function instrumentExpress(\n options: ExpressIntegrationOptions,\n tracingChannel: typeof diagnosticsChannel.tracingChannel,\n): void {\n if (_isInstrumented) {\n return;\n }\n _isInstrumented = true;\n\n // Record each layer's registered path *pattern* as it is registered, so the\n // matched route can be reconstructed with its parameters intact at request\n // time. Only the `end` event matters (the layer is on the router's stack by\n // then); the others are required by the subscriber type, so no-op them.\n for (const channelName of [CHANNELS.EXPRESS_REGISTER, CHANNELS.ROUTER_REGISTER]) {\n tracingChannel<RegistrationChannelContext>(channelName).subscribe({\n start: NOOP,\n asyncStart: NOOP,\n asyncEnd: NOOP,\n error: NOOP,\n end: captureRegisteredLayerPath,\n });\n }\n\n for (const channelName of [CHANNELS.EXPRESS_HANDLE, CHANNELS.ROUTER_HANDLE]) {\n const channel = tracingChannel<HandleChannelContext>(channelName);\n\n bindTracingChannelToSpan(channel, data => getSpanForLayer(data, options), {\n beforeSpanEnd(_span, data) {\n data._sentryCleanup?.();\n },\n });\n\n // Pop the layer path when the layer hands off via `next`. `asyncStart` fires\n // when `next` is called and *before* the downstream layer runs, so the\n // per-request path chain reflects only the current chain when each layer\n // reconstructs its route. The `error` event captures throws at the layer\n // level (see `captureLayerError`), before any user error-handling middleware.\n channel.subscribe({\n start: NOOP,\n asyncEnd: NOOP,\n end: NOOP,\n error: data => captureLayerError(data, options.shouldHandleError),\n asyncStart: popLayerPathForLayer,\n });\n }\n}\n\n/**\n * Capture an error surfaced on a layer's `handle_request` channel — the throw\n * site, which runs before any user error-handling middleware.\n *\n * Each request's error is handled exactly once: the same error surfaces on every\n * parent layer's `error` event as it bubbles, and a user may also still call the\n * deprecated `setupExpressErrorHandler`. We mark the request the first time we\n * see it, so later layers and that middleware defer to this decision — the\n * integration is the single registered handler and its `shouldHandleError` wins.\n * This deliberately does not rely on `captureException`'s global dedup, which is\n * only set when an error is actually captured and so cannot express a\n * \"deliberately skipped\" decision (leaving the deprecated middleware free to\n * capture it and override `shouldHandleError`).\n *\n * `shouldHandleError` is the raw integration option: `false` disables capture\n * entirely, a function customizes the gate, and `undefined` falls back to\n * {@link defaultShouldHandleError}.\n */\nexport function captureLayerError(\n data: HandleChannelContext,\n shouldHandleError: ExpressShouldHandleError | undefined,\n): void {\n const error = data.error;\n\n // `next('route')` / `next('router')` are Express control-flow signals, not errors.\n if (!error || error === 'route' || error === 'router') {\n return;\n }\n\n // Take responsibility for this request's error exactly once (see the doc comment above). The marker\n // lives on the request — the same instance across every bubbling layer and the error middleware,\n // and always a mutable object, unlike the thrown value which may be frozen or a primitive. Mark\n // before the `shouldHandleError` gate so a \"skip\" decision also suppresses the deprecated middleware.\n const request = data.arguments?.[0] as ExpressRequest | undefined;\n if (request) {\n if (isExpressErrorHandled(request)) {\n return;\n }\n markExpressErrorHandled(request);\n }\n\n if (shouldHandleError === false) {\n return;\n }\n\n if (!(shouldHandleError ?? defaultShouldHandleError)(error as MiddlewareError)) {\n return;\n }\n\n const capture = (): string =>\n captureException(error, {\n mechanism: {\n type: 'auto.http.express',\n handled: false,\n },\n });\n\n // The channel's `error` event runs outside the layer span's async context, so\n // re-activate the bound span (when present) to parent the error event to the\n // request's trace instead of capturing it context-free.\n if (data._sentrySpan) {\n withActiveSpan(data._sentrySpan, capture);\n } else {\n capture();\n }\n}\n\n/** Record the freshly-registered layer's path pattern from a `route`/`use` call. */\nfunction captureRegisteredLayerPath(data: RegistrationChannelContext): void {\n const stack = data.self?.stack;\n if (!Array.isArray(stack)) {\n return;\n }\n const layer = stack[stack.length - 1];\n if (layer) {\n setLayerRegisteredPath(layer, getLayerPath(data.arguments ?? []));\n }\n}\n\n/** Pop the path a layer pushed once it hands control onward via `next`. */\nfunction popLayerPathForLayer(data: HandleChannelContext): void {\n if (!data._sentryStoredLayer) {\n return;\n }\n // Clear the marker first so a layer that (incorrectly) calls `next` more than\n // once can't pop again and take a parent's entry off the stack with it.\n data._sentryStoredLayer = false;\n const req = data.arguments?.[0] as ExpressRequest | undefined;\n if (req) {\n popLayerPath(req);\n }\n}\n\n/**\n * Open a span for one layer invocation. Returns `undefined` to opt the layer\n * out (error handlers, or a layer with no active parent trace) — the helper\n * then leaves the active context untouched.\n */\nfunction getSpanForLayer(data: HandleChannelContext, options: ExpressIntegrationOptions): Span | undefined {\n const layer = data.self;\n const args = data.arguments;\n if (!layer || !Array.isArray(args)) {\n return undefined;\n }\n\n // Express only treats a 4-arg handler as an error handler and skips it in\n // the normal request pipeline; match the OTel integration and don't trace it.\n if (layer.handle?.length === 4) {\n return undefined;\n }\n\n // A Route dispatches to its handlers via the same `handle_request` method,\n // but those inner layers already run inside the route-dispatch layer's\n // `request_handler` span. They carry `.method` (and no `.route`); skip them\n // so we emit one span per route, matching the OTel Express integration.\n if (layer.method && !layer.route) {\n return undefined;\n }\n\n const req = args[0] as ExpressRequest | undefined;\n const res = args[1] as ExpressResponse | undefined;\n if (!req) {\n return undefined;\n }\n\n // No active parent span means this request is being ignored (unsampled /\n // filtered), so don't open a span\n if (!getActiveSpan()) {\n return undefined;\n }\n\n const type = getLayerType(layer);\n\n // Push this layer's registered path onto the request's chain so a\n // `request_handler` can reconstruct the full route with parameters intact\n // (`req.baseUrl` only exposes the *resolved* mount prefix). The matching pop\n // happens on `asyncStart` when the layer hands off via `next`.\n const registeredPath = getLayerRegisteredPath(layer);\n if (registeredPath != null) {\n pushLayerPath(req, registeredPath);\n data._sentryStoredLayer = true;\n }\n\n // `constructedRoute` (the full registered pattern) names the span/transaction;\n // `matchedRoute` (validated against the request URL) is the `http.route`.\n // Computed for every layer type (not just `request_handler`) so routes served\n // by mounted middleware (`app.use('/trpc', handler)`) still propagate their\n // path to the root `http.server` span — mirroring the OTel Express integration,\n // which resolves the route on every layer. Without this, such transactions keep\n // the raw URL name (e.g. `GET /trpc/foo` instead of `GET /trpc`).\n const constructedRoute = getConstructedRoute(req);\n const matchedRoute = constructedRoute != null ? getActualMatchedRoute(req, constructedRoute) : undefined;\n\n const name =\n type === 'request_handler'\n ? constructedRoute || 'request handler'\n : type === 'router'\n ? (layer.path ?? '/')\n : (layer.name ?? '<anonymous>');\n\n // Propagate the route to the root `http.server` span *before* the ignore\n // check, so the transaction is still named even when the layer's own span is\n // ignored — matches the OTel Express integration's `onRouteResolved` timing.\n if (matchedRoute) {\n setHttpServerSpanRouteAttribute(matchedRoute);\n }\n\n if (type === 'request_handler' && constructedRoute) {\n const isolationScope = getIsolationScope();\n if (isolationScope !== getDefaultIsolationScope()) {\n const method = typeof req.method === 'string' ? req.method.toUpperCase() : 'GET';\n isolationScope.setTransactionName(`${method} ${constructedRoute}`);\n } else {\n DEBUG_BUILD &&\n debug.warn(\n '[instrumentation:express] Isolation scope is still default isolation scope - skipping transaction name',\n );\n }\n }\n\n // Honor `ignoreLayers`/`ignoreLayersType`: skip the span for matching layers.\n // We intentionally do NOT pop the pushed path here (unlike OTel Express, which\n // pops on ignore): the path is still popped on `asyncStart` when the layer\n // calls `next`, so a following sibling isn't polluted, while an ignored\n // *router* keeps its mount prefix on the stack for the sub-stack it dispatches\n // — so routes under an ignored router stay correct. The only entries that\n // never pop come from layers that end the response without `next()`, and those\n // sit on a per-request store that is discarded when the request ends.\n if (isLayerIgnored(name, type, options)) {\n return undefined;\n }\n\n const client = getClient();\n // With span streaming, span names have to be low cardinality, so router\n // and request handler spans are named after their route. A route that did\n // not validate against the request URL can describe a different request,\n // so those spans take the static fallback instead.\n const isStreamedSpan = !!client && hasSpanStreamingEnabled(client);\n const isStreamedRouterSpan = isStreamedSpan && type === 'router';\n const isStreamedRequestHandlerSpan = isStreamedSpan && type === 'request_handler';\n\n const span = startInactiveSpan({\n name: isStreamedRouterSpan\n ? matchedRoute || ROUTER_SPAN_NAME_FALLBACK\n : isStreamedRequestHandlerSpan\n ? matchedRoute || REQUEST_HANDLER_SPAN_NAME_FALLBACK\n : name,\n attributes: {\n [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: ORIGIN,\n [SENTRY_OP]: EXPRESS_TYPE_TO_SPAN_OP[type],\n [ATTR_EXPRESS_NAME]: name,\n [ATTR_EXPRESS_TYPE]: type,\n ...(matchedRoute ? { [HTTP_ROUTE]: matchedRoute } : {}),\n },\n });\n\n // A layer that sends the response (route handlers, typically) never calls\n // `next`, so the channel's `asyncEnd` never fires. End on the response's\n // `finish` in that case. When `next` *is* called, the helper ends the span\n // (via `asyncEnd`) and `beforeSpanEnd` removes this now-redundant listener.\n if (res && typeof res.once === 'function') {\n const onFinish = (): void => {\n span.end();\n };\n res.once('finish', onFinish);\n data._sentryCleanup = () => res.removeListener('finish', onFinish);\n }\n\n return span;\n}\n\nfunction getLayerType(layer: ExpressLayer): ExpressLayerType {\n if (layer.name === 'router') {\n return 'router';\n }\n // `bound dispatch` (v4) / `handle` — the route-dispatch layer created by `router.route()`.\n if (layer.name === 'bound dispatch' || layer.name === 'handle') {\n return 'request_handler';\n }\n return 'middleware';\n}\n\n/**\n * Whether a layer should be skipped per the `ignoreLayers`/`ignoreLayersType`\n * options. Matches `@sentry/core`'s Express `isLayerIgnored`: `ignoreLayersType`\n * filters by layer type, `ignoreLayers` matches the layer's name against\n * string/RegExp/predicate patterns (exact string match).\n */\nfunction isLayerIgnored(name: string, type: ExpressLayerType, options: ExpressIntegrationOptions): boolean {\n const { ignoreLayers, ignoreLayersType } = options;\n\n if (Array.isArray(ignoreLayersType) && ignoreLayersType.includes(type)) {\n return true;\n }\n\n if (!Array.isArray(ignoreLayers)) {\n return false;\n }\n\n try {\n return stringMatchesSomePattern(name, ignoreLayers, true);\n } catch {\n return false;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;AA8CA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAKf,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC1B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAoB,CAAA,CAA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A;AAAA,CAAA,CACT;AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI;AACF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,wBAAA,CAAyB,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,IAAI,CAAA;AAAA,CAAA,CAC1D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ;AACN,CAAA,CAAA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACT;AACF;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sources":["../../../../src/integrations/express/route.ts"],"sourcesContent":["import type { ExpressLayer, ExpressRequest } from './types';\n\n/**\n * Registered path *pattern* per routing `Layer`, captured when the layer is\n * registered via `Router.prototype.route`/`.use`. `undefined` means the layer\n * was registered without an explicit path (e.g. `app.use(mw)`), so it does not\n * contribute to the reconstructed route.\n *\n * This is the piece `req.baseUrl` can't provide: at request time `req.baseUrl`\n * holds the *resolved* mount prefix (`/api/v1`), whereas we want the registered\n * pattern (`/api/:version`).\n */\nconst layerRegisteredPaths = new WeakMap<ExpressLayer, string | undefined>();\n\n/** Record the path pattern a layer was registered with. */\nexport function setLayerRegisteredPath(layer: ExpressLayer, path: string | undefined): void {\n layerRegisteredPaths.set(layer, path);\n}\n\n/** Read the path pattern a layer was registered with, if any. */\nexport function getLayerRegisteredPath(layer: ExpressLayer): string | undefined {\n return layerRegisteredPaths.get(layer);\n}\n\n/**\n * Per-request ordered stack of the registered path patterns of the layers\n * currently on the matched chain. Layers push on entry and pop when they hand\n * off via `next`, so at any point it reflects the path from the app root down\n * to the currently-executing layer. `WeakMap` so entries are released with the\n * request.\n */\nconst requestLayerPaths = new WeakMap<ExpressRequest, string[]>();\n\nfunction getStore(req: ExpressRequest): string[] {\n let store = requestLayerPaths.get(req);\n if (!store) {\n store = [];\n requestLayerPaths.set(req, store);\n }\n return store;\n}\n\n/** Push a layer's registered path onto the request's chain. */\nexport function pushLayerPath(req: ExpressRequest, path: string): void {\n getStore(req).push(path);\n}\n\n/** Pop the most recently pushed layer path off the request's chain. */\nexport function popLayerPath(req: ExpressRequest): void {\n getStore(req).pop();\n}\n\n/**\n * The path pattern a `route`/`use` call registered, derived from its arguments.\n * A leading string/RegExp/number path becomes the pattern (arrays are joined\n * with `,`); a bare handler function yields `undefined`. Kept in sync with\n * `@sentry/core`'s Express `getLayerPath`.\n */\nexport function getLayerPath(args: unknown[]): string | undefined {\n const firstArg = args[0];\n if (Array.isArray(firstArg)) {\n return firstArg.map(segment => extractLayerPathSegment(segment) ?? '').join(',');\n }\n return extractLayerPathSegment(firstArg);\n}\n\nfunction extractLayerPathSegment(segment: unknown): string | undefined {\n return typeof segment === 'string'\n ? segment\n : segment instanceof RegExp || typeof segment === 'number'\n ? String(segment)\n : undefined;\n}\n\n/**\n * Concatenate the stored layer paths into the full route pattern (parameters\n * preserved), e.g. `/api/:version/user`. Mirrors `@sentry/core`.\n */\nexport function getConstructedRoute(req: ExpressRequest): string {\n const layersStore = getStore(req);\n\n let constructedRoute = '';\n for (const path of layersStore) {\n if (path === '/' || path === '/*') {\n continue;\n }\n constructedRoute += !constructedRoute || constructedRoute.endsWith('/') ? path : `/${path}`;\n }\n\n return constructedRoute.replace(/\\/{2,}/g, '/');\n}\n\n/**\n * Validate the constructed route against the request URL, returning it only\n * when it plausibly corresponds to a real match (otherwise `undefined`). Mirrors\n * `@sentry/core`'s `getActualMatchedRoute` — used for the `http.route` attribute.\n */\nexport function getActualMatchedRoute(req: ExpressRequest, constructedRoute: string): string | undefined {\n const layersStore = getStore(req);\n\n if (layersStore.length === 0) {\n return undefined;\n }\n\n const originalUrl = typeof req.originalUrl === 'string' ? req.originalUrl : '';\n\n // The layer store also includes root paths in case a non-existing url was requested.\n if (layersStore.every(path => path === '/')) {\n return originalUrl === '/' ? '/' : undefined;\n }\n\n if (constructedRoute === '*') {\n return constructedRoute;\n }\n\n // For RegExp routes or route arrays, return the constructed route as-is.\n if (\n constructedRoute.includes('/') &&\n (constructedRoute.includes(',') ||\n constructedRoute.includes('\\\\') ||\n constructedRoute.includes('*') ||\n constructedRoute.includes('['))\n ) {\n return constructedRoute;\n }\n\n const normalizedRoute = constructedRoute.startsWith('/') ? constructedRoute : `/${constructedRoute}`;\n\n const isValidRoute =\n normalizedRoute.length > 0 &&\n (originalUrl === normalizedRoute || originalUrl.startsWith(normalizedRoute) || isRoutePattern(normalizedRoute));\n\n return isValidRoute ? normalizedRoute : undefined;\n}\n\n/** Whether a route contains parameter/wildcard patterns (`:id`, `*`). */\nfunction isRoutePattern(route: string): boolean {\n return route.includes(':') || route.includes('*');\n}\n"],"names":[],"mappings":"AAYA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAA2B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA0C;AAGpE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB,CAAA,CAAA,CAAA,CAAA,GAAqB,IAAA,CAAA,CAAgC;AAC1F,CAAA,CAAA,oBAAA,CAAqB,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,GAAO,IAAI,CAAA;AACtC;AAGO,CAAA,CAA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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC1C;AAGA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAwB;AAC9C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,GAAG,CAAA;AAClD;;"}
@@ -0,0 +1,10 @@
1
+ function getStatusCodeFromResponse(error) {
2
+ const statusCode = error.status || error.statusCode || error.status_code || error.output?.statusCode;
3
+ return statusCode ? parseInt(statusCode, 10) : 500;
4
+ }
5
+ function defaultShouldHandleError(error) {
6
+ return getStatusCodeFromResponse(error) >= 500;
7
+ }
8
+
9
+ export { defaultShouldHandleError };
10
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../src/integrations/express/utils.ts"],"sourcesContent":["import type { MiddlewareError } from './types';\n\nfunction getStatusCodeFromResponse(error: MiddlewareError): number {\n const statusCode = error.status || error.statusCode || error.status_code || error.output?.statusCode;\n return statusCode ? parseInt(statusCode as string, 10) : 500;\n}\n\n/**\n * Default function deciding whether an error should be sent to Sentry: captures\n * 5xx errors, and treats an error without a resolvable status as a 500. Errors\n * carrying a 3xx/4xx status are skipped (client errors / redirects).\n */\nexport function defaultShouldHandleError(error: MiddlewareError): boolean {\n return getStatusCodeFromResponse(error) >= 500;\n}\n"],"names":[],"mappings":"AAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAA0B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAgC;AACjE,CAAA,CAAA,MAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,MAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAe,MAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC1F,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,UAAA,CAAA,CAAsB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;AAC3D;AAOO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAyB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAiC;AACxE,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA0B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,IAAK,CAAA,CAAA,CAAA;AAC7C;;"}
@@ -0,0 +1,33 @@
1
+ import * as diagnosticsChannel from 'node:diagnostics_channel';
2
+ import { addNonEnumerableProperty, captureException, getClient } from '@sentry/core';
3
+ import { defaultShouldHandleError, INTEGRATION_NAME } from './utils.js';
4
+
5
+ const kErrorCaptured = /* @__PURE__ */ Symbol("sentry.fastifyErrorCaptured");
6
+ function getFastifyIntegration() {
7
+ const client = getClient();
8
+ return client?.getIntegrationByName(INTEGRATION_NAME);
9
+ }
10
+ function subscribeToFastifyErrorChannel() {
11
+ diagnosticsChannel.subscribe("tracing:fastify.request.handler:error", (message) => {
12
+ const { error, request, reply } = message;
13
+ handleFastifyError(request, reply, error);
14
+ });
15
+ }
16
+ function handleFastifyError(request, reply, error) {
17
+ if (request[kErrorCaptured]) {
18
+ return;
19
+ }
20
+ const shouldHandleError = getFastifyIntegration()?.getShouldHandleError() || defaultShouldHandleError;
21
+ if (shouldHandleError(error, request, reply)) {
22
+ addNonEnumerableProperty(request, kErrorCaptured, true);
23
+ captureException(error, {
24
+ mechanism: {
25
+ handled: false,
26
+ type: "auto.function.fastify"
27
+ }
28
+ });
29
+ }
30
+ }
31
+
32
+ export { handleFastifyError, subscribeToFastifyErrorChannel };
33
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sources":["../../../../src/integrations/fastify/errors.ts"],"sourcesContent":["import type { FastifyIntegration, FastifyReply, FastifyRequest } from './types';\nimport * as diagnosticsChannel from 'node:diagnostics_channel';\nimport { addNonEnumerableProperty, captureException, getClient } from '@sentry/core';\nimport { defaultShouldHandleError, INTEGRATION_NAME } from './utils';\n\n// Marks a request whose error has already been captured, so the two code paths that surface the same\n// error (the diagnostics channel and the `onError` hook on Fastify v5) don't send it twice.\nconst kErrorCaptured = Symbol('sentry.fastifyErrorCaptured');\n\nfunction getFastifyIntegration(): FastifyIntegration | undefined {\n const client = getClient();\n return client?.getIntegrationByName(INTEGRATION_NAME);\n}\n\n/**\n * Subscribe to the Fastify v5 error diagnostics channel.\n */\nexport function subscribeToFastifyErrorChannel(): void {\n diagnosticsChannel.subscribe('tracing:fastify.request.handler:error', message => {\n const { error, request, reply } = message as {\n error: Error;\n request: FastifyRequest;\n reply: FastifyReply;\n };\n\n handleFastifyError(request, reply, error);\n });\n}\n\n/**\n * Handle a Fastify error, and possibly send it to Sentry.\n *\n * On Fastify v5 a route handler error surfaces on both the diagnostics channel\n * and the `onError` hook, so this runs twice for the same request. We mark the\n * request with a non-enumerable symbol once it has been captured, and bail out\n * on subsequent calls, so the same error is only sent once. Errors that reach\n * only one path (e.g. thrown in an `onRequest` hook, or on Fastify v3/v4 which\n * has no channel) are captured once.\n */\nexport function handleFastifyError(request: FastifyRequest, reply: FastifyReply, error: Error): void {\n if ((request as Record<symbol, unknown>)[kErrorCaptured]) {\n return;\n }\n\n const shouldHandleError = getFastifyIntegration()?.getShouldHandleError() || defaultShouldHandleError;\n\n if (shouldHandleError(error, request, reply)) {\n addNonEnumerableProperty(request, kErrorCaptured, true);\n\n captureException(error, {\n mechanism: {\n handled: false,\n type: 'auto.function.fastify',\n },\n });\n }\n}\n"],"names":[],"mappings":";;;;AAOA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA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CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAG;AAC5C,CAAA,CAAA,CAAA,CAAA,wBAAA,CAAyB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAgB,IAAI,CAAA;AAEtD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACtB,SAAA,CAAA,CAAW;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACT,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACT,IAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACR,CAAA,CAAA,CAAA,CAAA,CACD,CAAA;AAAA,CAAA,CACH;AACF;;"}
@@ -0,0 +1,25 @@
1
+ import { defineIntegration } from '@sentry/core';
2
+ import { instrumentFastify } from './instrumentation.js';
3
+ import { INTEGRATION_NAME, defaultShouldHandleError } from './utils.js';
4
+ import { subscribeToFastifyErrorChannel } from './errors.js';
5
+
6
+ const _fastifyIntegration = (({ shouldHandleError } = {}) => {
7
+ let _shouldHandleError;
8
+ return {
9
+ name: INTEGRATION_NAME,
10
+ setupOnce() {
11
+ _shouldHandleError = shouldHandleError || defaultShouldHandleError;
12
+ subscribeToFastifyErrorChannel();
13
+ instrumentFastify();
14
+ },
15
+ getShouldHandleError() {
16
+ return _shouldHandleError;
17
+ }
18
+ };
19
+ });
20
+ const fastifyIntegration = defineIntegration(_fastifyIntegration);
21
+ function setupFastifyErrorHandler(_fastify) {
22
+ }
23
+
24
+ export { fastifyIntegration, setupFastifyErrorHandler };
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/integrations/fastify/index.ts"],"sourcesContent":["import type { IntegrationFn } from '@sentry/core';\nimport { defineIntegration } from '@sentry/core';\nimport type { FastifyIntegration, FastifyReply, FastifyRequest } from './types';\nimport { instrumentFastify } from './instrumentation';\nimport { defaultShouldHandleError, INTEGRATION_NAME } from './utils';\nimport { subscribeToFastifyErrorChannel } from './errors';\n\n/**\n * Options for the Fastify integration.\n *\n * `shouldHandleError` - Callback method deciding whether error should be captured and sent to Sentry\n *\n * @example\n *\n * ```javascript\n * Sentry.init({\n * integrations: [\n * Sentry.fastifyIntegration({\n * shouldHandleError(_error, _request, reply) {\n * return reply.statusCode >= 500;\n * },\n * });\n * },\n * });\n * ```\n *\n */\ninterface FastifyIntegrationOptions {\n /**\n * Callback method deciding whether error should be captured and sent to Sentry\n * @param error Captured Fastify error\n * @param request Fastify request (or any object containing at least method, routeOptions.url, and routerPath)\n * @param reply Fastify reply (or any object containing at least statusCode)\n */\n shouldHandleError: (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean;\n}\n\nconst _fastifyIntegration = (({ shouldHandleError }: Partial<FastifyIntegrationOptions> = {}) => {\n let _shouldHandleError: (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean;\n\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n _shouldHandleError = shouldHandleError || defaultShouldHandleError;\n\n subscribeToFastifyErrorChannel();\n instrumentFastify();\n },\n getShouldHandleError() {\n return _shouldHandleError;\n },\n } satisfies FastifyIntegration;\n}) satisfies IntegrationFn;\n\n/**\n * Adds Sentry tracing instrumentation for [Fastify](https://fastify.dev/).\n * This integration supports Fastify v3.21.0-v6.\n *\n * For more information, see the [fastify documentation](https://docs.sentry.io/platforms/javascript/guides/fastify/).\n *\n * @example\n * ```javascript\n * const Sentry = require('@sentry/node');\n *\n * Sentry.init({\n * integrations: [Sentry.fastifyIntegration()],\n * })\n * ```\n */\nexport const fastifyIntegration = defineIntegration(_fastifyIntegration);\n\n/**\n * No-op kept so existing `setupFastifyErrorHandler(app)` calls keep working.\n * `fastifyIntegration` captures errors on its own.\n *\n * @deprecated Remove this call. To filter errors, set `shouldHandleError` on `fastifyIntegration` instead.\n */\nexport function setupFastifyErrorHandler(_fastify: unknown): void {\n // noop\n}\n"],"names":[],"mappings":";;;;;AAqCA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAuB,CAAC,CAAA,CAAE,iBAAA,CAAA,CAAkB,CAAA,CAAA,CAAwC,EAAC,CAAA,CAAA,CAAA,CAAA,CAAM;AAC/F,CAAA,CAAA,IAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAEJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO;AAAA,CAAA,CAAA,CAAA,CACL,CAAA,CAAA,CAAA,CAAA,EAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACN,SAAA,CAAA,CAAA,CAAY;AACV,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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