@depup/sentry__server-utils 10.75.2-depup.0 → 11.1.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 (1914) hide show
  1. package/README.md +4 -10
  2. package/build/THIRD-PARTY-LICENSES.txt +34 -361
  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 +71 -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/typesafe/constants.js +10 -0
  68. package/build/cjs/ai/typesafe/constants.js.map +1 -0
  69. package/build/cjs/ai/typesafe/index.js +113 -0
  70. package/build/cjs/ai/typesafe/index.js.map +1 -0
  71. package/build/cjs/ai/vercel-ai/index.js +71 -0
  72. package/build/cjs/ai/vercel-ai/index.js.map +1 -0
  73. package/build/cjs/ai/workers-ai/constants.js +10 -0
  74. package/build/cjs/ai/workers-ai/constants.js.map +1 -0
  75. package/build/cjs/ai/workers-ai/index.js +85 -0
  76. package/build/cjs/ai/workers-ai/index.js.map +1 -0
  77. package/build/cjs/ai/workers-ai/streaming.js +149 -0
  78. package/build/cjs/ai/workers-ai/streaming.js.map +1 -0
  79. package/build/cjs/ai/workers-ai/utils.js +113 -0
  80. package/build/cjs/ai/workers-ai/utils.js.map +1 -0
  81. package/build/cjs/async-context.js +68 -0
  82. package/build/cjs/async-context.js.map +1 -0
  83. package/build/cjs/eve.js +30 -0
  84. package/build/cjs/eve.js.map +1 -0
  85. package/build/cjs/index.js +131 -27
  86. package/build/cjs/index.js.map +1 -1
  87. package/build/cjs/index.no-diagnostic-channels.js +43 -0
  88. package/build/cjs/index.no-diagnostic-channels.js.map +1 -0
  89. package/build/cjs/integrations/amqplib.js +389 -0
  90. package/build/cjs/integrations/amqplib.js.map +1 -0
  91. package/build/cjs/integrations/anthropic.js +100 -0
  92. package/build/cjs/integrations/anthropic.js.map +1 -0
  93. package/build/cjs/integrations/aws-sdk/constants.js +16 -0
  94. package/build/cjs/integrations/aws-sdk/constants.js.map +1 -0
  95. package/build/cjs/integrations/aws-sdk/index.js +141 -0
  96. package/build/cjs/integrations/aws-sdk/index.js.map +1 -0
  97. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js +46 -0
  98. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  99. package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  100. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +424 -0
  101. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  102. package/build/cjs/integrations/aws-sdk/services/dynamodb.js +130 -0
  103. package/build/cjs/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  104. package/build/cjs/integrations/aws-sdk/services/kinesis.js +19 -0
  105. package/build/cjs/integrations/aws-sdk/services/kinesis.js.map +1 -0
  106. package/build/cjs/integrations/aws-sdk/services/lambda.js +63 -0
  107. package/build/cjs/integrations/aws-sdk/services/lambda.js.map +1 -0
  108. package/build/cjs/integrations/aws-sdk/services/s3.js +19 -0
  109. package/build/cjs/integrations/aws-sdk/services/s3.js.map +1 -0
  110. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js +25 -0
  111. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  112. package/build/cjs/integrations/aws-sdk/services/sns.js +79 -0
  113. package/build/cjs/integrations/aws-sdk/services/sns.js.map +1 -0
  114. package/build/cjs/integrations/aws-sdk/services/sqs.js +135 -0
  115. package/build/cjs/integrations/aws-sdk/services/sqs.js.map +1 -0
  116. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js +23 -0
  117. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  118. package/build/cjs/integrations/aws-sdk/utils.js.map +1 -0
  119. package/build/cjs/integrations/dataloader.js +121 -0
  120. package/build/cjs/integrations/dataloader.js.map +1 -0
  121. package/build/cjs/integrations/express/error-handled.js +17 -0
  122. package/build/cjs/integrations/express/error-handled.js.map +1 -0
  123. package/build/cjs/integrations/express/error-handler.js +43 -0
  124. package/build/cjs/integrations/express/error-handler.js.map +1 -0
  125. package/build/cjs/integrations/express/index.js +24 -0
  126. package/build/cjs/integrations/express/index.js.map +1 -0
  127. package/build/cjs/integrations/express/instrumentation.js +200 -0
  128. package/build/cjs/integrations/express/instrumentation.js.map +1 -0
  129. package/build/cjs/integrations/express/route.js.map +1 -0
  130. package/build/cjs/integrations/express/utils.js +12 -0
  131. package/build/cjs/integrations/express/utils.js.map +1 -0
  132. package/build/cjs/integrations/fastify/errors.js +36 -0
  133. package/build/cjs/integrations/fastify/errors.js.map +1 -0
  134. package/build/cjs/integrations/fastify/index.js +28 -0
  135. package/build/cjs/integrations/fastify/index.js.map +1 -0
  136. package/build/cjs/integrations/fastify/instrumentation.js +252 -0
  137. package/build/cjs/integrations/fastify/instrumentation.js.map +1 -0
  138. package/build/cjs/integrations/fastify/utils.js.map +1 -0
  139. package/build/cjs/integrations/firebase/firestore.js +92 -0
  140. package/build/cjs/integrations/firebase/firestore.js.map +1 -0
  141. package/build/cjs/integrations/firebase/functions.js +79 -0
  142. package/build/cjs/integrations/firebase/functions.js.map +1 -0
  143. package/build/cjs/integrations/firebase/index.js +20 -0
  144. package/build/cjs/integrations/firebase/index.js.map +1 -0
  145. package/build/cjs/integrations/firebase/instrumentation.js +56 -0
  146. package/build/cjs/integrations/firebase/instrumentation.js.map +1 -0
  147. package/build/cjs/integrations/flue.js +40 -0
  148. package/build/cjs/integrations/flue.js.map +1 -0
  149. package/build/cjs/integrations/generic-pool.js +36 -0
  150. package/build/cjs/integrations/generic-pool.js.map +1 -0
  151. package/build/cjs/integrations/google-genai.js +99 -0
  152. package/build/cjs/integrations/google-genai.js.map +1 -0
  153. package/build/cjs/integrations/graphql/constants.js +38 -0
  154. package/build/cjs/integrations/graphql/constants.js.map +1 -0
  155. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +122 -0
  156. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  157. package/build/cjs/integrations/graphql/index.js +60 -0
  158. package/build/cjs/integrations/graphql/index.js.map +1 -0
  159. package/build/cjs/integrations/graphql/resolvers.js +174 -0
  160. package/build/cjs/integrations/graphql/resolvers.js.map +1 -0
  161. package/build/cjs/integrations/graphql/spans.js +114 -0
  162. package/build/cjs/integrations/graphql/spans.js.map +1 -0
  163. package/build/cjs/integrations/graphql/utils.js +98 -0
  164. package/build/cjs/integrations/graphql/utils.js.map +1 -0
  165. package/build/cjs/integrations/groq.js +21 -0
  166. package/build/cjs/integrations/groq.js.map +1 -0
  167. package/build/cjs/integrations/hapi/hapi-error-handler.js +46 -0
  168. package/build/cjs/integrations/hapi/hapi-error-handler.js.map +1 -0
  169. package/build/cjs/integrations/hapi/hapi-types.js.map +1 -0
  170. package/build/cjs/integrations/hapi/hapi-utils.js +197 -0
  171. package/build/cjs/integrations/hapi/hapi-utils.js.map +1 -0
  172. package/build/cjs/integrations/hapi/index.js +73 -0
  173. package/build/cjs/integrations/hapi/index.js.map +1 -0
  174. package/build/cjs/integrations/index.js +80 -0
  175. package/build/cjs/integrations/index.js.map +1 -0
  176. package/build/cjs/integrations/kafkajs/consumer.js.map +1 -0
  177. package/build/cjs/integrations/kafkajs/index.js +70 -0
  178. package/build/cjs/integrations/kafkajs/index.js.map +1 -0
  179. package/build/cjs/integrations/kafkajs/semconv.js.map +1 -0
  180. package/build/cjs/integrations/kafkajs/spans.js +127 -0
  181. package/build/cjs/integrations/kafkajs/spans.js.map +1 -0
  182. package/build/cjs/integrations/knex.js +217 -0
  183. package/build/cjs/integrations/knex.js.map +1 -0
  184. package/build/cjs/integrations/koa/index.js +155 -0
  185. package/build/cjs/integrations/koa/index.js.map +1 -0
  186. package/build/cjs/integrations/koa/koa-error-handler.js +33 -0
  187. package/build/cjs/integrations/koa/koa-error-handler.js.map +1 -0
  188. package/build/cjs/integrations/langchain.js +77 -0
  189. package/build/cjs/integrations/langchain.js.map +1 -0
  190. package/build/cjs/integrations/langgraph.js +87 -0
  191. package/build/cjs/integrations/langgraph.js.map +1 -0
  192. package/build/cjs/integrations/lru-memoizer.js +29 -0
  193. package/build/cjs/integrations/lru-memoizer.js.map +1 -0
  194. package/build/cjs/integrations/mastra.js +245 -0
  195. package/build/cjs/integrations/mastra.js.map +1 -0
  196. package/build/cjs/integrations/mcp-server.js +37 -0
  197. package/build/cjs/integrations/mcp-server.js.map +1 -0
  198. package/build/cjs/integrations/mistral.js +68 -0
  199. package/build/cjs/integrations/mistral.js.map +1 -0
  200. package/build/cjs/integrations/mongodb/index.js +104 -0
  201. package/build/cjs/integrations/mongodb/index.js.map +1 -0
  202. package/build/cjs/integrations/mongodb/mongodb-span.js +134 -0
  203. package/build/cjs/integrations/mongodb/mongodb-span.js.map +1 -0
  204. package/build/cjs/integrations/mongoose/index.js +109 -0
  205. package/build/cjs/integrations/mongoose/index.js.map +1 -0
  206. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js +101 -0
  207. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  208. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js +41 -0
  209. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  210. package/build/cjs/integrations/mysql.js +107 -0
  211. package/build/cjs/integrations/mysql.js.map +1 -0
  212. package/build/cjs/integrations/mysql2/index.js +91 -0
  213. package/build/cjs/integrations/mysql2/index.js.map +1 -0
  214. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +73 -0
  215. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  216. package/build/cjs/integrations/openai-compatible.js +81 -0
  217. package/build/cjs/integrations/openai-compatible.js.map +1 -0
  218. package/build/cjs/integrations/openai.js +82 -0
  219. package/build/cjs/integrations/openai.js.map +1 -0
  220. package/build/cjs/integrations/postgres-js.js +200 -0
  221. package/build/cjs/integrations/postgres-js.js.map +1 -0
  222. package/build/cjs/integrations/postgres.js +172 -0
  223. package/build/cjs/integrations/postgres.js.map +1 -0
  224. package/build/cjs/integrations/postgresjs.js +226 -0
  225. package/build/cjs/integrations/postgresjs.js.map +1 -0
  226. package/build/cjs/integrations/prisma/global.js.map +1 -0
  227. package/build/cjs/integrations/prisma/index.js +36 -0
  228. package/build/cjs/integrations/prisma/index.js.map +1 -0
  229. package/build/cjs/integrations/prisma/orchestrion.js +140 -0
  230. package/build/cjs/integrations/prisma/orchestrion.js.map +1 -0
  231. package/build/cjs/integrations/prisma/tracing-helper.js +239 -0
  232. package/build/cjs/integrations/prisma/tracing-helper.js.map +1 -0
  233. package/build/cjs/integrations/redis/index.js +221 -0
  234. package/build/cjs/integrations/redis/index.js.map +1 -0
  235. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +91 -0
  236. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  237. package/build/cjs/integrations/redis/redis-cache.js +144 -0
  238. package/build/cjs/integrations/redis/redis-cache.js.map +1 -0
  239. package/build/cjs/integrations/redis/redis-dc-subscriber.js +107 -0
  240. package/build/cjs/integrations/redis/redis-dc-subscriber.js.map +1 -0
  241. package/build/cjs/integrations/redis/redis-span-name.js +32 -0
  242. package/build/cjs/integrations/redis/redis-span-name.js.map +1 -0
  243. package/build/cjs/integrations/redis/redis-statement-serializer.js.map +1 -0
  244. package/build/cjs/integrations/tedious.js +157 -0
  245. package/build/cjs/integrations/tedious.js.map +1 -0
  246. package/build/cjs/integrations/together-ai.js +19 -0
  247. package/build/cjs/integrations/together-ai.js.map +1 -0
  248. package/build/cjs/integrations/typesafe.js +45 -0
  249. package/build/cjs/integrations/typesafe.js.map +1 -0
  250. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js +13 -0
  251. package/build/cjs/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  252. package/build/cjs/integrations/vercel-ai/index.js +32 -0
  253. package/build/cjs/integrations/vercel-ai/index.js.map +1 -0
  254. package/build/cjs/integrations/vercel-ai/util.js +108 -0
  255. package/build/cjs/integrations/vercel-ai/util.js.map +1 -0
  256. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +513 -0
  257. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  258. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +400 -0
  259. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  260. package/build/cjs/opentelemetry.js +45 -0
  261. package/build/cjs/opentelemetry.js.map +1 -0
  262. package/build/cjs/orchestrion/bundler/bun.js +37 -0
  263. package/build/cjs/orchestrion/bundler/bun.js.map +1 -0
  264. package/build/cjs/orchestrion/bundler/esbuild.js +20 -0
  265. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  266. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +55 -0
  267. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  268. package/build/cjs/orchestrion/bundler/options.js +7 -20
  269. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  270. package/build/cjs/orchestrion/bundler/resolve.js +27 -0
  271. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -0
  272. package/build/cjs/orchestrion/bundler/rollup.js +40 -1
  273. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  274. package/build/cjs/orchestrion/bundler/vite.js +66 -3
  275. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  276. package/build/cjs/orchestrion/bundler/webpack-loader.js +16 -2
  277. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -1
  278. package/build/cjs/orchestrion/bundler/webpack.js +36 -29
  279. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  280. package/build/cjs/orchestrion/channels.js +14 -0
  281. package/build/cjs/orchestrion/channels.js.map +1 -1
  282. package/build/cjs/orchestrion/config/amqplib.js +4 -4
  283. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  284. package/build/cjs/orchestrion/config/anthropic-ai.js +8 -16
  285. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  286. package/build/cjs/orchestrion/config/aws-sdk.js +3 -3
  287. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  288. package/build/cjs/orchestrion/config/channel-integration-definitions.js +43 -18
  289. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  290. package/build/cjs/orchestrion/config/dataloader.js +0 -4
  291. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  292. package/build/cjs/orchestrion/config/express.js +4 -4
  293. package/build/cjs/orchestrion/config/express.js.map +1 -1
  294. package/build/cjs/orchestrion/config/firebase.js +3 -3
  295. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  296. package/build/cjs/orchestrion/config/flue.js +10 -0
  297. package/build/cjs/orchestrion/config/flue.js.map +1 -0
  298. package/build/cjs/orchestrion/config/generic-pool.js +3 -3
  299. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  300. package/build/cjs/orchestrion/config/google-genai.js +8 -7
  301. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  302. package/build/cjs/orchestrion/config/graphql.js +12 -12
  303. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  304. package/build/cjs/orchestrion/config/groq.js +19 -0
  305. package/build/cjs/orchestrion/config/groq.js.map +1 -0
  306. package/build/cjs/orchestrion/config/hapi.js +22 -4
  307. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  308. package/build/cjs/orchestrion/config/index.js +26 -32
  309. package/build/cjs/orchestrion/config/index.js.map +1 -1
  310. package/build/cjs/orchestrion/config/ioredis.js +5 -3
  311. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  312. package/build/cjs/orchestrion/config/kafkajs.js +3 -3
  313. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  314. package/build/cjs/orchestrion/config/knex.js +0 -4
  315. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  316. package/build/cjs/orchestrion/config/koa.js +16 -4
  317. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  318. package/build/cjs/orchestrion/config/langchain.js +3 -3
  319. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  320. package/build/cjs/orchestrion/config/langgraph.js +3 -3
  321. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  322. package/build/cjs/orchestrion/config/lru-memoizer.js +3 -3
  323. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  324. package/build/cjs/orchestrion/config/mastra.js +38 -0
  325. package/build/cjs/orchestrion/config/mastra.js.map +1 -0
  326. package/build/cjs/orchestrion/config/mcp-server.js +41 -0
  327. package/build/cjs/orchestrion/config/mcp-server.js.map +1 -0
  328. package/build/cjs/orchestrion/config/mistral.js +57 -0
  329. package/build/cjs/orchestrion/config/mistral.js.map +1 -0
  330. package/build/cjs/orchestrion/config/module-names.js +8 -0
  331. package/build/cjs/orchestrion/config/module-names.js.map +1 -0
  332. package/build/cjs/orchestrion/config/mongodb.js +3 -3
  333. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  334. package/build/cjs/orchestrion/config/mongoose.js +5 -3
  335. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  336. package/build/cjs/orchestrion/config/mysql.js +3 -3
  337. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  338. package/build/cjs/orchestrion/config/mysql2.js +5 -3
  339. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  340. package/build/cjs/orchestrion/config/nestjs.js +4 -8
  341. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  342. package/build/cjs/orchestrion/config/openai-compatible.js +19 -0
  343. package/build/cjs/orchestrion/config/openai-compatible.js.map +1 -0
  344. package/build/cjs/orchestrion/config/openai.js +3 -3
  345. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  346. package/build/cjs/orchestrion/config/pg.js +3 -3
  347. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  348. package/build/cjs/orchestrion/config/postgres.js +3 -3
  349. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  350. package/build/cjs/orchestrion/config/prisma.js +53 -0
  351. package/build/cjs/orchestrion/config/prisma.js.map +1 -0
  352. package/build/cjs/orchestrion/config/redis.js +5 -3
  353. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  354. package/build/cjs/orchestrion/config/registration-only.js +15 -0
  355. package/build/cjs/orchestrion/config/registration-only.js.map +1 -0
  356. package/build/cjs/orchestrion/config/remix.js +0 -4
  357. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  358. package/build/cjs/orchestrion/config/tedious.js +4 -4
  359. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  360. package/build/cjs/orchestrion/config/together-ai.js +19 -0
  361. package/build/cjs/orchestrion/config/together-ai.js.map +1 -0
  362. package/build/cjs/orchestrion/config/typesafe.js +18 -0
  363. package/build/cjs/orchestrion/config/typesafe.js.map +1 -0
  364. package/build/cjs/orchestrion/config/vercel-ai.js +7 -3
  365. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  366. package/build/cjs/orchestrion/detect.js +7 -4
  367. package/build/cjs/orchestrion/detect.js.map +1 -1
  368. package/build/cjs/orchestrion/instrumentation.js +73 -0
  369. package/build/cjs/orchestrion/instrumentation.js.map +1 -0
  370. package/build/cjs/tracing-channel.js +19 -1
  371. package/build/cjs/tracing-channel.js.map +1 -1
  372. package/build/cjs/utils/diagnosticsChannel.js +47 -0
  373. package/build/cjs/utils/diagnosticsChannel.js.map +1 -0
  374. package/build/cjs/utils/moduleInjected.js +18 -0
  375. package/build/cjs/utils/moduleInjected.js.map +1 -0
  376. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +26 -0
  377. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  378. package/build/cjs/utils/sql.js +236 -0
  379. package/build/cjs/utils/sql.js.map +1 -0
  380. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  381. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  382. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js +5 -3
  383. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  384. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  385. package/build/cjs/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  386. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +65 -0
  387. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  388. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  389. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  390. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js +4 -4
  391. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/esbuild.js.map +1 -1
  392. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -0
  393. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  394. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +117 -0
  395. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  396. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  397. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  398. package/build/cjs/vendored/module-details-from-path/index.js +2 -3
  399. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -1
  400. package/build/esm/ai/anthropic-ai/constants.js +10 -0
  401. package/build/esm/ai/anthropic-ai/constants.js.map +1 -0
  402. package/build/esm/ai/anthropic-ai/index.js +211 -0
  403. package/build/esm/ai/anthropic-ai/index.js.map +1 -0
  404. package/build/esm/ai/anthropic-ai/streaming.js +145 -0
  405. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -0
  406. package/build/esm/ai/anthropic-ai/utils.js +57 -0
  407. package/build/esm/ai/anthropic-ai/utils.js.map +1 -0
  408. package/build/esm/ai/core/gen-ai-attributes.js +8 -0
  409. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -0
  410. package/build/esm/ai/core/utils.js +155 -0
  411. package/build/esm/ai/core/utils.js.map +1 -0
  412. package/build/esm/ai/flue/constants.js +13 -0
  413. package/build/esm/ai/flue/constants.js.map +1 -0
  414. package/build/esm/ai/flue/index.js +113 -0
  415. package/build/esm/ai/flue/index.js.map +1 -0
  416. package/build/esm/ai/flue/utils.js +193 -0
  417. package/build/esm/ai/flue/utils.js.map +1 -0
  418. package/build/esm/ai/google-genai/constants.js +13 -0
  419. package/build/esm/ai/google-genai/constants.js.map +1 -0
  420. package/build/esm/ai/google-genai/index.js +255 -0
  421. package/build/esm/ai/google-genai/index.js.map +1 -0
  422. package/build/esm/ai/google-genai/streaming.js +69 -0
  423. package/build/esm/ai/google-genai/streaming.js.map +1 -0
  424. package/build/esm/ai/google-genai/utils.js +125 -0
  425. package/build/esm/ai/google-genai/utils.js.map +1 -0
  426. package/build/esm/ai/langchain/constants.js +13 -0
  427. package/build/esm/ai/langchain/constants.js.map +1 -0
  428. package/build/esm/ai/langchain/embeddings.js +78 -0
  429. package/build/esm/ai/langchain/embeddings.js.map +1 -0
  430. package/build/esm/ai/langchain/index.js +244 -0
  431. package/build/esm/ai/langchain/index.js.map +1 -0
  432. package/build/esm/ai/langchain/utils.js +263 -0
  433. package/build/esm/ai/langchain/utils.js.map +1 -0
  434. package/build/esm/ai/langgraph/constants.js +5 -0
  435. package/build/esm/ai/langgraph/constants.js.map +1 -0
  436. package/build/esm/ai/langgraph/index.js +165 -0
  437. package/build/esm/ai/langgraph/index.js.map +1 -0
  438. package/build/esm/ai/langgraph/utils.js +216 -0
  439. package/build/esm/ai/langgraph/utils.js.map +1 -0
  440. package/build/esm/ai/mastra/constants.js +29 -0
  441. package/build/esm/ai/mastra/constants.js.map +1 -0
  442. package/build/esm/ai/mastra/index.js +174 -0
  443. package/build/esm/ai/mastra/index.js.map +1 -0
  444. package/build/esm/ai/mastra/span-registry.js +16 -0
  445. package/build/esm/ai/mastra/span-registry.js.map +1 -0
  446. package/build/esm/ai/mastra/utils.js +152 -0
  447. package/build/esm/ai/mastra/utils.js.map +1 -0
  448. package/build/esm/ai/mistral/constants.js +15 -0
  449. package/build/esm/ai/mistral/constants.js.map +1 -0
  450. package/build/esm/ai/mistral/index.js +126 -0
  451. package/build/esm/ai/mistral/index.js.map +1 -0
  452. package/build/esm/ai/mistral/streaming.js +205 -0
  453. package/build/esm/ai/mistral/streaming.js.map +1 -0
  454. package/build/esm/ai/mistral/utils.js +82 -0
  455. package/build/esm/ai/mistral/utils.js.map +1 -0
  456. package/build/esm/ai/openai/constants.js +28 -0
  457. package/build/esm/ai/openai/constants.js.map +1 -0
  458. package/build/esm/ai/openai/index.js +152 -0
  459. package/build/esm/ai/openai/index.js.map +1 -0
  460. package/build/esm/ai/openai/streaming.js +124 -0
  461. package/build/esm/ai/openai/streaming.js.map +1 -0
  462. package/build/esm/ai/openai/utils.js +106 -0
  463. package/build/esm/ai/openai/utils.js.map +1 -0
  464. package/build/esm/ai/typesafe/constants.js +6 -0
  465. package/build/esm/ai/typesafe/constants.js.map +1 -0
  466. package/build/esm/ai/typesafe/index.js +108 -0
  467. package/build/esm/ai/typesafe/index.js.map +1 -0
  468. package/build/esm/ai/vercel-ai/index.js +68 -0
  469. package/build/esm/ai/vercel-ai/index.js.map +1 -0
  470. package/build/esm/ai/workers-ai/constants.js +6 -0
  471. package/build/esm/ai/workers-ai/constants.js.map +1 -0
  472. package/build/esm/ai/workers-ai/index.js +83 -0
  473. package/build/esm/ai/workers-ai/index.js.map +1 -0
  474. package/build/esm/ai/workers-ai/streaming.js +147 -0
  475. package/build/esm/ai/workers-ai/streaming.js.map +1 -0
  476. package/build/esm/ai/workers-ai/utils.js +106 -0
  477. package/build/esm/ai/workers-ai/utils.js.map +1 -0
  478. package/build/esm/async-context.js +66 -0
  479. package/build/esm/async-context.js.map +1 -0
  480. package/build/esm/eve.js +27 -0
  481. package/build/esm/eve.js.map +1 -0
  482. package/build/esm/index.js +64 -10
  483. package/build/esm/index.js.map +1 -1
  484. package/build/esm/index.no-diagnostic-channels.js +17 -0
  485. package/build/esm/index.no-diagnostic-channels.js.map +1 -0
  486. package/build/esm/integrations/amqplib.js +386 -0
  487. package/build/esm/integrations/amqplib.js.map +1 -0
  488. package/build/esm/integrations/anthropic.js +98 -0
  489. package/build/esm/integrations/anthropic.js.map +1 -0
  490. package/build/esm/integrations/aws-sdk/constants.js +9 -0
  491. package/build/esm/integrations/aws-sdk/constants.js.map +1 -0
  492. package/build/esm/integrations/aws-sdk/index.js +139 -0
  493. package/build/esm/integrations/aws-sdk/index.js.map +1 -0
  494. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +41 -0
  495. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  496. package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  497. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +422 -0
  498. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  499. package/build/esm/integrations/aws-sdk/services/dynamodb.js +128 -0
  500. package/build/esm/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  501. package/build/esm/integrations/aws-sdk/services/kinesis.js +17 -0
  502. package/build/esm/integrations/aws-sdk/services/kinesis.js.map +1 -0
  503. package/build/esm/integrations/aws-sdk/services/lambda.js +61 -0
  504. package/build/esm/integrations/aws-sdk/services/lambda.js.map +1 -0
  505. package/build/esm/integrations/aws-sdk/services/s3.js +17 -0
  506. package/build/esm/integrations/aws-sdk/services/s3.js.map +1 -0
  507. package/build/esm/integrations/aws-sdk/services/secretsmanager.js +23 -0
  508. package/build/esm/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  509. package/build/esm/integrations/aws-sdk/services/sns.js +77 -0
  510. package/build/esm/integrations/aws-sdk/services/sns.js.map +1 -0
  511. package/build/esm/integrations/aws-sdk/services/sqs.js +133 -0
  512. package/build/esm/integrations/aws-sdk/services/sqs.js.map +1 -0
  513. package/build/esm/integrations/aws-sdk/services/stepfunctions.js +21 -0
  514. package/build/esm/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  515. package/build/esm/integrations/aws-sdk/utils.js.map +1 -0
  516. package/build/esm/integrations/dataloader.js +119 -0
  517. package/build/esm/integrations/dataloader.js.map +1 -0
  518. package/build/esm/integrations/express/error-handled.js +14 -0
  519. package/build/esm/integrations/express/error-handled.js.map +1 -0
  520. package/build/esm/integrations/express/error-handler.js +40 -0
  521. package/build/esm/integrations/express/error-handler.js.map +1 -0
  522. package/build/esm/integrations/express/index.js +22 -0
  523. package/build/esm/integrations/express/index.js.map +1 -0
  524. package/build/esm/integrations/express/instrumentation.js +197 -0
  525. package/build/esm/integrations/express/instrumentation.js.map +1 -0
  526. package/build/esm/integrations/express/route.js.map +1 -0
  527. package/build/esm/integrations/express/utils.js +10 -0
  528. package/build/esm/integrations/express/utils.js.map +1 -0
  529. package/build/esm/integrations/fastify/errors.js +33 -0
  530. package/build/esm/integrations/fastify/errors.js.map +1 -0
  531. package/build/esm/integrations/fastify/index.js +25 -0
  532. package/build/esm/integrations/fastify/index.js.map +1 -0
  533. package/build/esm/integrations/fastify/instrumentation.js +250 -0
  534. package/build/esm/integrations/fastify/instrumentation.js.map +1 -0
  535. package/build/esm/integrations/fastify/utils.js.map +1 -0
  536. package/build/esm/integrations/firebase/firestore.js +76 -0
  537. package/build/esm/integrations/firebase/firestore.js.map +1 -0
  538. package/build/esm/integrations/firebase/functions.js +77 -0
  539. package/build/esm/integrations/firebase/functions.js.map +1 -0
  540. package/build/esm/integrations/firebase/index.js +18 -0
  541. package/build/esm/integrations/firebase/index.js.map +1 -0
  542. package/build/esm/integrations/firebase/instrumentation.js +54 -0
  543. package/build/esm/integrations/firebase/instrumentation.js.map +1 -0
  544. package/build/esm/integrations/flue.js +38 -0
  545. package/build/esm/integrations/flue.js.map +1 -0
  546. package/build/esm/integrations/generic-pool.js +34 -0
  547. package/build/esm/integrations/generic-pool.js.map +1 -0
  548. package/build/esm/integrations/google-genai.js +97 -0
  549. package/build/esm/integrations/google-genai.js.map +1 -0
  550. package/build/esm/integrations/graphql/constants.js +20 -0
  551. package/build/esm/integrations/graphql/constants.js.map +1 -0
  552. package/build/esm/integrations/graphql/graphql-dc-subscriber.js +115 -0
  553. package/build/esm/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  554. package/build/esm/integrations/graphql/index.js +58 -0
  555. package/build/esm/integrations/graphql/index.js.map +1 -0
  556. package/build/esm/integrations/graphql/resolvers.js +170 -0
  557. package/build/esm/integrations/graphql/resolvers.js.map +1 -0
  558. package/build/esm/integrations/graphql/spans.js +108 -0
  559. package/build/esm/integrations/graphql/spans.js.map +1 -0
  560. package/build/esm/integrations/graphql/utils.js +93 -0
  561. package/build/esm/integrations/graphql/utils.js.map +1 -0
  562. package/build/esm/integrations/groq.js +18 -0
  563. package/build/esm/integrations/groq.js.map +1 -0
  564. package/build/esm/integrations/hapi/hapi-error-handler.js +44 -0
  565. package/build/esm/integrations/hapi/hapi-error-handler.js.map +1 -0
  566. package/build/esm/integrations/hapi/hapi-types.js.map +1 -0
  567. package/build/esm/integrations/hapi/hapi-utils.js +191 -0
  568. package/build/esm/integrations/hapi/hapi-utils.js.map +1 -0
  569. package/build/esm/integrations/hapi/index.js +71 -0
  570. package/build/esm/integrations/hapi/index.js.map +1 -0
  571. package/build/esm/integrations/index.js +77 -0
  572. package/build/esm/integrations/index.js.map +1 -0
  573. package/build/esm/integrations/kafkajs/consumer.js.map +1 -0
  574. package/build/esm/integrations/kafkajs/index.js +68 -0
  575. package/build/esm/integrations/kafkajs/index.js.map +1 -0
  576. package/build/esm/integrations/kafkajs/semconv.js.map +1 -0
  577. package/build/esm/integrations/kafkajs/spans.js +120 -0
  578. package/build/esm/integrations/kafkajs/spans.js.map +1 -0
  579. package/build/esm/integrations/knex.js +215 -0
  580. package/build/esm/integrations/knex.js.map +1 -0
  581. package/build/esm/integrations/koa/index.js +153 -0
  582. package/build/esm/integrations/koa/index.js.map +1 -0
  583. package/build/esm/integrations/koa/koa-error-handler.js +30 -0
  584. package/build/esm/integrations/koa/koa-error-handler.js.map +1 -0
  585. package/build/esm/integrations/langchain.js +75 -0
  586. package/build/esm/integrations/langchain.js.map +1 -0
  587. package/build/esm/integrations/langgraph.js +85 -0
  588. package/build/esm/integrations/langgraph.js.map +1 -0
  589. package/build/esm/integrations/lru-memoizer.js +27 -0
  590. package/build/esm/integrations/lru-memoizer.js.map +1 -0
  591. package/build/esm/integrations/mastra.js +243 -0
  592. package/build/esm/integrations/mastra.js.map +1 -0
  593. package/build/esm/integrations/mcp-server.js +35 -0
  594. package/build/esm/integrations/mcp-server.js.map +1 -0
  595. package/build/esm/integrations/mistral.js +66 -0
  596. package/build/esm/integrations/mistral.js.map +1 -0
  597. package/build/esm/integrations/mongodb/index.js +102 -0
  598. package/build/esm/integrations/mongodb/index.js.map +1 -0
  599. package/build/esm/integrations/mongodb/mongodb-span.js +127 -0
  600. package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -0
  601. package/build/esm/integrations/mongoose/index.js +107 -0
  602. package/build/esm/integrations/mongoose/index.js.map +1 -0
  603. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +93 -0
  604. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  605. package/build/esm/integrations/mongoose/mongoose-legacy-span.js +39 -0
  606. package/build/esm/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  607. package/build/esm/integrations/mysql.js +105 -0
  608. package/build/esm/integrations/mysql.js.map +1 -0
  609. package/build/esm/integrations/mysql2/index.js +89 -0
  610. package/build/esm/integrations/mysql2/index.js.map +1 -0
  611. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +67 -0
  612. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  613. package/build/esm/integrations/openai-compatible.js +79 -0
  614. package/build/esm/integrations/openai-compatible.js.map +1 -0
  615. package/build/esm/integrations/openai.js +80 -0
  616. package/build/esm/integrations/openai.js.map +1 -0
  617. package/build/esm/integrations/postgres-js.js +198 -0
  618. package/build/esm/integrations/postgres-js.js.map +1 -0
  619. package/build/esm/integrations/postgres.js +170 -0
  620. package/build/esm/integrations/postgres.js.map +1 -0
  621. package/build/esm/integrations/postgresjs.js +220 -0
  622. package/build/esm/integrations/postgresjs.js.map +1 -0
  623. package/build/esm/integrations/prisma/global.js.map +1 -0
  624. package/build/esm/integrations/prisma/index.js +33 -0
  625. package/build/esm/integrations/prisma/index.js.map +1 -0
  626. package/build/esm/integrations/prisma/orchestrion.js +138 -0
  627. package/build/esm/integrations/prisma/orchestrion.js.map +1 -0
  628. package/build/esm/integrations/prisma/tracing-helper.js +236 -0
  629. package/build/esm/integrations/prisma/tracing-helper.js.map +1 -0
  630. package/build/esm/integrations/redis/index.js +219 -0
  631. package/build/esm/integrations/redis/index.js.map +1 -0
  632. package/build/esm/integrations/redis/ioredis-channel-subscriber.js +88 -0
  633. package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  634. package/build/esm/integrations/redis/redis-cache.js +133 -0
  635. package/build/esm/integrations/redis/redis-cache.js.map +1 -0
  636. package/build/esm/integrations/redis/redis-dc-subscriber.js +100 -0
  637. package/build/esm/integrations/redis/redis-dc-subscriber.js.map +1 -0
  638. package/build/esm/integrations/redis/redis-span-name.js +30 -0
  639. package/build/esm/integrations/redis/redis-span-name.js.map +1 -0
  640. package/build/esm/integrations/redis/redis-statement-serializer.js.map +1 -0
  641. package/build/esm/integrations/tedious.js +155 -0
  642. package/build/esm/integrations/tedious.js.map +1 -0
  643. package/build/esm/integrations/together-ai.js +17 -0
  644. package/build/esm/integrations/together-ai.js.map +1 -0
  645. package/build/esm/integrations/typesafe.js +43 -0
  646. package/build/esm/integrations/typesafe.js.map +1 -0
  647. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js +10 -0
  648. package/build/esm/integrations/vercel-ai/gen-ai-recording-mode.js.map +1 -0
  649. package/build/esm/integrations/vercel-ai/index.js +30 -0
  650. package/build/esm/integrations/vercel-ai/index.js.map +1 -0
  651. package/build/esm/integrations/vercel-ai/util.js +103 -0
  652. package/build/esm/integrations/vercel-ai/util.js.map +1 -0
  653. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +505 -0
  654. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  655. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +398 -0
  656. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  657. package/build/esm/opentelemetry.js +42 -0
  658. package/build/esm/opentelemetry.js.map +1 -0
  659. package/build/esm/orchestrion/bundler/bun.js +35 -0
  660. package/build/esm/orchestrion/bundler/bun.js.map +1 -0
  661. package/build/esm/orchestrion/bundler/esbuild.js +20 -0
  662. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  663. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +52 -0
  664. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -0
  665. package/build/esm/orchestrion/bundler/options.js +7 -21
  666. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  667. package/build/esm/orchestrion/bundler/resolve.js +22 -0
  668. package/build/esm/orchestrion/bundler/resolve.js.map +1 -0
  669. package/build/esm/orchestrion/bundler/rollup.js +41 -2
  670. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  671. package/build/esm/orchestrion/bundler/vite.js +67 -4
  672. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  673. package/build/esm/orchestrion/bundler/webpack-loader.js +16 -2
  674. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -1
  675. package/build/esm/orchestrion/bundler/webpack.js +34 -27
  676. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  677. package/build/esm/orchestrion/channels.js +14 -0
  678. package/build/esm/orchestrion/channels.js.map +1 -1
  679. package/build/esm/orchestrion/config/amqplib.js +4 -4
  680. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  681. package/build/esm/orchestrion/config/anthropic-ai.js +8 -16
  682. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  683. package/build/esm/orchestrion/config/aws-sdk.js +3 -3
  684. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  685. package/build/esm/orchestrion/config/channel-integration-definitions.js +43 -18
  686. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  687. package/build/esm/orchestrion/config/dataloader.js +1 -4
  688. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  689. package/build/esm/orchestrion/config/express.js +4 -4
  690. package/build/esm/orchestrion/config/express.js.map +1 -1
  691. package/build/esm/orchestrion/config/firebase.js +3 -3
  692. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  693. package/build/esm/orchestrion/config/flue.js +8 -0
  694. package/build/esm/orchestrion/config/flue.js.map +1 -0
  695. package/build/esm/orchestrion/config/generic-pool.js +3 -3
  696. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  697. package/build/esm/orchestrion/config/google-genai.js +8 -7
  698. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  699. package/build/esm/orchestrion/config/graphql.js +12 -12
  700. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  701. package/build/esm/orchestrion/config/groq.js +15 -0
  702. package/build/esm/orchestrion/config/groq.js.map +1 -0
  703. package/build/esm/orchestrion/config/hapi.js +22 -4
  704. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  705. package/build/esm/orchestrion/config/index.js +54 -61
  706. package/build/esm/orchestrion/config/index.js.map +1 -1
  707. package/build/esm/orchestrion/config/ioredis.js +5 -3
  708. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  709. package/build/esm/orchestrion/config/kafkajs.js +3 -3
  710. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  711. package/build/esm/orchestrion/config/knex.js +1 -4
  712. package/build/esm/orchestrion/config/knex.js.map +1 -1
  713. package/build/esm/orchestrion/config/koa.js +16 -4
  714. package/build/esm/orchestrion/config/koa.js.map +1 -1
  715. package/build/esm/orchestrion/config/langchain.js +3 -3
  716. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  717. package/build/esm/orchestrion/config/langgraph.js +3 -3
  718. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  719. package/build/esm/orchestrion/config/lru-memoizer.js +3 -3
  720. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  721. package/build/esm/orchestrion/config/mastra.js +34 -0
  722. package/build/esm/orchestrion/config/mastra.js.map +1 -0
  723. package/build/esm/orchestrion/config/mcp-server.js +37 -0
  724. package/build/esm/orchestrion/config/mcp-server.js.map +1 -0
  725. package/build/esm/orchestrion/config/mistral.js +53 -0
  726. package/build/esm/orchestrion/config/mistral.js.map +1 -0
  727. package/build/esm/orchestrion/config/module-names.js +6 -0
  728. package/build/esm/orchestrion/config/module-names.js.map +1 -0
  729. package/build/esm/orchestrion/config/mongodb.js +3 -3
  730. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  731. package/build/esm/orchestrion/config/mongoose.js +5 -3
  732. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  733. package/build/esm/orchestrion/config/mysql.js +3 -3
  734. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  735. package/build/esm/orchestrion/config/mysql2.js +5 -3
  736. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  737. package/build/esm/orchestrion/config/nestjs.js +5 -8
  738. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  739. package/build/esm/orchestrion/config/openai-compatible.js +17 -0
  740. package/build/esm/orchestrion/config/openai-compatible.js.map +1 -0
  741. package/build/esm/orchestrion/config/openai.js +3 -3
  742. package/build/esm/orchestrion/config/openai.js.map +1 -1
  743. package/build/esm/orchestrion/config/pg.js +3 -3
  744. package/build/esm/orchestrion/config/pg.js.map +1 -1
  745. package/build/esm/orchestrion/config/postgres.js +3 -3
  746. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  747. package/build/esm/orchestrion/config/prisma.js +47 -0
  748. package/build/esm/orchestrion/config/prisma.js.map +1 -0
  749. package/build/esm/orchestrion/config/redis.js +5 -3
  750. package/build/esm/orchestrion/config/redis.js.map +1 -1
  751. package/build/esm/orchestrion/config/registration-only.js +12 -0
  752. package/build/esm/orchestrion/config/registration-only.js.map +1 -0
  753. package/build/esm/orchestrion/config/remix.js +1 -4
  754. package/build/esm/orchestrion/config/remix.js.map +1 -1
  755. package/build/esm/orchestrion/config/tedious.js +4 -4
  756. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  757. package/build/esm/orchestrion/config/together-ai.js +15 -0
  758. package/build/esm/orchestrion/config/together-ai.js.map +1 -0
  759. package/build/esm/orchestrion/config/typesafe.js +14 -0
  760. package/build/esm/orchestrion/config/typesafe.js.map +1 -0
  761. package/build/esm/orchestrion/config/vercel-ai.js +7 -3
  762. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  763. package/build/esm/orchestrion/detect.js +7 -4
  764. package/build/esm/orchestrion/detect.js.map +1 -1
  765. package/build/esm/orchestrion/instrumentation.js +71 -0
  766. package/build/esm/orchestrion/instrumentation.js.map +1 -0
  767. package/build/esm/package.json +1 -1
  768. package/build/esm/tracing-channel.js +19 -3
  769. package/build/esm/tracing-channel.js.map +1 -1
  770. package/build/esm/utils/diagnosticsChannel.js +30 -0
  771. package/build/esm/utils/diagnosticsChannel.js.map +1 -0
  772. package/build/esm/utils/moduleInjected.js +16 -0
  773. package/build/esm/utils/moduleInjected.js.map +1 -0
  774. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +24 -0
  775. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -0
  776. package/build/esm/utils/sql.js +231 -0
  777. package/build/esm/utils/sql.js.map +1 -0
  778. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js +5 -2
  779. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/matcher.js.map +1 -1
  780. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js +6 -4
  781. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transformer.js.map +1 -1
  782. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js +51 -15
  783. package/build/esm/vendored/@apm-js-collab/code-transformer/lib/transforms.js.map +1 -1
  784. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +63 -0
  785. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  786. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  787. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  788. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js +23 -1
  789. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/instrumentation-serde-C-Xxv-jj.js.map +1 -1
  790. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +116 -0
  791. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -0
  792. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js +34 -5
  793. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack.js.map +1 -1
  794. package/build/esm/vendored/module-details-from-path/index.js +2 -2
  795. package/build/types/ai/anthropic-ai/constants.d.ts +17 -0
  796. package/build/types/ai/anthropic-ai/constants.d.ts.map +1 -0
  797. package/build/types/ai/anthropic-ai/index.d.ts +26 -0
  798. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -0
  799. package/build/types/ai/anthropic-ai/streaming.d.ts +15 -0
  800. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -0
  801. package/build/types/ai/anthropic-ai/types.d.ts +89 -0
  802. package/build/types/ai/anthropic-ai/types.d.ts.map +1 -0
  803. package/build/types/ai/anthropic-ai/utils.d.ts +21 -0
  804. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -0
  805. package/build/types/ai/core/gen-ai-attributes.d.ts +32 -0
  806. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -0
  807. package/build/types/ai/core/utils.d.ts +120 -0
  808. package/build/types/ai/core/utils.d.ts.map +1 -0
  809. package/build/types/ai/flue/constants.d.ts +37 -0
  810. package/build/types/ai/flue/constants.d.ts.map +1 -0
  811. package/build/types/ai/flue/index.d.ts +18 -0
  812. package/build/types/ai/flue/index.d.ts.map +1 -0
  813. package/build/types/ai/flue/types.d.ts +118 -0
  814. package/build/types/ai/flue/types.d.ts.map +1 -0
  815. package/build/types/ai/flue/utils.d.ts +38 -0
  816. package/build/types/ai/flue/utils.d.ts.map +1 -0
  817. package/build/types/ai/google-genai/constants.d.ts +25 -0
  818. package/build/types/ai/google-genai/constants.d.ts.map +1 -0
  819. package/build/types/ai/google-genai/index.d.ts +61 -0
  820. package/build/types/ai/google-genai/index.d.ts.map +1 -0
  821. package/build/types/ai/google-genai/streaming.d.ts +9 -0
  822. package/build/types/ai/google-genai/streaming.d.ts.map +1 -0
  823. package/build/types/ai/google-genai/types.d.ts +141 -0
  824. package/build/types/ai/google-genai/types.d.ts.map +1 -0
  825. package/build/types/ai/google-genai/utils.d.ts +50 -0
  826. package/build/types/ai/google-genai/utils.d.ts.map +1 -0
  827. package/build/types/ai/index.d.ts +17 -0
  828. package/build/types/ai/index.d.ts.map +1 -0
  829. package/build/types/ai/langchain/constants.d.ts +4 -0
  830. package/build/types/ai/langchain/constants.d.ts.map +1 -0
  831. package/build/types/ai/langchain/embeddings.d.ts +38 -0
  832. package/build/types/ai/langchain/embeddings.d.ts.map +1 -0
  833. package/build/types/ai/langchain/index.d.ts +10 -0
  834. package/build/types/ai/langchain/index.d.ts.map +1 -0
  835. package/build/types/ai/langchain/types.d.ts +136 -0
  836. package/build/types/ai/langchain/types.d.ts.map +1 -0
  837. package/build/types/ai/langchain/utils.d.ts +67 -0
  838. package/build/types/ai/langchain/utils.d.ts.map +1 -0
  839. package/build/types/ai/langgraph/constants.d.ts +3 -0
  840. package/build/types/ai/langgraph/constants.d.ts.map +1 -0
  841. package/build/types/ai/langgraph/index.d.ts +44 -0
  842. package/build/types/ai/langgraph/index.d.ts.map +1 -0
  843. package/build/types/ai/langgraph/types.d.ts +64 -0
  844. package/build/types/ai/langgraph/types.d.ts.map +1 -0
  845. package/build/types/ai/langgraph/utils.d.ts +45 -0
  846. package/build/types/ai/langgraph/utils.d.ts.map +1 -0
  847. package/build/types/ai/mastra/constants.d.ts +32 -0
  848. package/build/types/ai/mastra/constants.d.ts.map +1 -0
  849. package/build/types/ai/mastra/index.d.ts +43 -0
  850. package/build/types/ai/mastra/index.d.ts.map +1 -0
  851. package/build/types/ai/mastra/span-registry.d.ts +5 -0
  852. package/build/types/ai/mastra/span-registry.d.ts.map +1 -0
  853. package/build/types/ai/mastra/types.d.ts +84 -0
  854. package/build/types/ai/mastra/types.d.ts.map +1 -0
  855. package/build/types/ai/mastra/utils.d.ts +23 -0
  856. package/build/types/ai/mastra/utils.d.ts.map +1 -0
  857. package/build/types/ai/mistral/constants.d.ts +30 -0
  858. package/build/types/ai/mistral/constants.d.ts.map +1 -0
  859. package/build/types/ai/mistral/index.d.ts +20 -0
  860. package/build/types/ai/mistral/index.d.ts.map +1 -0
  861. package/build/types/ai/mistral/streaming.d.ts +24 -0
  862. package/build/types/ai/mistral/streaming.d.ts.map +1 -0
  863. package/build/types/ai/mistral/types.d.ts +39 -0
  864. package/build/types/ai/mistral/types.d.ts.map +1 -0
  865. package/build/types/ai/mistral/utils.d.ts +20 -0
  866. package/build/types/ai/mistral/utils.d.ts.map +1 -0
  867. package/build/types/ai/openai/constants.d.ts +18 -0
  868. package/build/types/ai/openai/constants.d.ts.map +1 -0
  869. package/build/types/ai/openai/index.d.ts +13 -0
  870. package/build/types/ai/openai/index.d.ts.map +1 -0
  871. package/build/types/ai/openai/streaming.d.ts +13 -0
  872. package/build/types/ai/openai/streaming.d.ts.map +1 -0
  873. package/build/types/ai/openai/types.d.ts +217 -0
  874. package/build/types/ai/openai/types.d.ts.map +1 -0
  875. package/build/types/ai/openai/utils.d.ts +20 -0
  876. package/build/types/ai/openai/utils.d.ts.map +1 -0
  877. package/build/types/ai/typesafe/constants.d.ts +4 -0
  878. package/build/types/ai/typesafe/constants.d.ts.map +1 -0
  879. package/build/types/ai/typesafe/index.d.ts +21 -0
  880. package/build/types/ai/typesafe/index.d.ts.map +1 -0
  881. package/build/types/ai/vercel-ai/index.d.ts +15 -0
  882. package/build/types/ai/vercel-ai/index.d.ts.map +1 -0
  883. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +239 -0
  884. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -0
  885. package/build/types/ai/workers-ai/constants.d.ts +16 -0
  886. package/build/types/ai/workers-ai/constants.d.ts.map +1 -0
  887. package/build/types/ai/workers-ai/index.d.ts +18 -0
  888. package/build/types/ai/workers-ai/index.d.ts.map +1 -0
  889. package/build/types/ai/workers-ai/streaming.d.ts +9 -0
  890. package/build/types/ai/workers-ai/streaming.d.ts.map +1 -0
  891. package/build/types/ai/workers-ai/types.d.ts +41 -0
  892. package/build/types/ai/workers-ai/types.d.ts.map +1 -0
  893. package/build/types/ai/workers-ai/utils.d.ts +24 -0
  894. package/build/types/ai/workers-ai/utils.d.ts.map +1 -0
  895. package/build/types/async-context.d.ts +15 -0
  896. package/build/types/async-context.d.ts.map +1 -0
  897. package/build/types/eve.d.ts +53 -0
  898. package/build/types/eve.d.ts.map +1 -0
  899. package/build/types/exports.d.ts +9 -0
  900. package/build/types/exports.d.ts.map +1 -0
  901. package/build/types/index.d.ts +54 -19
  902. package/build/types/index.d.ts.map +1 -1
  903. package/build/types/index.no-diagnostic-channels.d.ts +2 -0
  904. package/build/types/index.no-diagnostic-channels.d.ts.map +1 -0
  905. package/build/types/integrations/amqplib.d.ts +20 -0
  906. package/build/types/integrations/amqplib.d.ts.map +1 -0
  907. package/build/types/integrations/anthropic.d.ts +9 -0
  908. package/build/types/integrations/anthropic.d.ts.map +1 -0
  909. package/build/types/integrations/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  910. package/build/types/integrations/aws-sdk/constants.d.ts +15 -0
  911. package/build/types/integrations/aws-sdk/constants.d.ts.map +1 -0
  912. package/build/types/integrations/aws-sdk/index.d.ts +12 -0
  913. package/build/types/integrations/aws-sdk/index.d.ts.map +1 -0
  914. package/build/types/integrations/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  915. package/build/types/integrations/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  916. package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  917. package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  918. package/build/types/integrations/aws-sdk/services/dynamodb.d.ts.map +1 -0
  919. package/build/types/integrations/aws-sdk/services/index.d.ts.map +1 -0
  920. package/build/types/integrations/aws-sdk/services/kinesis.d.ts.map +1 -0
  921. package/build/types/integrations/aws-sdk/services/lambda.d.ts.map +1 -0
  922. package/build/types/integrations/aws-sdk/services/s3.d.ts.map +1 -0
  923. package/build/types/integrations/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  924. package/build/types/integrations/aws-sdk/services/sns.d.ts.map +1 -0
  925. package/build/types/integrations/aws-sdk/services/sqs.d.ts.map +1 -0
  926. package/build/types/integrations/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  927. package/build/types/integrations/aws-sdk/types.d.ts +24 -0
  928. package/build/types/integrations/aws-sdk/types.d.ts.map +1 -0
  929. package/build/types/integrations/aws-sdk/utils.d.ts.map +1 -0
  930. package/build/types/integrations/dataloader.d.ts +11 -0
  931. package/build/types/integrations/dataloader.d.ts.map +1 -0
  932. package/build/types/integrations/express/error-handled.d.ts +10 -0
  933. package/build/types/integrations/express/error-handled.d.ts.map +1 -0
  934. package/build/types/integrations/express/error-handler.d.ts +25 -0
  935. package/build/types/integrations/express/error-handler.d.ts.map +1 -0
  936. package/build/types/integrations/express/index.d.ts +17 -0
  937. package/build/types/integrations/express/index.d.ts.map +1 -0
  938. package/build/types/integrations/express/instrumentation.d.ts +23 -0
  939. package/build/types/integrations/express/instrumentation.d.ts.map +1 -0
  940. package/build/types/integrations/express/route.d.ts.map +1 -0
  941. package/build/types/integrations/express/types.d.ts +107 -0
  942. package/build/types/integrations/express/types.d.ts.map +1 -0
  943. package/build/types/integrations/express/utils.d.ts +8 -0
  944. package/build/types/integrations/express/utils.d.ts.map +1 -0
  945. package/build/types/integrations/fastify/errors.d.ts +17 -0
  946. package/build/types/integrations/fastify/errors.d.ts.map +1 -0
  947. package/build/types/integrations/fastify/index.d.ts +57 -0
  948. package/build/types/integrations/fastify/index.d.ts.map +1 -0
  949. package/build/types/integrations/fastify/instrumentation.d.ts +6 -0
  950. package/build/types/integrations/fastify/instrumentation.d.ts.map +1 -0
  951. package/build/types/integrations/fastify/types.d.ts +31 -0
  952. package/build/types/integrations/fastify/types.d.ts.map +1 -0
  953. package/build/types/integrations/fastify/utils.d.ts +9 -0
  954. package/build/types/integrations/fastify/utils.d.ts.map +1 -0
  955. package/build/types/integrations/firebase/firestore-types.d.ts.map +1 -0
  956. package/build/types/integrations/firebase/firestore.d.ts +17 -0
  957. package/build/types/integrations/firebase/firestore.d.ts.map +1 -0
  958. package/build/types/integrations/firebase/functions.d.ts.map +1 -0
  959. package/build/types/integrations/firebase/index.d.ts +12 -0
  960. package/build/types/integrations/firebase/index.d.ts.map +1 -0
  961. package/build/types/integrations/firebase/instrumentation.d.ts.map +1 -0
  962. package/build/types/integrations/flue.d.ts +4 -0
  963. package/build/types/integrations/flue.d.ts.map +1 -0
  964. package/build/types/integrations/generic-pool.d.ts +10 -0
  965. package/build/types/integrations/generic-pool.d.ts.map +1 -0
  966. package/build/types/integrations/google-genai.d.ts +11 -0
  967. package/build/types/integrations/google-genai.d.ts.map +1 -0
  968. package/build/types/integrations/graphql/constants.d.ts +18 -0
  969. package/build/types/integrations/graphql/constants.d.ts.map +1 -0
  970. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts +98 -0
  971. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  972. package/build/types/integrations/graphql/graphql-types.d.ts.map +1 -0
  973. package/build/types/integrations/graphql/index.d.ts +9 -0
  974. package/build/types/integrations/graphql/index.d.ts.map +1 -0
  975. package/build/types/integrations/graphql/resolvers.d.ts.map +1 -0
  976. package/build/types/integrations/graphql/spans.d.ts.map +1 -0
  977. package/build/types/integrations/graphql/types.d.ts +41 -0
  978. package/build/types/integrations/graphql/types.d.ts.map +1 -0
  979. package/build/types/integrations/graphql/utils.d.ts +19 -0
  980. package/build/types/integrations/graphql/utils.d.ts.map +1 -0
  981. package/build/types/integrations/groq.d.ts +10 -0
  982. package/build/types/integrations/groq.d.ts.map +1 -0
  983. package/build/types/integrations/hapi/hapi-error-handler.d.ts +21 -0
  984. package/build/types/integrations/hapi/hapi-error-handler.d.ts.map +1 -0
  985. package/build/types/integrations/hapi/hapi-types.d.ts +99 -0
  986. package/build/types/integrations/hapi/hapi-types.d.ts.map +1 -0
  987. package/build/types/integrations/hapi/hapi-utils.d.ts +34 -0
  988. package/build/types/integrations/hapi/hapi-utils.d.ts.map +1 -0
  989. package/build/types/integrations/hapi/index.d.ts +35 -0
  990. package/build/types/integrations/hapi/index.d.ts.map +1 -0
  991. package/build/types/integrations/index.d.ts +6 -0
  992. package/build/types/integrations/index.d.ts.map +1 -0
  993. package/build/types/integrations/kafkajs/consumer.d.ts.map +1 -0
  994. package/build/types/integrations/kafkajs/index.d.ts +16 -0
  995. package/build/types/integrations/kafkajs/index.d.ts.map +1 -0
  996. package/build/types/integrations/kafkajs/semconv.d.ts +10 -0
  997. package/build/types/integrations/kafkajs/semconv.d.ts.map +1 -0
  998. package/build/types/integrations/kafkajs/spans.d.ts +38 -0
  999. package/build/types/integrations/kafkajs/spans.d.ts.map +1 -0
  1000. package/build/types/integrations/kafkajs/types.d.ts.map +1 -0
  1001. package/build/types/integrations/knex.d.ts +11 -0
  1002. package/build/types/integrations/knex.d.ts.map +1 -0
  1003. package/build/types/integrations/koa/index.d.ts +14 -0
  1004. package/build/types/integrations/koa/index.d.ts.map +1 -0
  1005. package/build/types/integrations/koa/koa-error-handler.d.ts +33 -0
  1006. package/build/types/integrations/koa/koa-error-handler.d.ts.map +1 -0
  1007. package/build/types/integrations/langchain.d.ts +9 -0
  1008. package/build/types/integrations/langchain.d.ts.map +1 -0
  1009. package/build/types/integrations/langgraph.d.ts +9 -0
  1010. package/build/types/integrations/langgraph.d.ts.map +1 -0
  1011. package/build/types/integrations/lru-memoizer.d.ts +10 -0
  1012. package/build/types/integrations/lru-memoizer.d.ts.map +1 -0
  1013. package/build/types/integrations/mastra.d.ts +18 -0
  1014. package/build/types/integrations/mastra.d.ts.map +1 -0
  1015. package/build/types/integrations/mcp-server.d.ts +10 -0
  1016. package/build/types/integrations/mcp-server.d.ts.map +1 -0
  1017. package/build/types/integrations/mistral.d.ts +7 -0
  1018. package/build/types/integrations/mistral.d.ts.map +1 -0
  1019. package/build/types/integrations/mongodb/index.d.ts +12 -0
  1020. package/build/types/integrations/mongodb/index.d.ts.map +1 -0
  1021. package/build/types/integrations/mongodb/mongodb-span.d.ts +65 -0
  1022. package/build/types/integrations/mongodb/mongodb-span.d.ts.map +1 -0
  1023. package/build/types/integrations/mongoose/index.d.ts +15 -0
  1024. package/build/types/integrations/mongoose/index.d.ts.map +1 -0
  1025. package/build/types/integrations/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
  1026. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts +30 -0
  1027. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  1028. package/build/types/integrations/mysql.d.ts +12 -0
  1029. package/build/types/integrations/mysql.d.ts.map +1 -0
  1030. package/build/types/integrations/mysql2/index.d.ts +17 -0
  1031. package/build/types/integrations/mysql2/index.d.ts.map +1 -0
  1032. package/build/types/integrations/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  1033. package/build/types/integrations/openai-compatible.d.ts +32 -0
  1034. package/build/types/integrations/openai-compatible.d.ts.map +1 -0
  1035. package/build/types/integrations/openai.d.ts +9 -0
  1036. package/build/types/integrations/openai.d.ts.map +1 -0
  1037. package/build/types/integrations/postgres-js.d.ts +27 -0
  1038. package/build/types/integrations/postgres-js.d.ts.map +1 -0
  1039. package/build/types/integrations/postgres.d.ts +15 -0
  1040. package/build/types/integrations/postgres.d.ts.map +1 -0
  1041. package/build/types/integrations/postgresjs.d.ts +75 -0
  1042. package/build/types/integrations/postgresjs.d.ts.map +1 -0
  1043. package/build/types/integrations/prisma/global.d.ts.map +1 -0
  1044. package/build/types/integrations/prisma/index.d.ts +43 -0
  1045. package/build/types/integrations/prisma/index.d.ts.map +1 -0
  1046. package/build/types/integrations/prisma/orchestrion.d.ts +10 -0
  1047. package/build/types/integrations/prisma/orchestrion.d.ts.map +1 -0
  1048. package/build/types/integrations/prisma/tracing-helper.d.ts +48 -0
  1049. package/build/types/integrations/prisma/tracing-helper.d.ts.map +1 -0
  1050. package/build/types/integrations/prisma/types.d.ts +37 -0
  1051. package/build/types/integrations/prisma/types.d.ts.map +1 -0
  1052. package/build/types/integrations/redis/index.d.ts +25 -0
  1053. package/build/types/integrations/redis/index.d.ts.map +1 -0
  1054. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts +30 -0
  1055. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts.map +1 -0
  1056. package/build/types/integrations/redis/redis-cache.d.ts +61 -0
  1057. package/build/types/integrations/redis/redis-cache.d.ts.map +1 -0
  1058. package/build/types/integrations/redis/redis-dc-subscriber.d.ts +81 -0
  1059. package/build/types/integrations/redis/redis-dc-subscriber.d.ts.map +1 -0
  1060. package/build/types/integrations/redis/redis-span-name.d.ts +24 -0
  1061. package/build/types/integrations/redis/redis-span-name.d.ts.map +1 -0
  1062. package/build/types/integrations/redis/redis-statement-serializer.d.ts.map +1 -0
  1063. package/build/types/integrations/tedious.d.ts +11 -0
  1064. package/build/types/integrations/tedious.d.ts.map +1 -0
  1065. package/build/types/integrations/together-ai.d.ts +9 -0
  1066. package/build/types/integrations/together-ai.d.ts.map +1 -0
  1067. package/build/types/integrations/typesafe.d.ts +10 -0
  1068. package/build/types/integrations/typesafe.d.ts.map +1 -0
  1069. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts +15 -0
  1070. package/build/types/integrations/vercel-ai/gen-ai-recording-mode.d.ts.map +1 -0
  1071. package/build/types/integrations/vercel-ai/index.d.ts +12 -0
  1072. package/build/types/integrations/vercel-ai/index.d.ts.map +1 -0
  1073. package/build/types/integrations/vercel-ai/util.d.ts +30 -0
  1074. package/build/types/integrations/vercel-ai/util.d.ts.map +1 -0
  1075. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts +69 -0
  1076. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -0
  1077. package/build/types/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  1078. package/build/types/opentelemetry.d.ts +49 -0
  1079. package/build/types/opentelemetry.d.ts.map +1 -0
  1080. package/build/types/orchestrion/apmTypes.d.ts +4 -0
  1081. package/build/types/orchestrion/apmTypes.d.ts.map +1 -1
  1082. package/build/types/orchestrion/bundler/bun.d.ts +21 -0
  1083. package/build/types/orchestrion/bundler/bun.d.ts.map +1 -0
  1084. package/build/types/orchestrion/bundler/esbuild.d.ts +1 -0
  1085. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  1086. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +31 -0
  1087. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -0
  1088. package/build/types/orchestrion/bundler/options.d.ts +36 -31
  1089. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  1090. package/build/types/orchestrion/bundler/resolve.d.ts +35 -0
  1091. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -0
  1092. package/build/types/orchestrion/bundler/rollup.d.ts +1 -0
  1093. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  1094. package/build/types/orchestrion/bundler/vite.d.ts +1 -0
  1095. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  1096. package/build/types/orchestrion/bundler/webpack-loader.d.ts +26 -1
  1097. package/build/types/orchestrion/bundler/webpack-loader.d.ts.map +1 -1
  1098. package/build/types/orchestrion/bundler/webpack.d.ts +3 -18
  1099. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  1100. package/build/types/orchestrion/channels.d.ts +154 -125
  1101. package/build/types/orchestrion/channels.d.ts.map +1 -1
  1102. package/build/types/orchestrion/config/amqplib.d.ts +21 -22
  1103. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  1104. package/build/types/orchestrion/config/anthropic-ai.d.ts +5 -7
  1105. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  1106. package/build/types/orchestrion/config/aws-sdk.d.ts +4 -5
  1107. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  1108. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +77 -35
  1109. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  1110. package/build/types/orchestrion/config/dataloader.d.ts +17 -19
  1111. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  1112. package/build/types/orchestrion/config/express.d.ts +5 -6
  1113. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  1114. package/build/types/orchestrion/config/firebase.d.ts +23 -24
  1115. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  1116. package/build/types/orchestrion/config/flue.d.ts +9 -0
  1117. package/build/types/orchestrion/config/flue.d.ts.map +1 -0
  1118. package/build/types/orchestrion/config/generic-pool.d.ts +4 -5
  1119. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  1120. package/build/types/orchestrion/config/google-genai.d.ts +6 -7
  1121. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  1122. package/build/types/orchestrion/config/graphql.d.ts +6 -7
  1123. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  1124. package/build/types/orchestrion/config/groq.d.ts +8 -0
  1125. package/build/types/orchestrion/config/groq.d.ts.map +1 -0
  1126. package/build/types/orchestrion/config/hapi.d.ts +5 -4
  1127. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  1128. package/build/types/orchestrion/config/index.d.ts +47 -10
  1129. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  1130. package/build/types/orchestrion/config/ioredis.d.ts +4 -4
  1131. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  1132. package/build/types/orchestrion/config/kafkajs.d.ts +3 -4
  1133. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  1134. package/build/types/orchestrion/config/knex.d.ts +5 -6
  1135. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  1136. package/build/types/orchestrion/config/koa.d.ts +3 -3
  1137. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  1138. package/build/types/orchestrion/config/langchain.d.ts +4 -5
  1139. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  1140. package/build/types/orchestrion/config/langgraph.d.ts +5 -6
  1141. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  1142. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -3
  1143. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  1144. package/build/types/orchestrion/config/mastra.d.ts +8 -0
  1145. package/build/types/orchestrion/config/mastra.d.ts.map +1 -0
  1146. package/build/types/orchestrion/config/mcp-server.d.ts +8 -0
  1147. package/build/types/orchestrion/config/mcp-server.d.ts.map +1 -0
  1148. package/build/types/orchestrion/config/mistral.d.ts +46 -0
  1149. package/build/types/orchestrion/config/mistral.d.ts.map +1 -0
  1150. package/build/types/orchestrion/config/module-names.d.ts +8 -0
  1151. package/build/types/orchestrion/config/module-names.d.ts.map +1 -0
  1152. package/build/types/orchestrion/config/mongodb.d.ts +20 -21
  1153. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  1154. package/build/types/orchestrion/config/mongoose.d.ts +10 -32
  1155. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  1156. package/build/types/orchestrion/config/mysql.d.ts +2 -3
  1157. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  1158. package/build/types/orchestrion/config/mysql2.d.ts +5 -17
  1159. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  1160. package/build/types/orchestrion/config/nestjs.d.ts +10 -11
  1161. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  1162. package/build/types/orchestrion/config/openai-compatible.d.ts +17 -0
  1163. package/build/types/orchestrion/config/openai-compatible.d.ts.map +1 -0
  1164. package/build/types/orchestrion/config/openai.d.ts +4 -5
  1165. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  1166. package/build/types/orchestrion/config/pg.d.ts +7 -8
  1167. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  1168. package/build/types/orchestrion/config/postgres.d.ts +6 -6
  1169. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  1170. package/build/types/orchestrion/config/prisma.d.ts +21 -0
  1171. package/build/types/orchestrion/config/prisma.d.ts.map +1 -0
  1172. package/build/types/orchestrion/config/redis.d.ts +10 -36
  1173. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  1174. package/build/types/orchestrion/config/registration-only.d.ts +22 -0
  1175. package/build/types/orchestrion/config/registration-only.d.ts.map +1 -0
  1176. package/build/types/orchestrion/config/remix.d.ts +5 -6
  1177. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  1178. package/build/types/orchestrion/config/tedious.d.ts +9 -9
  1179. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  1180. package/build/types/orchestrion/config/together-ai.d.ts +8 -0
  1181. package/build/types/orchestrion/config/together-ai.d.ts.map +1 -0
  1182. package/build/types/orchestrion/config/typesafe.d.ts +18 -0
  1183. package/build/types/orchestrion/config/typesafe.d.ts.map +1 -0
  1184. package/build/types/orchestrion/config/vercel-ai.d.ts +9 -9
  1185. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  1186. package/build/types/orchestrion/detect.d.ts +12 -9
  1187. package/build/types/orchestrion/detect.d.ts.map +1 -1
  1188. package/build/types/orchestrion/instrumentation.d.ts +37 -0
  1189. package/build/types/orchestrion/instrumentation.d.ts.map +1 -0
  1190. package/build/types/tracing-channel.d.ts +10 -0
  1191. package/build/types/tracing-channel.d.ts.map +1 -1
  1192. package/build/types/utils/diagnosticsChannel.d.ts +12 -0
  1193. package/build/types/utils/diagnosticsChannel.d.ts.map +1 -0
  1194. package/build/types/utils/moduleInjected.d.ts +30 -0
  1195. package/build/types/utils/moduleInjected.d.ts.map +1 -0
  1196. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts +9 -0
  1197. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -0
  1198. package/build/types/utils/sql.d.ts +53 -0
  1199. package/build/types/utils/sql.d.ts.map +1 -0
  1200. package/changes.json +3 -8
  1201. package/package.json +27 -68
  1202. package/build/cjs/_virtual/chunk-D6vf50IK.js +0 -6
  1203. package/build/cjs/_virtual/chunk-D6vf50IK.js.map +0 -1
  1204. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js +0 -6
  1205. package/build/cjs/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1206. package/build/cjs/_virtual/node.js +0 -6
  1207. package/build/cjs/_virtual/node.js.map +0 -1
  1208. package/build/cjs/_virtual/transforms.js +0 -6
  1209. package/build/cjs/_virtual/transforms.js.map +0 -1
  1210. package/build/cjs/graphql/graphql-dc-subscriber.js +0 -123
  1211. package/build/cjs/graphql/graphql-dc-subscriber.js.map +0 -1
  1212. package/build/cjs/graphql/index.js +0 -36
  1213. package/build/cjs/graphql/index.js.map +0 -1
  1214. package/build/cjs/graphql/utils.js +0 -92
  1215. package/build/cjs/graphql/utils.js.map +0 -1
  1216. package/build/cjs/integrations/tracing-channel/amqplib.js +0 -433
  1217. package/build/cjs/integrations/tracing-channel/amqplib.js.map +0 -1
  1218. package/build/cjs/integrations/tracing-channel/anthropic.js +0 -114
  1219. package/build/cjs/integrations/tracing-channel/anthropic.js.map +0 -1
  1220. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +0 -16
  1221. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1222. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +0 -167
  1223. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1224. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -46
  1225. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1226. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1227. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -419
  1228. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1229. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -131
  1230. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1231. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -21
  1232. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1233. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -64
  1234. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1235. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +0 -21
  1236. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1237. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -27
  1238. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1239. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +0 -63
  1240. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1241. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -116
  1242. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1243. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -25
  1244. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1245. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1246. package/build/cjs/integrations/tracing-channel/dataloader.js +0 -118
  1247. package/build/cjs/integrations/tracing-channel/dataloader.js.map +0 -1
  1248. package/build/cjs/integrations/tracing-channel/express/index.js +0 -41
  1249. package/build/cjs/integrations/tracing-channel/express/index.js.map +0 -1
  1250. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +0 -168
  1251. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1252. package/build/cjs/integrations/tracing-channel/express/route.js.map +0 -1
  1253. package/build/cjs/integrations/tracing-channel/fastify/errors.js +0 -55
  1254. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1255. package/build/cjs/integrations/tracing-channel/fastify/index.js +0 -32
  1256. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +0 -1
  1257. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +0 -292
  1258. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1259. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1260. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +0 -91
  1261. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1262. package/build/cjs/integrations/tracing-channel/firebase/functions.js +0 -67
  1263. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1264. package/build/cjs/integrations/tracing-channel/firebase/index.js +0 -37
  1265. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +0 -1
  1266. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +0 -79
  1267. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1268. package/build/cjs/integrations/tracing-channel/generic-pool.js +0 -47
  1269. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +0 -1
  1270. package/build/cjs/integrations/tracing-channel/google-genai.js +0 -109
  1271. package/build/cjs/integrations/tracing-channel/google-genai.js.map +0 -1
  1272. package/build/cjs/integrations/tracing-channel/graphql/constants.js +0 -26
  1273. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1274. package/build/cjs/integrations/tracing-channel/graphql/index.js +0 -79
  1275. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +0 -1
  1276. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +0 -168
  1277. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1278. package/build/cjs/integrations/tracing-channel/graphql/spans.js +0 -102
  1279. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1280. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +0 -1
  1281. package/build/cjs/integrations/tracing-channel/hapi-utils.js +0 -177
  1282. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1283. package/build/cjs/integrations/tracing-channel/hapi.js +0 -65
  1284. package/build/cjs/integrations/tracing-channel/hapi.js.map +0 -1
  1285. package/build/cjs/integrations/tracing-channel/ioredis.js +0 -112
  1286. package/build/cjs/integrations/tracing-channel/ioredis.js.map +0 -1
  1287. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1288. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +0 -83
  1289. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1290. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1291. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +0 -119
  1292. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1293. package/build/cjs/integrations/tracing-channel/knex.js +0 -201
  1294. package/build/cjs/integrations/tracing-channel/knex.js.map +0 -1
  1295. package/build/cjs/integrations/tracing-channel/koa.js +0 -159
  1296. package/build/cjs/integrations/tracing-channel/koa.js.map +0 -1
  1297. package/build/cjs/integrations/tracing-channel/langchain.js +0 -75
  1298. package/build/cjs/integrations/tracing-channel/langchain.js.map +0 -1
  1299. package/build/cjs/integrations/tracing-channel/langgraph.js +0 -113
  1300. package/build/cjs/integrations/tracing-channel/langgraph.js.map +0 -1
  1301. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +0 -44
  1302. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1303. package/build/cjs/integrations/tracing-channel/mongodb.js +0 -117
  1304. package/build/cjs/integrations/tracing-channel/mongodb.js.map +0 -1
  1305. package/build/cjs/integrations/tracing-channel/mongoose.js +0 -123
  1306. package/build/cjs/integrations/tracing-channel/mongoose.js.map +0 -1
  1307. package/build/cjs/integrations/tracing-channel/mysql.js +0 -120
  1308. package/build/cjs/integrations/tracing-channel/mysql.js.map +0 -1
  1309. package/build/cjs/integrations/tracing-channel/mysql2.js +0 -96
  1310. package/build/cjs/integrations/tracing-channel/mysql2.js.map +0 -1
  1311. package/build/cjs/integrations/tracing-channel/openai.js +0 -94
  1312. package/build/cjs/integrations/tracing-channel/openai.js.map +0 -1
  1313. package/build/cjs/integrations/tracing-channel/postgres-js.js +0 -204
  1314. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +0 -1
  1315. package/build/cjs/integrations/tracing-channel/postgres.js +0 -183
  1316. package/build/cjs/integrations/tracing-channel/postgres.js.map +0 -1
  1317. package/build/cjs/integrations/tracing-channel/redis.js +0 -231
  1318. package/build/cjs/integrations/tracing-channel/redis.js.map +0 -1
  1319. package/build/cjs/integrations/tracing-channel/tedious.js +0 -158
  1320. package/build/cjs/integrations/tracing-channel/tedious.js.map +0 -1
  1321. package/build/cjs/integrations/tracing-channel/vercel-ai.js +0 -38
  1322. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1323. package/build/cjs/mongodb/mongodb-span.js +0 -133
  1324. package/build/cjs/mongodb/mongodb-span.js.map +0 -1
  1325. package/build/cjs/mongoose/index.js +0 -36
  1326. package/build/cjs/mongoose/index.js.map +0 -1
  1327. package/build/cjs/mongoose/mongoose-dc-subscriber.js +0 -97
  1328. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1329. package/build/cjs/mongoose/mongoose-legacy-span.js +0 -40
  1330. package/build/cjs/mongoose/mongoose-legacy-span.js.map +0 -1
  1331. package/build/cjs/mysql2/index.js +0 -36
  1332. package/build/cjs/mysql2/index.js.map +0 -1
  1333. package/build/cjs/mysql2/mysql2-dc-subscriber.js +0 -68
  1334. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1335. package/build/cjs/orchestrion/bundler/subscribeInjection.js +0 -41
  1336. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1337. package/build/cjs/orchestrion/config/subscribe-injection.js +0 -25
  1338. package/build/cjs/orchestrion/config/subscribe-injection.js.map +0 -1
  1339. package/build/cjs/orchestrion/index.js +0 -94
  1340. package/build/cjs/orchestrion/index.js.map +0 -1
  1341. package/build/cjs/orchestrion/registerChannelIntegration.js +0 -13
  1342. package/build/cjs/orchestrion/registerChannelIntegration.js.map +0 -1
  1343. package/build/cjs/orchestrion/runtime/hook.js +0 -17
  1344. package/build/cjs/orchestrion/runtime/hook.js.map +0 -1
  1345. package/build/cjs/orchestrion/runtime/register.js +0 -84
  1346. package/build/cjs/orchestrion/runtime/register.js.map +0 -1
  1347. package/build/cjs/prisma/global.js.map +0 -1
  1348. package/build/cjs/prisma/index.js +0 -27
  1349. package/build/cjs/prisma/index.js.map +0 -1
  1350. package/build/cjs/prisma/tracing-helper.js +0 -211
  1351. package/build/cjs/prisma/tracing-helper.js.map +0 -1
  1352. package/build/cjs/redis/index.js +0 -36
  1353. package/build/cjs/redis/index.js.map +0 -1
  1354. package/build/cjs/redis/redis-dc-subscriber.js +0 -101
  1355. package/build/cjs/redis/redis-dc-subscriber.js.map +0 -1
  1356. package/build/cjs/redis/redis-statement-serializer.js.map +0 -1
  1357. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1358. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1359. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1360. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1361. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -90
  1362. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1363. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -166
  1364. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1365. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +0 -88
  1366. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1367. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -15
  1368. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1369. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -30
  1370. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1371. package/build/cjs/vendored/debug/src/common.js +0 -178
  1372. package/build/cjs/vendored/debug/src/common.js.map +0 -1
  1373. package/build/cjs/vendored/debug/src/node.js +0 -186
  1374. package/build/cjs/vendored/debug/src/node.js.map +0 -1
  1375. package/build/cjs/vendored/has-flag/index.js +0 -11
  1376. package/build/cjs/vendored/has-flag/index.js.map +0 -1
  1377. package/build/cjs/vendored/ms/index.js +0 -115
  1378. package/build/cjs/vendored/ms/index.js.map +0 -1
  1379. package/build/cjs/vendored/supports-color/index.js +0 -104
  1380. package/build/cjs/vendored/supports-color/index.js.map +0 -1
  1381. package/build/cjs/vercel-ai/index.js +0 -36
  1382. package/build/cjs/vercel-ai/index.js.map +0 -1
  1383. package/build/cjs/vercel-ai/util.js +0 -112
  1384. package/build/cjs/vercel-ai/util.js.map +0 -1
  1385. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +0 -444
  1386. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1387. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -399
  1388. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1389. package/build/esm/_virtual/chunk-D6vf50IK.js +0 -4
  1390. package/build/esm/_virtual/chunk-D6vf50IK.js.map +0 -1
  1391. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js +0 -4
  1392. package/build/esm/_virtual/instrumentation-serde-BFky_HG6.js.map +0 -1
  1393. package/build/esm/_virtual/node.js +0 -4
  1394. package/build/esm/_virtual/node.js.map +0 -1
  1395. package/build/esm/_virtual/transforms.js +0 -4
  1396. package/build/esm/_virtual/transforms.js.map +0 -1
  1397. package/build/esm/graphql/graphql-dc-subscriber.js +0 -116
  1398. package/build/esm/graphql/graphql-dc-subscriber.js.map +0 -1
  1399. package/build/esm/graphql/index.js +0 -21
  1400. package/build/esm/graphql/index.js.map +0 -1
  1401. package/build/esm/graphql/utils.js +0 -87
  1402. package/build/esm/graphql/utils.js.map +0 -1
  1403. package/build/esm/integrations/tracing-channel/amqplib.js +0 -418
  1404. package/build/esm/integrations/tracing-channel/amqplib.js.map +0 -1
  1405. package/build/esm/integrations/tracing-channel/anthropic.js +0 -99
  1406. package/build/esm/integrations/tracing-channel/anthropic.js.map +0 -1
  1407. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +0 -9
  1408. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  1409. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +0 -152
  1410. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  1411. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -41
  1412. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  1413. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  1414. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -417
  1415. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  1416. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -129
  1417. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  1418. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +0 -19
  1419. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  1420. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -62
  1421. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  1422. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +0 -19
  1423. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  1424. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +0 -25
  1425. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  1426. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +0 -61
  1427. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  1428. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -114
  1429. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  1430. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +0 -23
  1431. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  1432. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  1433. package/build/esm/integrations/tracing-channel/dataloader.js +0 -103
  1434. package/build/esm/integrations/tracing-channel/dataloader.js.map +0 -1
  1435. package/build/esm/integrations/tracing-channel/express/index.js +0 -26
  1436. package/build/esm/integrations/tracing-channel/express/index.js.map +0 -1
  1437. package/build/esm/integrations/tracing-channel/express/instrumentation.js +0 -166
  1438. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  1439. package/build/esm/integrations/tracing-channel/express/route.js.map +0 -1
  1440. package/build/esm/integrations/tracing-channel/fastify/errors.js +0 -39
  1441. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +0 -1
  1442. package/build/esm/integrations/tracing-channel/fastify/index.js +0 -28
  1443. package/build/esm/integrations/tracing-channel/fastify/index.js.map +0 -1
  1444. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +0 -277
  1445. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  1446. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +0 -1
  1447. package/build/esm/integrations/tracing-channel/firebase/firestore.js +0 -75
  1448. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  1449. package/build/esm/integrations/tracing-channel/firebase/functions.js +0 -65
  1450. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +0 -1
  1451. package/build/esm/integrations/tracing-channel/firebase/index.js +0 -22
  1452. package/build/esm/integrations/tracing-channel/firebase/index.js.map +0 -1
  1453. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +0 -64
  1454. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  1455. package/build/esm/integrations/tracing-channel/generic-pool.js +0 -32
  1456. package/build/esm/integrations/tracing-channel/generic-pool.js.map +0 -1
  1457. package/build/esm/integrations/tracing-channel/google-genai.js +0 -94
  1458. package/build/esm/integrations/tracing-channel/google-genai.js.map +0 -1
  1459. package/build/esm/integrations/tracing-channel/graphql/constants.js +0 -14
  1460. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +0 -1
  1461. package/build/esm/integrations/tracing-channel/graphql/index.js +0 -63
  1462. package/build/esm/integrations/tracing-channel/graphql/index.js.map +0 -1
  1463. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +0 -164
  1464. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  1465. package/build/esm/integrations/tracing-channel/graphql/spans.js +0 -96
  1466. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +0 -1
  1467. package/build/esm/integrations/tracing-channel/hapi-types.js.map +0 -1
  1468. package/build/esm/integrations/tracing-channel/hapi-utils.js +0 -172
  1469. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1470. package/build/esm/integrations/tracing-channel/hapi.js +0 -50
  1471. package/build/esm/integrations/tracing-channel/hapi.js.map +0 -1
  1472. package/build/esm/integrations/tracing-channel/ioredis.js +0 -96
  1473. package/build/esm/integrations/tracing-channel/ioredis.js.map +0 -1
  1474. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1475. package/build/esm/integrations/tracing-channel/kafkajs/index.js +0 -68
  1476. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1477. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1478. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +0 -112
  1479. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1480. package/build/esm/integrations/tracing-channel/knex.js +0 -186
  1481. package/build/esm/integrations/tracing-channel/knex.js.map +0 -1
  1482. package/build/esm/integrations/tracing-channel/koa.js +0 -144
  1483. package/build/esm/integrations/tracing-channel/koa.js.map +0 -1
  1484. package/build/esm/integrations/tracing-channel/langchain.js +0 -60
  1485. package/build/esm/integrations/tracing-channel/langchain.js.map +0 -1
  1486. package/build/esm/integrations/tracing-channel/langgraph.js +0 -98
  1487. package/build/esm/integrations/tracing-channel/langgraph.js.map +0 -1
  1488. package/build/esm/integrations/tracing-channel/lru-memoizer.js +0 -29
  1489. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1490. package/build/esm/integrations/tracing-channel/mongodb.js +0 -102
  1491. package/build/esm/integrations/tracing-channel/mongodb.js.map +0 -1
  1492. package/build/esm/integrations/tracing-channel/mongoose.js +0 -108
  1493. package/build/esm/integrations/tracing-channel/mongoose.js.map +0 -1
  1494. package/build/esm/integrations/tracing-channel/mysql.js +0 -105
  1495. package/build/esm/integrations/tracing-channel/mysql.js.map +0 -1
  1496. package/build/esm/integrations/tracing-channel/mysql2.js +0 -81
  1497. package/build/esm/integrations/tracing-channel/mysql2.js.map +0 -1
  1498. package/build/esm/integrations/tracing-channel/openai.js +0 -79
  1499. package/build/esm/integrations/tracing-channel/openai.js.map +0 -1
  1500. package/build/esm/integrations/tracing-channel/postgres-js.js +0 -189
  1501. package/build/esm/integrations/tracing-channel/postgres-js.js.map +0 -1
  1502. package/build/esm/integrations/tracing-channel/postgres.js +0 -168
  1503. package/build/esm/integrations/tracing-channel/postgres.js.map +0 -1
  1504. package/build/esm/integrations/tracing-channel/redis.js +0 -216
  1505. package/build/esm/integrations/tracing-channel/redis.js.map +0 -1
  1506. package/build/esm/integrations/tracing-channel/tedious.js +0 -143
  1507. package/build/esm/integrations/tracing-channel/tedious.js.map +0 -1
  1508. package/build/esm/integrations/tracing-channel/vercel-ai.js +0 -23
  1509. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1510. package/build/esm/mongodb/mongodb-span.js +0 -126
  1511. package/build/esm/mongodb/mongodb-span.js.map +0 -1
  1512. package/build/esm/mongoose/index.js +0 -21
  1513. package/build/esm/mongoose/index.js.map +0 -1
  1514. package/build/esm/mongoose/mongoose-dc-subscriber.js +0 -89
  1515. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1516. package/build/esm/mongoose/mongoose-legacy-span.js +0 -38
  1517. package/build/esm/mongoose/mongoose-legacy-span.js.map +0 -1
  1518. package/build/esm/mysql2/index.js +0 -21
  1519. package/build/esm/mysql2/index.js.map +0 -1
  1520. package/build/esm/mysql2/mysql2-dc-subscriber.js +0 -62
  1521. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1522. package/build/esm/orchestrion/bundler/subscribeInjection.js +0 -39
  1523. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +0 -1
  1524. package/build/esm/orchestrion/config/subscribe-injection.js +0 -22
  1525. package/build/esm/orchestrion/config/subscribe-injection.js.map +0 -1
  1526. package/build/esm/orchestrion/index.js +0 -61
  1527. package/build/esm/orchestrion/index.js.map +0 -1
  1528. package/build/esm/orchestrion/registerChannelIntegration.js +0 -11
  1529. package/build/esm/orchestrion/registerChannelIntegration.js.map +0 -1
  1530. package/build/esm/orchestrion/runtime/hook.js +0 -8
  1531. package/build/esm/orchestrion/runtime/hook.js.map +0 -1
  1532. package/build/esm/orchestrion/runtime/register.js +0 -69
  1533. package/build/esm/orchestrion/runtime/register.js.map +0 -1
  1534. package/build/esm/prisma/global.js.map +0 -1
  1535. package/build/esm/prisma/index.js +0 -24
  1536. package/build/esm/prisma/index.js.map +0 -1
  1537. package/build/esm/prisma/tracing-helper.js +0 -209
  1538. package/build/esm/prisma/tracing-helper.js.map +0 -1
  1539. package/build/esm/redis/index.js +0 -21
  1540. package/build/esm/redis/index.js.map +0 -1
  1541. package/build/esm/redis/redis-dc-subscriber.js +0 -94
  1542. package/build/esm/redis/redis-dc-subscriber.js.map +0 -1
  1543. package/build/esm/redis/redis-statement-serializer.js.map +0 -1
  1544. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js +0 -33
  1545. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/chunk-D6vf50IK.js.map +0 -1
  1546. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js +0 -66
  1547. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/instrumentation-serde-BFky_HG6.js.map +0 -1
  1548. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js +0 -88
  1549. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/cjs/webpack-loader.js.map +0 -1
  1550. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -157
  1551. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1552. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +0 -86
  1553. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1554. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -13
  1555. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1556. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -27
  1557. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1558. package/build/esm/vendored/debug/src/common.js +0 -176
  1559. package/build/esm/vendored/debug/src/common.js.map +0 -1
  1560. package/build/esm/vendored/debug/src/node.js +0 -183
  1561. package/build/esm/vendored/debug/src/node.js.map +0 -1
  1562. package/build/esm/vendored/has-flag/index.js +0 -9
  1563. package/build/esm/vendored/has-flag/index.js.map +0 -1
  1564. package/build/esm/vendored/ms/index.js +0 -113
  1565. package/build/esm/vendored/ms/index.js.map +0 -1
  1566. package/build/esm/vendored/supports-color/index.js +0 -102
  1567. package/build/esm/vendored/supports-color/index.js.map +0 -1
  1568. package/build/esm/vercel-ai/index.js +0 -21
  1569. package/build/esm/vercel-ai/index.js.map +0 -1
  1570. package/build/esm/vercel-ai/util.js +0 -106
  1571. package/build/esm/vercel-ai/util.js.map +0 -1
  1572. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +0 -436
  1573. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1574. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -397
  1575. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1576. package/build/orchestrion/import-hook.mjs +0 -19
  1577. package/build/types/graphql/graphql-dc-subscriber.d.ts +0 -94
  1578. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +0 -1
  1579. package/build/types/graphql/index.d.ts +0 -12
  1580. package/build/types/graphql/index.d.ts.map +0 -1
  1581. package/build/types/graphql/utils.d.ts +0 -36
  1582. package/build/types/graphql/utils.d.ts.map +0 -1
  1583. package/build/types/integrations/tracing-channel/amqplib.d.ts +0 -11
  1584. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +0 -1
  1585. package/build/types/integrations/tracing-channel/anthropic.d.ts +0 -10
  1586. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +0 -1
  1587. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +0 -1
  1588. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1589. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +0 -1
  1590. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1591. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +0 -1
  1592. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +0 -1
  1593. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +0 -1
  1594. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +0 -1
  1595. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +0 -1
  1596. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +0 -1
  1597. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +0 -1
  1598. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +0 -1
  1599. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +0 -1
  1600. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +0 -1
  1601. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +0 -1
  1602. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +0 -1
  1603. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +0 -1
  1604. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +0 -1
  1605. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1606. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +0 -1
  1607. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +0 -1
  1608. package/build/types/integrations/tracing-channel/dataloader.d.ts +0 -11
  1609. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +0 -1
  1610. package/build/types/integrations/tracing-channel/express/index.d.ts +0 -18
  1611. package/build/types/integrations/tracing-channel/express/index.d.ts.map +0 -1
  1612. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1613. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +0 -1
  1614. package/build/types/integrations/tracing-channel/express/route.d.ts.map +0 -1
  1615. package/build/types/integrations/tracing-channel/express/types.d.ts +0 -76
  1616. package/build/types/integrations/tracing-channel/express/types.d.ts.map +0 -1
  1617. package/build/types/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1618. package/build/types/integrations/tracing-channel/fastify/errors.d.ts.map +0 -1
  1619. package/build/types/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1620. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +0 -1
  1621. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1622. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +0 -1
  1623. package/build/types/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1624. package/build/types/integrations/tracing-channel/fastify/types.d.ts.map +0 -1
  1625. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1626. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +0 -1
  1627. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +0 -1
  1628. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1629. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +0 -1
  1630. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +0 -1
  1631. package/build/types/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1632. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +0 -1
  1633. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +0 -1
  1634. package/build/types/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1635. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +0 -1
  1636. package/build/types/integrations/tracing-channel/google-genai.d.ts +0 -12
  1637. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +0 -1
  1638. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1639. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +0 -1
  1640. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +0 -1
  1641. package/build/types/integrations/tracing-channel/graphql/index.d.ts +0 -28
  1642. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +0 -1
  1643. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +0 -1
  1644. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +0 -1
  1645. package/build/types/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1646. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +0 -1
  1647. package/build/types/integrations/tracing-channel/hapi-types.d.ts +0 -53
  1648. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +0 -1
  1649. package/build/types/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1650. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +0 -1
  1651. package/build/types/integrations/tracing-channel/hapi.d.ts +0 -9
  1652. package/build/types/integrations/tracing-channel/hapi.d.ts.map +0 -1
  1653. package/build/types/integrations/tracing-channel/ioredis.d.ts +0 -37
  1654. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +0 -1
  1655. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +0 -1
  1656. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1657. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +0 -1
  1658. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1659. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +0 -1
  1660. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1661. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +0 -1
  1662. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +0 -1
  1663. package/build/types/integrations/tracing-channel/knex.d.ts +0 -11
  1664. package/build/types/integrations/tracing-channel/knex.d.ts.map +0 -1
  1665. package/build/types/integrations/tracing-channel/koa.d.ts +0 -14
  1666. package/build/types/integrations/tracing-channel/koa.d.ts.map +0 -1
  1667. package/build/types/integrations/tracing-channel/langchain.d.ts +0 -10
  1668. package/build/types/integrations/tracing-channel/langchain.d.ts.map +0 -1
  1669. package/build/types/integrations/tracing-channel/langgraph.d.ts +0 -10
  1670. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +0 -1
  1671. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1672. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +0 -1
  1673. package/build/types/integrations/tracing-channel/mongodb.d.ts +0 -12
  1674. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +0 -1
  1675. package/build/types/integrations/tracing-channel/mongoose.d.ts +0 -15
  1676. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +0 -1
  1677. package/build/types/integrations/tracing-channel/mysql.d.ts +0 -12
  1678. package/build/types/integrations/tracing-channel/mysql.d.ts.map +0 -1
  1679. package/build/types/integrations/tracing-channel/mysql2.d.ts +0 -15
  1680. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +0 -1
  1681. package/build/types/integrations/tracing-channel/openai.d.ts +0 -10
  1682. package/build/types/integrations/tracing-channel/openai.d.ts.map +0 -1
  1683. package/build/types/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1684. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +0 -1
  1685. package/build/types/integrations/tracing-channel/postgres.d.ts +0 -15
  1686. package/build/types/integrations/tracing-channel/postgres.d.ts.map +0 -1
  1687. package/build/types/integrations/tracing-channel/redis.d.ts +0 -16
  1688. package/build/types/integrations/tracing-channel/redis.d.ts.map +0 -1
  1689. package/build/types/integrations/tracing-channel/tedious.d.ts +0 -11
  1690. package/build/types/integrations/tracing-channel/tedious.d.ts.map +0 -1
  1691. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1692. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +0 -1
  1693. package/build/types/mongodb/mongodb-span.d.ts +0 -66
  1694. package/build/types/mongodb/mongodb-span.d.ts.map +0 -1
  1695. package/build/types/mongoose/index.d.ts +0 -13
  1696. package/build/types/mongoose/index.d.ts.map +0 -1
  1697. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +0 -1
  1698. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -29
  1699. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +0 -1
  1700. package/build/types/mysql2/index.d.ts +0 -11
  1701. package/build/types/mysql2/index.d.ts.map +0 -1
  1702. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +0 -1
  1703. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1704. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +0 -1
  1705. package/build/types/orchestrion/config/subscribe-injection.d.ts +0 -31
  1706. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +0 -1
  1707. package/build/types/orchestrion/index.d.ts +0 -137
  1708. package/build/types/orchestrion/index.d.ts.map +0 -1
  1709. package/build/types/orchestrion/registerChannelIntegration.d.ts +0 -33
  1710. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +0 -1
  1711. package/build/types/orchestrion/runtime/register.d.ts +0 -21
  1712. package/build/types/orchestrion/runtime/register.d.ts.map +0 -1
  1713. package/build/types/prisma/global.d.ts.map +0 -1
  1714. package/build/types/prisma/index.d.ts +0 -45
  1715. package/build/types/prisma/index.d.ts.map +0 -1
  1716. package/build/types/prisma/tracing-helper.d.ts +0 -46
  1717. package/build/types/prisma/tracing-helper.d.ts.map +0 -1
  1718. package/build/types/prisma/types.d.ts +0 -37
  1719. package/build/types/prisma/types.d.ts.map +0 -1
  1720. package/build/types/redis/index.d.ts +0 -18
  1721. package/build/types/redis/index.d.ts.map +0 -1
  1722. package/build/types/redis/redis-dc-subscriber.d.ts +0 -89
  1723. package/build/types/redis/redis-dc-subscriber.d.ts.map +0 -1
  1724. package/build/types/redis/redis-statement-serializer.d.ts.map +0 -1
  1725. package/build/types/vercel-ai/index.d.ts +0 -26
  1726. package/build/types/vercel-ai/index.d.ts.map +0 -1
  1727. package/build/types/vercel-ai/util.d.ts +0 -30
  1728. package/build/types/vercel-ai/util.d.ts.map +0 -1
  1729. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1730. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +0 -1
  1731. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +0 -1
  1732. package/build/types-ts3.8/debug-build.d.ts +0 -7
  1733. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +0 -94
  1734. package/build/types-ts3.8/graphql/index.d.ts +0 -12
  1735. package/build/types-ts3.8/graphql/utils.d.ts +0 -36
  1736. package/build/types-ts3.8/index.d.ts +0 -23
  1737. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +0 -11
  1738. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +0 -10
  1739. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +0 -43
  1740. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -15
  1741. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +0 -15
  1742. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +0 -23
  1743. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +0 -9
  1744. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +0 -10
  1745. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +0 -14
  1746. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +0 -8
  1747. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +0 -2
  1748. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +0 -6
  1749. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +0 -9
  1750. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +0 -6
  1751. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +0 -8
  1752. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +0 -9
  1753. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +0 -9
  1754. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +0 -6
  1755. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +0 -26
  1756. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +0 -5
  1757. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +0 -11
  1758. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +0 -18
  1759. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1760. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +0 -28
  1761. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +0 -76
  1762. package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1763. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1764. package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1765. package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1766. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +0 -9
  1767. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +0 -38
  1768. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +0 -18
  1769. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +0 -15
  1770. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +0 -15
  1771. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +0 -2
  1772. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1773. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +0 -12
  1774. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1775. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +0 -135
  1776. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +0 -30
  1777. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +0 -13
  1778. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +0 -17
  1779. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1780. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +0 -65
  1781. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1782. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +0 -9
  1783. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +0 -37
  1784. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +0 -8
  1785. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +0 -17
  1786. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +0 -10
  1787. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1788. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +0 -40
  1789. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +0 -11
  1790. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +0 -14
  1791. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +0 -10
  1792. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +0 -10
  1793. package/build/types-ts3.8/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1794. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +0 -12
  1795. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +0 -15
  1796. package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +0 -12
  1797. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +0 -15
  1798. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +0 -10
  1799. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1800. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +0 -15
  1801. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +0 -16
  1802. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +0 -11
  1803. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1804. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +0 -66
  1805. package/build/types-ts3.8/mongoose/index.d.ts +0 -13
  1806. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +0 -63
  1807. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +0 -29
  1808. package/build/types-ts3.8/mysql2/index.d.ts +0 -11
  1809. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +0 -59
  1810. package/build/types-ts3.8/node-diagnostics-channel.d.ts +0 -19
  1811. package/build/types-ts3.8/orchestrion/apmTypes.d.ts +0 -169
  1812. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +0 -20
  1813. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +0 -63
  1814. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +0 -17
  1815. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +0 -13
  1816. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +0 -18
  1817. package/build/types-ts3.8/orchestrion/bundler/webpack-loader.d.ts +0 -3
  1818. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +0 -35
  1819. package/build/types-ts3.8/orchestrion/channels.d.ts +0 -145
  1820. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +0 -68
  1821. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +0 -33
  1822. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +0 -21
  1823. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +0 -139
  1824. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +0 -48
  1825. package/build/types-ts3.8/orchestrion/config/express.d.ts +0 -32
  1826. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +0 -43
  1827. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +0 -33
  1828. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +0 -32
  1829. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +0 -31
  1830. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +0 -19
  1831. package/build/types-ts3.8/orchestrion/config/index.d.ts +0 -49
  1832. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +0 -8
  1833. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +0 -19
  1834. package/build/types-ts3.8/orchestrion/config/knex.d.ts +0 -10
  1835. package/build/types-ts3.8/orchestrion/config/koa.d.ts +0 -19
  1836. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +0 -20
  1837. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +0 -23
  1838. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +0 -18
  1839. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +0 -61
  1840. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +0 -42
  1841. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +0 -18
  1842. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +0 -20
  1843. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +0 -25
  1844. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -20
  1845. package/build/types-ts3.8/orchestrion/config/pg.d.ts +0 -35
  1846. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +0 -10
  1847. package/build/types-ts3.8/orchestrion/config/redis.d.ts +0 -39
  1848. package/build/types-ts3.8/orchestrion/config/remix.d.ts +0 -10
  1849. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +0 -31
  1850. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +0 -13
  1851. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +0 -13
  1852. package/build/types-ts3.8/orchestrion/detect.d.ts +0 -26
  1853. package/build/types-ts3.8/orchestrion/index.d.ts +0 -139
  1854. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +0 -33
  1855. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +0 -21
  1856. package/build/types-ts3.8/prisma/global.d.ts +0 -5
  1857. package/build/types-ts3.8/prisma/index.d.ts +0 -45
  1858. package/build/types-ts3.8/prisma/tracing-helper.d.ts +0 -52
  1859. package/build/types-ts3.8/prisma/types.d.ts +0 -40
  1860. package/build/types-ts3.8/redis/index.d.ts +0 -18
  1861. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -89
  1862. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +0 -6
  1863. package/build/types-ts3.8/tracing-channel.d.ts +0 -75
  1864. package/build/types-ts3.8/vercel-ai/index.d.ts +0 -26
  1865. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -30
  1866. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -72
  1867. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +0 -12
  1868. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1869. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1870. /package/build/cjs/integrations/{tracing-channel/express → express}/route.js +0 -0
  1871. /package/build/cjs/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1872. /package/build/cjs/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1873. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1874. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1875. /package/build/cjs/{prisma → integrations/prisma}/global.js +0 -0
  1876. /package/build/cjs/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1877. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1878. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1879. /package/build/esm/integrations/{tracing-channel/express → express}/route.js +0 -0
  1880. /package/build/esm/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1881. /package/build/esm/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1882. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1883. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1884. /package/build/esm/{prisma → integrations/prisma}/global.js +0 -0
  1885. /package/build/esm/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1886. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/aws-sdk.types.d.ts +0 -0
  1887. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/MessageAttributes.d.ts +0 -0
  1888. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServiceExtension.d.ts +0 -0
  1889. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.d.ts +0 -0
  1890. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/bedrock-runtime.d.ts +0 -0
  1891. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/dynamodb.d.ts +0 -0
  1892. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/index.d.ts +0 -0
  1893. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.d.ts +0 -0
  1894. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/lambda.d.ts +0 -0
  1895. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.d.ts +0 -0
  1896. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.d.ts +0 -0
  1897. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sns.d.ts +0 -0
  1898. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sqs.d.ts +0 -0
  1899. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.d.ts +0 -0
  1900. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.d.ts +0 -0
  1901. /package/build/types/integrations/{tracing-channel/express → express}/route.d.ts +0 -0
  1902. /package/build/types/integrations/{tracing-channel/firebase → firebase}/firestore-types.d.ts +0 -0
  1903. /package/build/types/integrations/{tracing-channel/firebase → firebase}/functions.d.ts +0 -0
  1904. /package/build/types/integrations/{tracing-channel/firebase → firebase}/instrumentation.d.ts +0 -0
  1905. /package/build/types/integrations/{tracing-channel/graphql → graphql}/graphql-types.d.ts +0 -0
  1906. /package/build/types/integrations/{tracing-channel/graphql → graphql}/resolvers.d.ts +0 -0
  1907. /package/build/types/integrations/{tracing-channel/graphql → graphql}/spans.d.ts +0 -0
  1908. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.d.ts +0 -0
  1909. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/types.d.ts +0 -0
  1910. /package/build/types/{mongoose → integrations/mongoose}/mongoose-dc-subscriber.d.ts +0 -0
  1911. /package/build/types/{mysql2 → integrations/mysql2}/mysql2-dc-subscriber.d.ts +0 -0
  1912. /package/build/types/{prisma → integrations/prisma}/global.d.ts +0 -0
  1913. /package/build/types/{redis → integrations/redis}/redis-statement-serializer.d.ts +0 -0
  1914. /package/build/types/{vercel-ai → integrations/vercel-ai}/vercel-ai-orchestrion-subscriber.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribeInjection.js","sources":["../../../../src/orchestrion/bundler/subscribeInjection.ts"],"sourcesContent":["import type { CustomTransform } from '../apmTypes';\nimport { parse } from 'meriyah';\nimport { SUBSCRIBE_INJECTIONS } from '../config';\nimport { subscriberExportForModule } from '../config/channel-integration-definitions';\nimport { SUBSCRIBE_TRANSFORM_NAME } from '../config/subscribe-injection';\nimport type { PluginOptions } from './options';\n\n// Tracks Program nodes we already injected into, so a package with several\n// instrumented files (or several configs pointing at one file) is injected only\n// once per file. A `WeakSet` keyed by the node avoids mutating the emitted AST.\nconst injectedPrograms = new WeakSet<object>();\n\n/**\n * Assignment target that keeps the injected call from being tree-shaken. See\n * {@link subscribeSnippet}. The value written is always `undefined`; only the\n * assignment matters.\n */\nconst SUBSCRIBE_INJECTION_SINK = 'globalThis.__SENTRY_ORCHESTRION_INJECT__';\n\ninterface ProgramNode {\n type: string;\n body: Array<{ type: string; directive?: string }>;\n}\n\n/**\n * Snippet injected into each instrumented module. It imports ONLY that package's\n * channel-subscriber factory (plus the `registerOrchestrionChannelIntegration`\n * helper) from `@sentry/server-utils/orchestrion`, and hands both to the helper,\n * which stores the factory on the global marker and live-registers it on any\n * existing client (see that helper for the load-order and dedup rationale).\n *\n * Importing the single named factory (rather than a central dispatch that pulls\n * in every subscriber) is what makes this tree-shake: a bundle carries only the\n * subscriber code for packages actually transformed into it. The same\n * \"only-active-when-bundled\" property the runtime module hook gives unbundled\n * Node, but without a hook (workerd can't monkey-patch requires). The helper is\n * generic (references no factory), so importing it alongside doesn't pull siblings.\n *\n * The call result is assigned to a global rather than discarded. The helper\n * returns `void` and `@sentry/server-utils` is `sideEffects: false`, so a bare\n * call statement is something a bundler can prove droppable: rollup >= 4.63.0\n * does exactly that and removes the whole registration, leaving the module\n * instrumented but unsubscribed. Writing to a property of `globalThis` is a\n * side effect no bundler can shake out, so the call survives.\n */\nfunction subscribeSnippet(exportName: string, esm: boolean): string {\n const importStmt = esm\n ? `import { ${exportName}, registerOrchestrionChannelIntegration } from '@sentry/server-utils/orchestrion';`\n : `const { ${exportName}, registerOrchestrionChannelIntegration } = require('@sentry/server-utils/orchestrion');`;\n\n return `${importStmt}\\n${SUBSCRIBE_INJECTION_SINK} = registerOrchestrionChannelIntegration(${JSON.stringify(exportName)}, ${exportName});`;\n}\n\n/**\n * The custom transform registered under {@link SUBSCRIBE_TRANSFORM_NAME}. It is\n * invoked with the matched `Program` node and mutates it in place, splicing the\n * marker-push snippet in after any `'use strict'` directive.\n *\n * `state` carries the matched config spread with `{ moduleType }`; the config's\n * `channelName` carries the package name (see `toSubscribeInjections`), which\n * maps to the subscriber's export name.\n */\nconst injectSubscribe: CustomTransform = (state, program) => {\n const node = program as ProgramNode;\n if (injectedPrograms.has(node)) {\n return;\n }\n\n const { moduleType, channelName } = state as { moduleType?: string; channelName?: string };\n const exportName = channelName ? subscriberExportForModule(channelName) : undefined;\n if (!exportName) {\n return;\n }\n\n injectedPrograms.add(node);\n\n const statements = parse(subscribeSnippet(exportName, moduleType === 'esm'), {\n module: moduleType === 'esm',\n next: true,\n }).body as ProgramNode['body'];\n\n const directiveIndex = node.body.findIndex(n => n.type === 'ExpressionStatement' && n.directive === 'use strict');\n node.body.splice(directiveIndex + 1, 0, ...statements);\n};\n\n/**\n * The `instrumentations` + `customTransforms` a bundler plugin passes to\n * {@link orchestrionTransformOptions} to enable the marker-push subscribe\n * injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).\n *\n * The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing\n * configs, and `injectSubscribe` runs on each matched module, so every\n * transformed package self-registers its subscriber on the global marker\n * without a runtime module hook.\n */\nexport function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'> {\n return {\n instrumentations: SUBSCRIBE_INJECTIONS,\n customTransforms: { [SUBSCRIBE_TRANSFORM_NAME]: injectSubscribe },\n };\n}\n"],"names":["subscriberExportForModule","parse","SUBSCRIBE_INJECTIONS","SUBSCRIBE_TRANSFORM_NAME"],"mappings":";;;;;;;AAUA,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,C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CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAwB,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAgB,CAAA,CAAA,CAClE;AACF;;"}
@@ -1,25 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const SUBSCRIBE_TRANSFORM_NAME = "sentrySubscribeOrchestrionChannel";
4
- function toSubscribeInjections(configs) {
5
- const seen = /* @__PURE__ */ new Set();
6
- const injections = [];
7
- for (const { module } of configs) {
8
- const key = `${module.name}\0${module.versionRange}\0${String(module.filePath)}`;
9
- if (seen.has(key)) {
10
- continue;
11
- }
12
- seen.add(key);
13
- injections.push({
14
- channelName: module.name,
15
- module,
16
- astQuery: "Program",
17
- transform: SUBSCRIBE_TRANSFORM_NAME
18
- });
19
- }
20
- return injections;
21
- }
22
-
23
- exports.SUBSCRIBE_TRANSFORM_NAME = SUBSCRIBE_TRANSFORM_NAME;
24
- exports.toSubscribeInjections = toSubscribeInjections;
25
- //# sourceMappingURL=subscribe-injection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscribe-injection.js","sources":["../../../../src/orchestrion/config/subscribe-injection.ts"],"sourcesContent":["import type { InstrumentationConfig } from '../apmTypes';\n\n/**\n * Name shared by the `Program` injection configs (their `transform` field) and\n * the custom transform registered on the bundler plugin (its `customTransforms`\n * key). Any unique string works — it only has to match on both sides.\n *\n * Lives in this dependency-free leaf so the per-library config files can build\n * their injection configs without importing the transform implementation (which\n * pulls in `meriyah` and must never reach the runtime `--import` path).\n */\nexport const SUBSCRIBE_TRANSFORM_NAME = 'sentrySubscribeOrchestrionChannel';\n\n/**\n * Turn a library's channel-publishing configs into the `Program`-matching\n * injection configs that make each instrumented file self-register its channel\n * subscriber (via the {@link SUBSCRIBE_TRANSFORM_NAME} custom transform).\n *\n * Emits one injection per distinct instrumented file (deduped by module\n * matcher), so the subscribe snippet lands in exactly the files that receive\n * channels and inherits their precise version ranges. `channelName` carries the\n * package name (not a real channel — nothing is wrapped here) so the transform\n * can look up which subscriber to import.\n *\n * Co-located with each library's config (e.g. `mysqlSubscribeInjection`) but\n * kept OUT of `SENTRY_INSTRUMENTATIONS`: the runtime `--import` hook consumes\n * that list and can't register the custom transform, and an unregistered\n * `transform` makes the code-transformer drop the whole file. They are\n * aggregated separately into `SUBSCRIBE_INJECTIONS` and only handed to a bundler\n * plugin that opts in (and registers the transform).\n */\nexport function toSubscribeInjections(configs: InstrumentationConfig[]): InstrumentationConfig[] {\n const seen = new Set<string>();\n const injections: InstrumentationConfig[] = [];\n\n for (const { module } of configs) {\n const key = `${module.name}\\0${module.versionRange}\\0${String(module.filePath)}`;\n\n if (seen.has(key)) {\n continue;\n }\n\n seen.add(key);\n\n injections.push({\n channelName: module.name,\n module,\n astQuery: 'Program',\n transform: SUBSCRIBE_TRANSFORM_NAME,\n });\n }\n\n return injections;\n}\n"],"names":[],"mappings":";;AAWO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,wBAAA,CAAA,CAAA,CAA2B,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;AAoBjC,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,EAAsB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA2D;AAC/F,CAAA,CAAA,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AAEZ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAK;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACd,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACpB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACV,SAAA,CAAA,CAAW,CAAA,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,CACZ,CAAA;AAAA,CAAA,CACH;AAEA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACT;;;"}
@@ -1,94 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const amqplib = require('../integrations/tracing-channel/amqplib.js');
4
- const anthropic = require('../integrations/tracing-channel/anthropic.js');
5
- const index = require('../integrations/tracing-channel/aws-sdk/index.js');
6
- const dataloader = require('../integrations/tracing-channel/dataloader.js');
7
- const genericPool = require('../integrations/tracing-channel/generic-pool.js');
8
- const googleGenai = require('../integrations/tracing-channel/google-genai.js');
9
- const index$3 = require('../integrations/tracing-channel/graphql/index.js');
10
- const hapi = require('../integrations/tracing-channel/hapi.js');
11
- const koa = require('../integrations/tracing-channel/koa.js');
12
- const ioredis = require('../integrations/tracing-channel/ioredis.js');
13
- const index$4 = require('../integrations/tracing-channel/kafkajs/index.js');
14
- const knex = require('../integrations/tracing-channel/knex.js');
15
- const langchain = require('../integrations/tracing-channel/langchain.js');
16
- const langgraph = require('../integrations/tracing-channel/langgraph.js');
17
- const lruMemoizer = require('../integrations/tracing-channel/lru-memoizer.js');
18
- const mongodb = require('../integrations/tracing-channel/mongodb.js');
19
- const mongoose = require('../integrations/tracing-channel/mongoose.js');
20
- const mysql = require('../integrations/tracing-channel/mysql.js');
21
- const mysql2 = require('../integrations/tracing-channel/mysql2.js');
22
- const openai = require('../integrations/tracing-channel/openai.js');
23
- const postgres = require('../integrations/tracing-channel/postgres.js');
24
- const postgresJs = require('../integrations/tracing-channel/postgres-js.js');
25
- const tedious = require('../integrations/tracing-channel/tedious.js');
26
- const vercelAi = require('../integrations/tracing-channel/vercel-ai.js');
27
- const index$1 = require('../integrations/tracing-channel/express/index.js');
28
- const index$2 = require('../integrations/tracing-channel/firebase/index.js');
29
- const detect = require('./detect.js');
30
- const registerChannelIntegration = require('./registerChannelIntegration.js');
31
- const nestjs = require('./config/nestjs.js');
32
- const remix = require('./config/remix.js');
33
- const redis = require('../integrations/tracing-channel/redis.js');
34
-
35
- const channelIntegrations = {
36
- postgresIntegration: postgres.postgresChannelIntegration,
37
- postgresJsIntegration: postgresJs.postgresJsChannelIntegration,
38
- mongoIntegration: mongodb.mongodbChannelIntegration,
39
- mysqlIntegration: mysql.mysqlChannelIntegration,
40
- mysql2Integration: mysql2.mysql2ChannelIntegration,
41
- genericPoolIntegration: genericPool.genericPoolChannelIntegration,
42
- mongooseIntegration: mongoose.mongooseChannelIntegration,
43
- lruMemoizerIntegration: lruMemoizer.lruMemoizerChannelIntegration,
44
- openaiIntegration: openai.openaiChannelIntegration,
45
- anthropicIntegration: anthropic.anthropicChannelIntegration,
46
- googleGenAIIntegration: googleGenai.googleGenAIChannelIntegration,
47
- langChainIntegration: langchain.langChainChannelIntegration,
48
- langGraphIntegration: langgraph.langGraphChannelIntegration,
49
- vercelAiIntegration: vercelAi.vercelAiChannelIntegration,
50
- amqplibIntegration: amqplib.amqplibChannelIntegration,
51
- hapiIntegration: hapi.hapiChannelIntegration,
52
- koaIntegration: koa.koaChannelIntegration,
53
- expressIntegration: index$1.expressChannelIntegration,
54
- graphqlIntegration: index$3.graphqlDiagnosticsChannelIntegration,
55
- kafkajsIntegration: index$4.kafkajsChannelIntegration,
56
- tediousIntegration: tedious.tediousChannelIntegration,
57
- awsIntegration: index.awsChannelIntegration,
58
- firebaseIntegration: index$2.firebaseChannelIntegration
59
- };
60
-
61
- exports.amqplibChannelIntegration = amqplib.amqplibChannelIntegration;
62
- exports.anthropicChannelIntegration = anthropic.anthropicChannelIntegration;
63
- exports.awsChannelIntegration = index.awsChannelIntegration;
64
- exports.dataloaderChannelIntegration = dataloader.dataloaderChannelIntegration;
65
- exports.genericPoolChannelIntegration = genericPool.genericPoolChannelIntegration;
66
- exports.googleGenAIChannelIntegration = googleGenai.googleGenAIChannelIntegration;
67
- exports.graphqlChannelIntegration = index$3.graphqlChannelIntegration;
68
- exports.hapiChannelIntegration = hapi.hapiChannelIntegration;
69
- exports.koaChannelIntegration = koa.koaChannelIntegration;
70
- exports.ioredisChannelIntegration = ioredis.ioredisChannelIntegration;
71
- exports.kafkajsChannelIntegration = index$4.kafkajsChannelIntegration;
72
- exports.knexChannelIntegration = knex.knexChannelIntegration;
73
- exports.langChainChannelIntegration = langchain.langChainChannelIntegration;
74
- exports.langGraphChannelIntegration = langgraph.langGraphChannelIntegration;
75
- exports.lruMemoizerChannelIntegration = lruMemoizer.lruMemoizerChannelIntegration;
76
- exports.mongodbChannelIntegration = mongodb.mongodbChannelIntegration;
77
- exports.mongooseChannelIntegration = mongoose.mongooseChannelIntegration;
78
- exports.mysqlChannelIntegration = mysql.mysqlChannelIntegration;
79
- exports.mysql2ChannelIntegration = mysql2.mysql2ChannelIntegration;
80
- exports.openaiChannelIntegration = openai.openaiChannelIntegration;
81
- exports.postgresChannelIntegration = postgres.postgresChannelIntegration;
82
- exports.postgresJsChannelIntegration = postgresJs.postgresJsChannelIntegration;
83
- exports.tediousChannelIntegration = tedious.tediousChannelIntegration;
84
- exports.vercelAiChannelIntegration = vercelAi.vercelAiChannelIntegration;
85
- exports.expressChannelIntegration = index$1.expressChannelIntegration;
86
- exports.firebaseChannelIntegration = index$2.firebaseChannelIntegration;
87
- exports.detectOrchestrionSetup = detect.detectOrchestrionSetup;
88
- exports.isOrchestrionInjected = detect.isOrchestrionInjected;
89
- exports.registerOrchestrionChannelIntegration = registerChannelIntegration.registerOrchestrionChannelIntegration;
90
- exports.nestjsChannels = nestjs.nestjsChannels;
91
- exports.remixChannels = remix.remixChannels;
92
- exports.redisChannelIntegration = redis.redisChannelIntegration;
93
- exports.channelIntegrations = channelIntegrations;
94
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/orchestrion/index.ts"],"sourcesContent":["import { amqplibChannelIntegration } from '../integrations/tracing-channel/amqplib';\nimport { anthropicChannelIntegration } from '../integrations/tracing-channel/anthropic';\nimport { awsChannelIntegration } from '../integrations/tracing-channel/aws-sdk';\nimport { dataloaderChannelIntegration } from '../integrations/tracing-channel/dataloader';\nimport { genericPoolChannelIntegration } from '../integrations/tracing-channel/generic-pool';\nimport { googleGenAIChannelIntegration } from '../integrations/tracing-channel/google-genai';\nimport {\n graphqlChannelIntegration,\n graphqlDiagnosticsChannelIntegration,\n} from '../integrations/tracing-channel/graphql';\nimport { hapiChannelIntegration } from '../integrations/tracing-channel/hapi';\nimport { koaChannelIntegration } from '../integrations/tracing-channel/koa';\nimport { ioredisChannelIntegration } from '../integrations/tracing-channel/ioredis';\nimport { kafkajsChannelIntegration } from '../integrations/tracing-channel/kafkajs';\nimport { knexChannelIntegration } from '../integrations/tracing-channel/knex';\nimport { langChainChannelIntegration } from '../integrations/tracing-channel/langchain';\nimport { langGraphChannelIntegration } from '../integrations/tracing-channel/langgraph';\nimport { lruMemoizerChannelIntegration } from '../integrations/tracing-channel/lru-memoizer';\nimport { mongodbChannelIntegration } from '../integrations/tracing-channel/mongodb';\nimport { mongooseChannelIntegration } from '../integrations/tracing-channel/mongoose';\nimport { mysqlChannelIntegration } from '../integrations/tracing-channel/mysql';\nimport { mysql2ChannelIntegration } from '../integrations/tracing-channel/mysql2';\nimport { openaiChannelIntegration } from '../integrations/tracing-channel/openai';\nimport { postgresChannelIntegration } from '../integrations/tracing-channel/postgres';\nimport { postgresJsChannelIntegration } from '../integrations/tracing-channel/postgres-js';\nimport { tediousChannelIntegration } from '../integrations/tracing-channel/tedious';\nimport { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';\nimport { expressChannelIntegration } from '../integrations/tracing-channel/express';\nimport { firebaseChannelIntegration } from '../integrations/tracing-channel/firebase';\n\nexport { detectOrchestrionSetup, isOrchestrionInjected } from './detect';\n// The runtime target of the subscribe-injection snippet: instrumented modules\n// import this to self-register their channel subscriber on the global marker\n// (used by bundler-only SDKs).\nexport { registerOrchestrionChannelIntegration } from './registerChannelIntegration';\n// The `@nestjs/*` channel names live here alongside their transform config; the\n// listener that subscribes to them lives in `@sentry/nestjs`, which imports this.\nexport { nestjsChannels } from './config/nestjs';\n// The remix channel names live here alongside their transform config; the\n// listener that subscribes to them lives in `@sentry/remix`, which imports this.\nexport { remixChannels } from './config/remix';\nexport {\n amqplibChannelIntegration,\n anthropicChannelIntegration,\n awsChannelIntegration,\n dataloaderChannelIntegration,\n genericPoolChannelIntegration,\n googleGenAIChannelIntegration,\n graphqlChannelIntegration,\n hapiChannelIntegration,\n koaChannelIntegration,\n ioredisChannelIntegration,\n kafkajsChannelIntegration,\n knexChannelIntegration,\n langChainChannelIntegration,\n langGraphChannelIntegration,\n lruMemoizerChannelIntegration,\n mongodbChannelIntegration,\n mongooseChannelIntegration,\n mysqlChannelIntegration,\n mysql2ChannelIntegration,\n openaiChannelIntegration,\n postgresChannelIntegration,\n postgresJsChannelIntegration,\n tediousChannelIntegration,\n vercelAiChannelIntegration,\n expressChannelIntegration,\n firebaseChannelIntegration,\n};\nexport type { KoaChannelIntegrationOptions } from '../integrations/tracing-channel/koa';\nexport type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';\nexport type { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';\nexport { redisChannelIntegration } from '../integrations/tracing-channel/redis';\nexport type { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';\nexport type { InstrumentationConfig, CustomTransform } from './apmTypes';\n\n// The structural `graphql` package types are the single source of truth shared with `@sentry/node`'s\n// vendored OTel graphql instrumentation (re-exported from here so the two can't drift).\nexport type * from '../integrations/tracing-channel/graphql/graphql-types';\n\n/**\n * The canonical set of orchestrion diagnostics-channel integrations, keyed by their public\n * (OTel-parity) factory name.\n *\n * Single source of truth: add a new channel integration here and every consumer — the `@sentry/node`\n * opt-in helper (`experimentalUseDiagnosticsChannelInjection`) and its public\n * `diagnosticsChannelInjectionIntegrations()` map — picks it up automatically, so there's no separate\n * list to keep in sync.\n *\n * NOTE: `ioredisChannelIntegration` and `redisChannelIntegration` are intentionally NOT here. They\n * only partially replace the composite OTel `Redis` integration and need the node SDK's redis cache\n * `responseHook` (which can't live in `server-utils`), so `@sentry/node` wires them up separately.\n *\n * Framework SDKs that own their own channel listener (e.g. `@sentry/nestjs`'s `Nest`) are NOT here\n * either: their transform config is still in `SENTRY_INSTRUMENTATIONS`, but the listener lives in\n * their package and picks the channel-vs-OTel path itself at `setupOnce`, so it needs no central swap.\n *\n * NOTE: `dataloaderChannelIntegration` is also NOT here. Everything in this map is auto-appended to\n * the default integrations, but the OTel `Dataloader` integration is opt-in (never a default). Like\n * `@sentry/nestjs`'s `Nest`, its `@sentry/node` factory picks the channel-vs-OTel path itself at\n * `setupOnce` (via `isOrchestrionInjected()`), so there's nothing for the central swap to do.\n */\nexport const channelIntegrations = {\n postgresIntegration: postgresChannelIntegration,\n postgresJsIntegration: postgresJsChannelIntegration,\n mongoIntegration: mongodbChannelIntegration,\n mysqlIntegration: mysqlChannelIntegration,\n mysql2Integration: mysql2ChannelIntegration,\n genericPoolIntegration: genericPoolChannelIntegration,\n mongooseIntegration: mongooseChannelIntegration,\n lruMemoizerIntegration: lruMemoizerChannelIntegration,\n openaiIntegration: openaiChannelIntegration,\n anthropicIntegration: anthropicChannelIntegration,\n googleGenAIIntegration: googleGenAIChannelIntegration,\n langChainIntegration: langChainChannelIntegration,\n langGraphIntegration: langGraphChannelIntegration,\n vercelAiIntegration: vercelAiChannelIntegration,\n amqplibIntegration: amqplibChannelIntegration,\n hapiIntegration: hapiChannelIntegration,\n koaIntegration: koaChannelIntegration,\n expressIntegration: expressChannelIntegration,\n graphqlIntegration: graphqlDiagnosticsChannelIntegration,\n kafkajsIntegration: kafkajsChannelIntegration,\n tediousIntegration: tediousChannelIntegration,\n awsIntegration: awsChannelIntegration,\n firebaseIntegration: firebaseChannelIntegration,\n} as const;\n"],"names":["postgresChannelIntegration","postgresJsChannelIntegration","mongodbChannelIntegration","mysqlChannelIntegration","mysql2ChannelIntegration","genericPoolChannelIntegration","mongooseChannelIntegration","lruMemoizerChannelIntegration","openaiChannelIntegration","anthropicChannelIntegration","googleGenAIChannelIntegration","langChainChannelIntegration","langGraphChannelIntegration","vercelAiChannelIntegration","amqplibChannelIntegration","hapiChannelIntegration","koaChannelIntegration","expressChannelIntegration","graphqlDiagnosticsChannelIntegration","kafkajsChannelIntegration","tediousChannelIntegration","awsChannelIntegration","firebaseChannelIntegration"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,mBAAA,CAAA,CAAA,CAAsB;AAAA,CAAA,CACjC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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,CAAAA,CAAAA,CAAAA;AACvB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,13 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
-
5
- function registerOrchestrionChannelIntegration(name, integrationFn) {
6
- var _a;
7
- const marker = (_a = core.GLOBAL_OBJ).__SENTRY_ORCHESTRION__ ?? (_a.__SENTRY_ORCHESTRION__ = {});
8
- (marker.integrations ?? (marker.integrations = /* @__PURE__ */ new Map())).set(name, integrationFn);
9
- core.getClient()?.addIntegration(integrationFn());
10
- }
11
-
12
- exports.registerOrchestrionChannelIntegration = registerOrchestrionChannelIntegration;
13
- //# sourceMappingURL=registerChannelIntegration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerChannelIntegration.js","sources":["../../../src/orchestrion/registerChannelIntegration.ts"],"sourcesContent":["import type { Integration } from '@sentry/core';\nimport { getClient, GLOBAL_OBJ } from '@sentry/core';\n\n/**\n * Register an orchestrion channel-subscriber integration from an instrumented\n * module. This is the runtime target of the snippet the subscribe-injection\n * transform splices into each transformed package (see\n * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.\n * `@sentry/cloudflare`, running in workerd where requires can't be\n * monkey-patched) wires up subscribers with no runtime module hook.\n *\n * It does two things, covering the two disjoint timing cases:\n *\n * 1. Stores the factory on the global orchestrion marker under `name`, so a\n * later `init()` (a fresh isolate, or a client created after this module\n * loads) picks it up via `getDefaultIntegrations()`.\n * 2. If a client already exists, registers the integration on it right away.\n * This is what makes the mechanism robust against module load order:\n * bundler-only SDKs call `init()` per request, but a package like `mysql`\n * loads its instrumented file lazily on first use, i.e. AFTER that request's\n * `init()` already snapshotted the marker. Without the live add, the first\n * request that touches such a package would publish to a channel nobody\n * subscribed to yet.\n *\n * `addIntegration` dedupes by integration name and only runs `setupOnce` once,\n * so storing AND live-adding never double-subscribes.\n *\n * The marker is a `Map` keyed by `name` (the factory's export name) so a package\n * split across several instrumented files (e.g. `pg`'s JS and native clients, or\n * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,\n * no matter how many of its files land in the bundle. `.set` on the shared key\n * is idempotent.\n */\nexport function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void {\n const marker = (GLOBAL_OBJ.__SENTRY_ORCHESTRION__ ??= {});\n (marker.integrations ??= new Map()).set(name, integrationFn);\n getClient()?.addIntegration(integrationFn());\n}\n"],"names":["GLOBAL_OBJ","getClient"],"mappings":";;;;AAiCO,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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAsC,CAAA,CAAA,CAAA,GAAc,aAAA,CAAA,CAAwC;AAjC5G,CAAA,CAAA,IAAA,CAAA,CAAA;AAkCE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,EAAA,CAAA,CAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAX,CAAA,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAA2B,EAAC,CAAA;AACvD,CAAA,CAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,iBAAP,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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAqB,CAAA,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,aAAa,CAAA;AAC3D,CAAA,CAAAC,cAAA,CAAA,CAAU,CAAA,CAAG,cAAA,CAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA;AAC7C;;"}
@@ -1,17 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const hook = require('../../vendored/@apm-js-collab/tracing-hooks/hook.js');
4
- const diagnostics = require('../../vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js');
5
-
6
-
7
-
8
- exports.createDiagnosticsPort = hook.createDiagnosticsPort;
9
- exports.initialize = hook.initialize;
10
- exports.initializeSync = hook.initializeSync;
11
- exports.load = hook.load;
12
- exports.loadResult = hook.loadResult;
13
- exports.loadSync = hook.loadSync;
14
- exports.resolve = hook.resolve;
15
- exports.resolveSync = hook.resolveSync;
16
- exports.setDiagnosticsHook = diagnostics.diagnostics.setDiagnosticsHook;
17
- //# sourceMappingURL=hook.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hook.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -1,84 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
- const require$$1 = require('node:module');
5
- const require$$3 = require('node:url');
6
- const node_worker_threads = require('node:worker_threads');
7
- const index = require('../config/index.js');
8
- const index$1 = require('../../vendored/@apm-js-collab/tracing-hooks/index.js');
9
- const hook = require('../../vendored/@apm-js-collab/tracing-hooks/hook.js');
10
- const diagnostics = require('../../vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js');
11
-
12
- function _interopNamespaceDefault(e) {
13
- const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
14
- if (e) {
15
- for (const k in e) {
16
- n[k] = e[k];
17
- }
18
- }
19
- n.default = e;
20
- return n;
21
- }
22
-
23
- const require$$1__namespace = /*#__PURE__*/_interopNamespaceDefault(require$$1);
24
-
25
- function hasStableSyncModuleHooks(denoVersionString) {
26
- if (denoVersionString) {
27
- const { major: major2 = 0, minor: minor2 = 0 } = core.parseSemver(denoVersionString);
28
- return major2 > 2 || major2 === 2 && minor2 >= 8;
29
- }
30
- const { major = 0, minor = 0 } = core.parseSemver(process.versions.node ?? "0.0.0");
31
- return major > 25 || major === 25 && minor >= 1 || major === 24 && minor >= 13;
32
- }
33
- function registerDiagnosticsChannelInjection(_options) {
34
- if (!node_worker_threads.isMainThread && !node_worker_threads.parentPort) {
35
- return;
36
- }
37
- if (core.GLOBAL_OBJ?.__SENTRY_ORCHESTRION__?.runtime) {
38
- return;
39
- }
40
- const globalAny = globalThis;
41
- const stableSyncHooks = hasStableSyncModuleHooks(globalAny.Deno?.version?.deno);
42
- const mod = require$$1__namespace;
43
- diagnostics.diagnostics.setDiagnosticsHook(({ moduleName, error }) => {
44
- if (error) {
45
- core.debug.warn(`[orchestrion] failed to inject diagnostics-channel into ${moduleName}:`, error);
46
- } else {
47
- core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__ = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__ || {};
48
- core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime || [];
49
- core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime.push(moduleName);
50
- }
51
- });
52
- try {
53
- if (typeof mod.registerHooks === "function" && stableSyncHooks) {
54
- hook.initializeSync({ instrumentations: index.SENTRY_INSTRUMENTATIONS });
55
- mod.registerHooks({ resolve: hook.resolveSync, load: hook.loadSync });
56
- core.debug.log("Registered diagnostics-channel injection via Module.registerHooks()");
57
- } else if (typeof mod.register === "function" && !globalAny.Bun && !globalAny.Deno) {
58
- const diagnosticsPort = hook.createDiagnosticsPort();
59
- let parentURL;
60
- parentURL = require$$3.pathToFileURL(__filename).href;
61
- mod.register("@sentry/server-utils/orchestrion/hook", {
62
- parentURL,
63
- data: { instrumentations: index.SENTRY_INSTRUMENTATIONS, diagnosticsPort },
64
- transferList: [diagnosticsPort]
65
- });
66
- new index$1.default({ instrumentations: index.SENTRY_INSTRUMENTATIONS }).patch();
67
- core.debug.log("Registered diagnostics-channel injection via Module.register()");
68
- } else {
69
- core.debug.warn("No available Node API to register diagnostics-channel injection hooks; skipping.");
70
- return;
71
- }
72
- } catch (error) {
73
- core.debug.warn(
74
- "Failed to register diagnostics-channel injection hooks; channel-based integrations will not record spans.",
75
- error
76
- );
77
- return;
78
- }
79
- core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__ = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__ || {};
80
- core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime = core.GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime || [];
81
- }
82
-
83
- exports.registerDiagnosticsChannelInjection = registerDiagnosticsChannelInjection;
84
- //# sourceMappingURL=register.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register.js","sources":["../../../../src/orchestrion/runtime/register.ts"],"sourcesContent":["import { debug, GLOBAL_OBJ, parseSemver } from '@sentry/core';\nimport * as Module from 'node:module';\nimport { pathToFileURL } from 'node:url';\nimport { isMainThread, parentPort } from 'node:worker_threads';\nimport { SENTRY_INSTRUMENTATIONS } from '../config';\nimport type { register } from 'node:module';\nimport ModulePatch from '@apm-js-collab/tracing-hooks';\nimport { initialize, load, resolve, createDiagnosticsPort } from '@apm-js-collab/tracing-hooks/hook-sync.mjs';\nimport { setDiagnosticsHook } from '@apm-js-collab/tracing-hooks/lib/diagnostics.js';\n\ntype NodeModule = {\n registerHooks?: (options: { load: Function; resolve: Function }) => { deregister: () => void };\n register?: typeof register;\n};\n\nexport interface RegisterDiagnosticsChannelInjectionOptions {\n /**\n * @deprecated No longer used and ignored. The `@apm-js-collab/tracing-hooks` runtime is compiled\n * into this package's build, so there is no package location left to point the module hook at.\n */\n tracingHooksDir?: string;\n}\n\n/** `Module.registerHooks` only became stable in Node 24.13 / 25.1 and Deno 2.8. */\nfunction hasStableSyncModuleHooks(denoVersionString: string | undefined): boolean {\n if (denoVersionString) {\n const { major = 0, minor = 0 } = parseSemver(denoVersionString);\n return major > 2 || (major === 2 && minor >= 8);\n }\n\n const { major = 0, minor = 0 } = parseSemver(process.versions.node ?? '0.0.0');\n return major > 25 || (major === 25 && minor >= 1) || (major === 24 && minor >= 13);\n}\n\n/**\n * Synchronously register the diagnostics-channel injection module hooks.\n *\n * This is the single source of truth for the registration logic. It is used by:\n * - `Sentry.init()` (the Node SDK calls it directly — that's why this module\n * must be CJS-compatible / dual-built, so it can be `require()`d synchronously\n * before the app's `import`s resolve), and\n * - `import-hook.mjs`, the side-effecting `--import` entry, which just calls it.\n *\n * Libraries imported *after* this call publish the `tracingChannel` events that\n * the channel-based integrations subscribe to.\n */\nexport function registerDiagnosticsChannelInjection(_options?: RegisterDiagnosticsChannelInjectionOptions): void {\n // Skip Node's internal loader (hooks) threads, recognizable as the only threads without a\n // `parentPort`. Node re-runs `--require` preloads (though not `--import` ones) on the loader\n // thread it spawns for `Module.register()`, so this function runs there too — but that thread\n // never executes app code, and its `register()` implementation (the in-thread `Hooks` class)\n // has no `transferList` parameter: our transfer array lands in its `isInternal` parameter and\n // Node crashes trying to load the hook as an internal builtin. User-created workers always\n // have a `parentPort` and register through `CustomizedModuleLoader`, which handles\n // `transferList` correctly, so they proceed and get their own instrumented loader.\n if (!isMainThread && !parentPort) {\n return;\n }\n\n if (GLOBAL_OBJ?.__SENTRY_ORCHESTRION__?.runtime) {\n return;\n }\n\n const globalAny = globalThis as { Bun?: unknown; Deno?: { version?: { deno?: string } } };\n const stableSyncHooks = hasStableSyncModuleHooks(globalAny.Deno?.version?.deno);\n\n // `Module.registerHooks` / `Module.register` are newer than the @types/node\n // we build against, hence the cast.\n const mod = Module as NodeModule;\n\n setDiagnosticsHook(({ moduleName, error }): void => {\n if (error) {\n debug.warn(`[orchestrion] failed to inject diagnostics-channel into ${moduleName}:`, error);\n } else {\n GLOBAL_OBJ.__SENTRY_ORCHESTRION__ = GLOBAL_OBJ.__SENTRY_ORCHESTRION__ || {};\n GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime = GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime || [];\n GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime.push(moduleName);\n }\n });\n\n // runs both at `--import` time and (synchronously) inside `Sentry.init()`,\n // so an unguarded throw would either abort startup or make `init()` throw.\n // On any failure (e.g. dep resolution, `require(esm)` / Node-compat\n // incompatibility) we warn (DEBUG only) and continue without channel\n // injection\n try {\n if (typeof mod.registerHooks === 'function' && stableSyncHooks) {\n initialize({ instrumentations: SENTRY_INSTRUMENTATIONS });\n mod.registerHooks({ resolve, load });\n debug.log('Registered diagnostics-channel injection via Module.registerHooks()');\n } else if (typeof mod.register === 'function' && !globalAny.Bun && !globalAny.Deno) {\n // `Module.register` + the `_compile` patch is Node 18.19–24.12 / 25.0\n // path. Bun/Deno are excluded: they don't support this combination and\n // must use the stable `registerHooks` path above (or none at all).\n const diagnosticsPort = createDiagnosticsPort();\n\n let parentURL: string;\n /*! rollup-include-cjs-only */\n parentURL = pathToFileURL(__filename).href;\n /*! rollup-include-cjs-only-end */\n /*! rollup-include-esm-only */\n parentURL = import.meta.url;\n /*! rollup-include-esm-only-end */\n\n // Our own bundled copy of the tracing-hooks async hooks (see\n // `src/orchestrion/runtime/hook.mjs`) — the dependency itself is bundled into this package's\n // build and no longer resolvable as a bare specifier at runtime.\n mod.register('@sentry/server-utils/orchestrion/hook', {\n parentURL,\n data: { instrumentations: SENTRY_INSTRUMENTATIONS, diagnosticsPort },\n transferList: [diagnosticsPort],\n });\n\n // ALSO patch `Module.prototype._compile` for the CJS side: when an ESM\n // file `import`s a CJS package, the package's internal `require()` calls\n // are resolved through the CJS machinery and never reach the ESM\n // register hook, so without this patch the file we want to instrument\n // loads untransformed.\n new ModulePatch({ instrumentations: SENTRY_INSTRUMENTATIONS }).patch();\n debug.log('Registered diagnostics-channel injection via Module.register()');\n } else {\n debug.warn('No available Node API to register diagnostics-channel injection hooks; skipping.');\n return;\n }\n } catch (error) {\n debug.warn(\n 'Failed to register diagnostics-channel injection hooks; channel-based integrations will not record spans.',\n error,\n );\n return;\n }\n\n GLOBAL_OBJ.__SENTRY_ORCHESTRION__ = GLOBAL_OBJ.__SENTRY_ORCHESTRION__ || {};\n GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime = GLOBAL_OBJ.__SENTRY_ORCHESTRION__.runtime || [];\n}\n"],"names":["major","minor","parseSemver","isMainThread","parentPort","GLOBAL_OBJ","Module","setDiagnosticsHook","debug","initialize","SENTRY_INSTRUMENTATIONS","resolve","load","createDiagnosticsPort","pathToFileURL","ModulePatch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwBA,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,CAAA,CAAA,CAAA,CAAA,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,CAAA,CAAAA,eAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA;AAAA,CAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CACA,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,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,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;AAAA;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"global.js","sources":["../../../src/prisma/global.ts"],"sourcesContent":["/*\n * Copyright Prisma\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/prisma/prisma/tree/b6feea5565ec577545a79547d24273ccdd11b4c7/packages/instrumentation-contract\n * - Upstream version: @prisma/instrumentation-contract@7.8.0\n * - Replaced `import packageJson from '../package.json'` with hardcoded major version\n */\n\nimport type { PrismaInstrumentationGlobalValue, TracingHelper } from './types';\n\nconst majorVersion = '7';\n\nconst GLOBAL_INSTRUMENTATION_KEY = 'PRISMA_INSTRUMENTATION';\nconst GLOBAL_VERSIONED_INSTRUMENTATION_KEY = `V${majorVersion}_PRISMA_INSTRUMENTATION` as const;\n\ntype GlobalThisWithPrismaInstrumentation = typeof globalThis & {\n [GLOBAL_INSTRUMENTATION_KEY]?: PrismaInstrumentationGlobalValue;\n} & {\n [K in typeof GLOBAL_VERSIONED_INSTRUMENTATION_KEY]?: PrismaInstrumentationGlobalValue;\n};\n\nconst globalThisWithPrismaInstrumentation = globalThis as GlobalThisWithPrismaInstrumentation;\n\nexport function getGlobalTracingHelper(): TracingHelper | undefined {\n const versionedGlobal = globalThisWithPrismaInstrumentation[GLOBAL_VERSIONED_INSTRUMENTATION_KEY];\n\n if (versionedGlobal?.helper) {\n return versionedGlobal.helper;\n }\n\n const fallbackGlobal = globalThisWithPrismaInstrumentation[GLOBAL_INSTRUMENTATION_KEY];\n\n return fallbackGlobal?.helper;\n}\n\nexport function setGlobalTracingHelper(helper: TracingHelper): void {\n const globalValue: PrismaInstrumentationGlobalValue = { helper };\n\n globalThisWithPrismaInstrumentation[GLOBAL_VERSIONED_INSTRUMENTATION_KEY] = globalValue;\n globalThisWithPrismaInstrumentation[GLOBAL_INSTRUMENTATION_KEY] = globalValue;\n}\n\nexport function clearGlobalTracingHelper(): void {\n globalThisWithPrismaInstrumentation[GLOBAL_VERSIONED_INSTRUMENTATION_KEY] = undefined;\n globalThisWithPrismaInstrumentation[GLOBAL_INSTRUMENTATION_KEY] = undefined;\n}\n"],"names":[],"mappings":";;AAYA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAe,CAAA,CAAA,CAAA;AAErB,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,CAA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A,CAAA,CAAA,CAAA,CAAgD,CAAA,CAAE,MAAA,CAAA,CAAO;AAE/D,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,CAAoC,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,CAAoC,CAAA,GAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAC5E,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,CAAoC,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,GAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACpE;;"}
@@ -1,27 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
- const global = require('./global.js');
5
- const tracingHelper = require('./tracing-helper.js');
6
-
7
- const INTEGRATION_NAME = "Prisma";
8
- function instrumentPrisma(options) {
9
- global.setGlobalTracingHelper(
10
- new tracingHelper.ActiveTracingHelper({
11
- ignoreSpanTypes: options?.instrumentationConfig?.ignoreSpanTypes ?? []
12
- })
13
- );
14
- }
15
- const _prismaIntegration = ((options) => {
16
- return {
17
- name: INTEGRATION_NAME,
18
- setupOnce() {
19
- instrumentPrisma(options);
20
- }
21
- };
22
- });
23
- const prismaIntegration = core.defineIntegration(_prismaIntegration);
24
-
25
- exports.instrumentPrisma = instrumentPrisma;
26
- exports.prismaIntegration = prismaIntegration;
27
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/prisma/index.ts"],"sourcesContent":["import type { IntegrationFn } from '@sentry/core';\nimport { defineIntegration } from '@sentry/core';\nimport { setGlobalTracingHelper } from './global';\nimport { ActiveTracingHelper } from './tracing-helper';\n\nconst INTEGRATION_NAME = 'Prisma' as const;\n\nexport interface PrismaInstrumentationConfig {\n /**\n * Span types that should not be traced. Matched against the full span name (e.g. `prisma:client:operation`),\n * either exactly (string) or by pattern (RegExp).\n */\n ignoreSpanTypes?: (string | RegExp)[];\n}\n\nexport interface PrismaOptions {\n /**\n * @deprecated This is no longer used, v5 works out of the box.\n */\n prismaInstrumentation?: unknown;\n /**\n * Configuration for the Prisma tracing helper.\n */\n instrumentationConfig?: PrismaInstrumentationConfig;\n}\n\n/**\n * Sets up the global Prisma tracing helper that Prisma looks up on `globalThis` to emit tracing data.\n *\n * Prisma reads `globalThis.PRISMA_INSTRUMENTATION` (and its versioned variant) to find a \"TracingHelper\"\n * which it uses internally to create spans, so it can produce tracing data without depending on\n * OpenTelemetry. The helper we install here mints spans through Sentry's span APIs. A single helper\n * serves both Prisma v5 (which calls `createEngineSpan`) and v6/v7 (which call `dispatchEngineSpans`),\n * so it doesn't blow up on version mismatches.\n */\nexport function instrumentPrisma(options?: PrismaOptions): void {\n setGlobalTracingHelper(\n new ActiveTracingHelper({\n ignoreSpanTypes: options?.instrumentationConfig?.ignoreSpanTypes ?? [],\n }),\n );\n}\n\nconst _prismaIntegration = ((options?: PrismaOptions) => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n instrumentPrisma(options);\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Adds Sentry tracing instrumentation for the [prisma](https://www.npmjs.com/package/prisma) library.\n * For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).\n *\n * NOTE: This integration works out of the box with Prisma v6, and v7.\n * On Prisma versions prior to v6, add `previewFeatures = [\"tracing\"]` to the client generator block of your Prisma schema:\n *\n * ```\n * generator client {\n * provider = \"prisma-client-js\"\n * previewFeatures = [\"tracing\"]\n * }\n * ```\n */\nexport const prismaIntegration = defineIntegration(_prismaIntegration);\n"],"names":["setGlobalTracingHelper","ActiveTracingHelper","defineIntegration"],"mappings":";;;;;;AAKA,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;AA8BlB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA+B;AAC9D,CAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACE,CAAA,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CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkB,CAAA;;;"}
@@ -1,211 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const core = require('@sentry/core');
4
- const debugBuild = require('../debug-build.js');
5
- const attributes = require('@sentry/conventions/attributes');
6
-
7
- const showAllTraces = (() => {
8
- try {
9
- return process.env.PRISMA_SHOW_ALL_TRACES === "true";
10
- } catch {
11
- return false;
12
- }
13
- })();
14
- const nonSampledTraceParent = `00-10-10-00`;
15
- const PRISMA_ORIGIN = "auto.db.otel.prisma";
16
- const MAX_TRACKED_PRISMA_SPANS = 1e3;
17
- const prismaSpanRegistry = new core.LRUMap(MAX_TRACKED_PRISMA_SPANS);
18
- const pendingEngineSpans = [];
19
- function registerPrismaSpan(id, span) {
20
- prismaSpanRegistry.set(id, span);
21
- }
22
- function buildSpanAttributes(name, attributes$1) {
23
- const merged = {
24
- ...attributes$1,
25
- [core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: PRISMA_ORIGIN
26
- };
27
- if (name === "prisma:engine:db_query" && merged[attributes.DB_SYSTEM] == null) {
28
- merged[attributes.DB_SYSTEM] = "prisma";
29
- }
30
- return merged;
31
- }
32
- function buildSpanName(name, attributes) {
33
- const queryText = attributes["db.query.text"];
34
- if ((name === "prisma:engine:db_query" || name === "prisma:client:db_query") && typeof queryText === "string") {
35
- return queryText;
36
- }
37
- return name;
38
- }
39
- function createResolvedEngineSpans() {
40
- let createdSpan = true;
41
- while (createdSpan) {
42
- createdSpan = false;
43
- for (let i = pendingEngineSpans.length - 1; i >= 0; i--) {
44
- const engineSpan = pendingEngineSpans[i];
45
- const parentSpan = prismaSpanRegistry.get(engineSpan.parent_span_id);
46
- if (!parentSpan) {
47
- continue;
48
- }
49
- const attributes = buildSpanAttributes(engineSpan.name, engineSpan.attributes);
50
- const span = core.startInactiveSpan({
51
- name: buildSpanName(engineSpan.name, attributes),
52
- attributes,
53
- kind: engineSpan.kind === "client" ? core.SPAN_KIND.CLIENT : core.SPAN_KIND.INTERNAL,
54
- startTime: engineSpan.start_time,
55
- parentSpan
56
- });
57
- registerPrismaSpan(engineSpan.span_id, span);
58
- if (engineSpan.links) {
59
- span.addLinks(
60
- engineSpan.links.flatMap((link) => {
61
- const linkedSpan = prismaSpanRegistry.get(link.span_id);
62
- return linkedSpan ? [{ context: linkedSpan.spanContext() }] : [];
63
- })
64
- );
65
- }
66
- span.end(engineSpan.end_time);
67
- pendingEngineSpans.splice(i, 1);
68
- createdSpan = true;
69
- }
70
- }
71
- }
72
- class ActiveTracingHelper {
73
- constructor({ ignoreSpanTypes }) {
74
- this.ignoreSpanTypes = ignoreSpanTypes;
75
- }
76
- isEnabled() {
77
- return true;
78
- }
79
- getTraceParent(span) {
80
- const spanContext = (span ?? core.getActiveSpan())?.spanContext();
81
- if (spanContext) {
82
- return `00-${spanContext.traceId}-${spanContext.spanId}-0${spanContext.traceFlags}`;
83
- }
84
- return nonSampledTraceParent;
85
- }
86
- dispatchEngineSpans(spans) {
87
- const linkIds = /* @__PURE__ */ new Map();
88
- const roots = spans.filter((span) => span.parentId === null);
89
- for (const root of roots) {
90
- dispatchEngineSpan(root, spans, linkIds, this.ignoreSpanTypes);
91
- }
92
- }
93
- /**
94
- * Prisma v5 broke the tracing helper interface with the v6 major, replacing `createEngineSpan` with
95
- * `dispatchEngineSpans`. We implement the v6/v7 interface (`dispatchEngineSpans`) but also keep this
96
- * v5-only method so the same helper doesn't blow up in Prisma 5 users' faces, minting v5 engine spans
97
- * through Sentry's span APIs instead of crashing.
98
- */
99
- createEngineSpan(engineSpanEvent) {
100
- pendingEngineSpans.push(...engineSpanEvent.spans);
101
- createResolvedEngineSpans();
102
- const overflow = pendingEngineSpans.length - MAX_TRACKED_PRISMA_SPANS;
103
- if (overflow > 0) {
104
- debugBuild.DEBUG_BUILD && core.debug.log(`[Prisma] Dropping ${overflow} unresolved v5 engine span(s) whose parent was never registered.`);
105
- pendingEngineSpans.splice(0, overflow);
106
- }
107
- }
108
- getActiveContext() {
109
- return core.getActiveSpan();
110
- }
111
- runInChildSpan(nameOrOptions, callback) {
112
- const options = typeof nameOrOptions === "string" ? { name: nameOrOptions } : nameOrOptions;
113
- if (options.internal && !showAllTraces) {
114
- return callback();
115
- }
116
- const name = `prisma:client:${options.name}`;
117
- if (shouldIgnoreSpan(name, this.ignoreSpanTypes)) {
118
- return callback();
119
- }
120
- const parentSpan = core.getActiveSpan();
121
- const attributes = buildSpanAttributes(name, options.attributes);
122
- const spanOptions = {
123
- name: buildSpanName(name, attributes),
124
- attributes,
125
- kind: options.kind,
126
- links: options.links,
127
- startTime: options.startTime,
128
- parentSpan
129
- };
130
- if (options.active === false) {
131
- const span = core.startInactiveSpan(spanOptions);
132
- registerPrismaSpan(span.spanContext().spanId, span);
133
- return endSpan(span, () => callback(span, parentSpan));
134
- }
135
- return core.startSpanManual(spanOptions, (span) => {
136
- registerPrismaSpan(span.spanContext().spanId, span);
137
- return endSpan(span, () => callback(span, parentSpan));
138
- });
139
- }
140
- }
141
- function dispatchEngineSpan(engineSpan, allSpans, linkIds, ignoreSpanTypes) {
142
- if (shouldIgnoreSpan(engineSpan.name, ignoreSpanTypes)) {
143
- return;
144
- }
145
- const attributes = buildSpanAttributes(engineSpan.name, engineSpan.attributes);
146
- core.startSpanManual(
147
- {
148
- name: buildSpanName(engineSpan.name, attributes),
149
- attributes,
150
- kind: engineSpan.kind === "client" ? core.SPAN_KIND.CLIENT : core.SPAN_KIND.INTERNAL,
151
- startTime: engineSpan.startTime
152
- },
153
- (span) => {
154
- linkIds.set(engineSpan.id, span.spanContext().spanId);
155
- if (engineSpan.links) {
156
- span.addLinks(
157
- engineSpan.links.flatMap((link) => {
158
- const linkedId = linkIds.get(link);
159
- if (!linkedId) {
160
- return [];
161
- }
162
- return {
163
- context: {
164
- spanId: linkedId,
165
- traceId: span.spanContext().traceId,
166
- traceFlags: span.spanContext().traceFlags
167
- }
168
- };
169
- })
170
- );
171
- }
172
- const children = allSpans.filter((s) => s.parentId === engineSpan.id);
173
- for (const child of children) {
174
- dispatchEngineSpan(child, allSpans, linkIds, ignoreSpanTypes);
175
- }
176
- span.end(engineSpan.endTime);
177
- }
178
- );
179
- }
180
- function endSpan(span, run) {
181
- let result;
182
- try {
183
- result = run();
184
- } catch (reason) {
185
- span.end();
186
- throw reason;
187
- }
188
- if (isPromiseLike(result)) {
189
- return result.then(
190
- (value) => {
191
- span.end();
192
- return value;
193
- },
194
- (reason) => {
195
- span.end();
196
- throw reason;
197
- }
198
- );
199
- }
200
- span.end();
201
- return result;
202
- }
203
- function isPromiseLike(value) {
204
- return value != null && typeof value["then"] === "function";
205
- }
206
- function shouldIgnoreSpan(spanName, ignoreSpanTypes) {
207
- return ignoreSpanTypes.some((pattern) => typeof pattern === "string" ? pattern === spanName : pattern.test(spanName));
208
- }
209
-
210
- exports.ActiveTracingHelper = ActiveTracingHelper;
211
- //# sourceMappingURL=tracing-helper.js.map