@sentry/server-utils 10.67.0 → 10.68.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 (358) hide show
  1. package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
  2. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  3. package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
  4. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  5. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  6. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
  7. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  8. package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
  9. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
  10. package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
  11. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
  12. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
  13. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  14. package/build/cjs/orchestrion/bundler/esbuild.js +24 -1
  15. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  16. package/build/cjs/orchestrion/bundler/options.js +16 -2
  17. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  18. package/build/cjs/orchestrion/bundler/rollup.js +11 -1
  19. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  20. package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
  21. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
  22. package/build/cjs/orchestrion/bundler/vite.js +13 -0
  23. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  24. package/build/cjs/orchestrion/bundler/webpack.js +32 -1
  25. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  26. package/build/cjs/orchestrion/channels.js +0 -4
  27. package/build/cjs/orchestrion/channels.js.map +1 -1
  28. package/build/cjs/orchestrion/config/amqplib.js +4 -0
  29. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  30. package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
  31. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  32. package/build/cjs/orchestrion/config/aws-sdk.js +4 -0
  33. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -1
  34. package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
  35. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
  36. package/build/cjs/orchestrion/config/dataloader.js +4 -0
  37. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  38. package/build/cjs/orchestrion/config/express.js +4 -0
  39. package/build/cjs/orchestrion/config/express.js.map +1 -1
  40. package/build/cjs/orchestrion/config/firebase.js +79 -2
  41. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  42. package/build/cjs/orchestrion/config/generic-pool.js +4 -0
  43. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  44. package/build/cjs/orchestrion/config/google-genai.js +4 -0
  45. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  46. package/build/cjs/orchestrion/config/graphql.js +4 -0
  47. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  48. package/build/cjs/orchestrion/config/hapi.js +4 -0
  49. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  50. package/build/cjs/orchestrion/config/index.js +33 -5
  51. package/build/cjs/orchestrion/config/index.js.map +1 -1
  52. package/build/cjs/orchestrion/config/ioredis.js +4 -0
  53. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  54. package/build/cjs/orchestrion/config/kafkajs.js +4 -0
  55. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  56. package/build/cjs/orchestrion/config/knex.js +4 -0
  57. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  58. package/build/cjs/orchestrion/config/koa.js +4 -0
  59. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  60. package/build/cjs/orchestrion/config/langchain.js +4 -0
  61. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  62. package/build/cjs/orchestrion/config/langgraph.js +4 -0
  63. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  64. package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
  65. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  66. package/build/cjs/orchestrion/config/mongodb.js +4 -0
  67. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  68. package/build/cjs/orchestrion/config/mongoose.js +4 -0
  69. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  70. package/build/cjs/orchestrion/config/mysql.js +4 -0
  71. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  72. package/build/cjs/orchestrion/config/mysql2.js +4 -0
  73. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  74. package/build/cjs/orchestrion/config/nestjs.js +4 -0
  75. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  76. package/build/cjs/orchestrion/config/openai.js +4 -0
  77. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  78. package/build/cjs/orchestrion/config/pg.js +4 -0
  79. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  80. package/build/cjs/orchestrion/config/postgres.js +4 -0
  81. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  82. package/build/cjs/orchestrion/config/redis.js +4 -0
  83. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  84. package/build/cjs/orchestrion/config/remix.js +4 -0
  85. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  86. package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
  87. package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
  88. package/build/cjs/orchestrion/config/tedious.js +4 -0
  89. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  90. package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
  91. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  92. package/build/cjs/orchestrion/index.js +12 -7
  93. package/build/cjs/orchestrion/index.js.map +1 -1
  94. package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
  95. package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
  96. package/build/cjs/vercel-ai/index.js.map +1 -1
  97. package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
  98. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  99. package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
  100. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  101. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  102. package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
  103. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  104. package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
  105. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
  106. package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
  107. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
  108. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
  109. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  110. package/build/esm/orchestrion/bundler/esbuild.js +25 -2
  111. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  112. package/build/esm/orchestrion/bundler/options.js +15 -3
  113. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  114. package/build/esm/orchestrion/bundler/rollup.js +12 -2
  115. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  116. package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
  117. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
  118. package/build/esm/orchestrion/bundler/vite.js +14 -1
  119. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  120. package/build/esm/orchestrion/bundler/webpack.js +33 -3
  121. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  122. package/build/esm/orchestrion/channels.js +0 -4
  123. package/build/esm/orchestrion/channels.js.map +1 -1
  124. package/build/esm/orchestrion/config/amqplib.js +4 -1
  125. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  126. package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
  127. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  128. package/build/esm/orchestrion/config/aws-sdk.js +4 -1
  129. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -1
  130. package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
  131. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
  132. package/build/esm/orchestrion/config/dataloader.js +4 -1
  133. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  134. package/build/esm/orchestrion/config/express.js +4 -1
  135. package/build/esm/orchestrion/config/express.js.map +1 -1
  136. package/build/esm/orchestrion/config/firebase.js +79 -3
  137. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  138. package/build/esm/orchestrion/config/generic-pool.js +4 -1
  139. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  140. package/build/esm/orchestrion/config/google-genai.js +4 -1
  141. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  142. package/build/esm/orchestrion/config/graphql.js +4 -1
  143. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  144. package/build/esm/orchestrion/config/hapi.js +4 -1
  145. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  146. package/build/esm/orchestrion/config/index.js +61 -34
  147. package/build/esm/orchestrion/config/index.js.map +1 -1
  148. package/build/esm/orchestrion/config/ioredis.js +4 -1
  149. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  150. package/build/esm/orchestrion/config/kafkajs.js +4 -1
  151. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  152. package/build/esm/orchestrion/config/knex.js +4 -1
  153. package/build/esm/orchestrion/config/knex.js.map +1 -1
  154. package/build/esm/orchestrion/config/koa.js +4 -1
  155. package/build/esm/orchestrion/config/koa.js.map +1 -1
  156. package/build/esm/orchestrion/config/langchain.js +4 -1
  157. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  158. package/build/esm/orchestrion/config/langgraph.js +4 -1
  159. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  160. package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
  161. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  162. package/build/esm/orchestrion/config/mongodb.js +4 -1
  163. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  164. package/build/esm/orchestrion/config/mongoose.js +4 -1
  165. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  166. package/build/esm/orchestrion/config/mysql.js +4 -1
  167. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  168. package/build/esm/orchestrion/config/mysql2.js +4 -1
  169. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  170. package/build/esm/orchestrion/config/nestjs.js +4 -1
  171. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  172. package/build/esm/orchestrion/config/openai.js +4 -1
  173. package/build/esm/orchestrion/config/openai.js.map +1 -1
  174. package/build/esm/orchestrion/config/pg.js +4 -1
  175. package/build/esm/orchestrion/config/pg.js.map +1 -1
  176. package/build/esm/orchestrion/config/postgres.js +4 -1
  177. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  178. package/build/esm/orchestrion/config/redis.js +4 -1
  179. package/build/esm/orchestrion/config/redis.js.map +1 -1
  180. package/build/esm/orchestrion/config/remix.js +4 -1
  181. package/build/esm/orchestrion/config/remix.js.map +1 -1
  182. package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
  183. package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
  184. package/build/esm/orchestrion/config/tedious.js +4 -1
  185. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  186. package/build/esm/orchestrion/config/vercel-ai.js +4 -1
  187. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  188. package/build/esm/orchestrion/index.js +5 -2
  189. package/build/esm/orchestrion/index.js.map +1 -1
  190. package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
  191. package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
  192. package/build/esm/package.json +1 -1
  193. package/build/esm/vercel-ai/index.js.map +1 -1
  194. package/build/types/index.d.ts +1 -1
  195. package/build/types/index.d.ts.map +1 -1
  196. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  197. package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
  198. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
  199. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  200. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
  201. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  202. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
  203. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  204. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
  205. package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  206. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
  207. package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
  208. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
  209. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  210. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
  211. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  212. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  213. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
  214. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  215. package/build/types/orchestrion/bundler/options.d.ts +34 -0
  216. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  217. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  218. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  219. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
  220. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  221. package/build/types/orchestrion/bundler/webpack.d.ts +6 -1
  222. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  223. package/build/types/orchestrion/channels.d.ts +15 -0
  224. package/build/types/orchestrion/channels.d.ts.map +1 -1
  225. package/build/types/orchestrion/config/amqplib.d.ts +2 -0
  226. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  227. package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
  228. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  229. package/build/types/orchestrion/config/aws-sdk.d.ts +2 -0
  230. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -1
  231. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
  232. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
  233. package/build/types/orchestrion/config/dataloader.d.ts +2 -0
  234. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  235. package/build/types/orchestrion/config/express.d.ts +2 -0
  236. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  237. package/build/types/orchestrion/config/firebase.d.ts +41 -2
  238. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  239. package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
  240. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  241. package/build/types/orchestrion/config/google-genai.d.ts +2 -0
  242. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  243. package/build/types/orchestrion/config/graphql.d.ts +2 -0
  244. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  245. package/build/types/orchestrion/config/hapi.d.ts +2 -0
  246. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  247. package/build/types/orchestrion/config/index.d.ts +12 -0
  248. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  249. package/build/types/orchestrion/config/ioredis.d.ts +1 -0
  250. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  251. package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
  252. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  253. package/build/types/orchestrion/config/knex.d.ts +1 -0
  254. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  255. package/build/types/orchestrion/config/koa.d.ts +2 -0
  256. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  257. package/build/types/orchestrion/config/langchain.d.ts +2 -0
  258. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  259. package/build/types/orchestrion/config/langgraph.d.ts +2 -0
  260. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  261. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
  262. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  263. package/build/types/orchestrion/config/mongodb.d.ts +2 -0
  264. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  265. package/build/types/orchestrion/config/mongoose.d.ts +2 -0
  266. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  267. package/build/types/orchestrion/config/mysql.d.ts +2 -0
  268. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  269. package/build/types/orchestrion/config/mysql2.d.ts +2 -0
  270. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  271. package/build/types/orchestrion/config/nestjs.d.ts +1 -0
  272. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  273. package/build/types/orchestrion/config/openai.d.ts +2 -0
  274. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  275. package/build/types/orchestrion/config/pg.d.ts +2 -0
  276. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  277. package/build/types/orchestrion/config/postgres.d.ts +1 -0
  278. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  279. package/build/types/orchestrion/config/redis.d.ts +2 -0
  280. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  281. package/build/types/orchestrion/config/remix.d.ts +1 -0
  282. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  283. package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
  284. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
  285. package/build/types/orchestrion/config/tedious.d.ts +1 -0
  286. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  287. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
  288. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  289. package/build/types/orchestrion/index.d.ts +7 -6
  290. package/build/types/orchestrion/index.d.ts.map +1 -1
  291. package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
  292. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
  293. package/build/types/vercel-ai/index.d.ts +2 -3
  294. package/build/types/vercel-ai/index.d.ts.map +1 -1
  295. package/build/types-ts3.8/index.d.ts +1 -1
  296. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
  297. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  298. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  299. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  300. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  301. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
  302. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  303. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  304. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
  305. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +34 -0
  306. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  307. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +6 -1
  308. package/build/types-ts3.8/orchestrion/channels.d.ts +15 -0
  309. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
  310. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
  311. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +2 -0
  312. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
  313. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
  314. package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -0
  315. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +41 -2
  316. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
  317. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
  318. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
  319. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
  320. package/build/types-ts3.8/orchestrion/config/index.d.ts +12 -0
  321. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -0
  322. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
  323. package/build/types-ts3.8/orchestrion/config/knex.d.ts +1 -0
  324. package/build/types-ts3.8/orchestrion/config/koa.d.ts +2 -0
  325. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +2 -0
  326. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +2 -0
  327. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
  328. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +2 -0
  329. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +2 -0
  330. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
  331. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
  332. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +1 -0
  333. package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -0
  334. package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
  335. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -0
  336. package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
  337. package/build/types-ts3.8/orchestrion/config/remix.d.ts +1 -0
  338. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
  339. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +1 -0
  340. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
  341. package/build/types-ts3.8/orchestrion/index.d.ts +7 -6
  342. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
  343. package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
  344. package/package.json +4 -3
  345. package/build/cjs/orchestrion/config/prisma.js +0 -8
  346. package/build/cjs/orchestrion/config/prisma.js.map +0 -1
  347. package/build/cjs/orchestrion/config/react-router.js +0 -8
  348. package/build/cjs/orchestrion/config/react-router.js.map +0 -1
  349. package/build/esm/orchestrion/config/prisma.js +0 -5
  350. package/build/esm/orchestrion/config/prisma.js.map +0 -1
  351. package/build/esm/orchestrion/config/react-router.js +0 -5
  352. package/build/esm/orchestrion/config/react-router.js.map +0 -1
  353. package/build/types/orchestrion/config/prisma.d.ts +0 -4
  354. package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
  355. package/build/types/orchestrion/config/react-router.d.ts +0 -4
  356. package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
  357. package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
  358. package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
@@ -24,7 +24,9 @@ import { postgresJsChannelIntegration } from '../integrations/tracing-channel/po
24
24
  import { tediousChannelIntegration } from '../integrations/tracing-channel/tedious.js';
25
25
  import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai.js';
26
26
  import { expressChannelIntegration } from '../integrations/tracing-channel/express/index.js';
27
+ import { firebaseChannelIntegration } from '../integrations/tracing-channel/firebase/index.js';
27
28
  export { detectOrchestrionSetup, isOrchestrionInjected } from './detect.js';
29
+ export { registerOrchestrionChannelIntegration } from './registerChannelIntegration.js';
28
30
  export { nestjsChannels } from './config/nestjs.js';
29
31
  export { remixChannels } from './config/remix.js';
30
32
  export { redisChannelIntegration } from '../integrations/tracing-channel/redis.js';
@@ -51,8 +53,9 @@ const channelIntegrations = {
51
53
  graphqlIntegration: graphqlDiagnosticsChannelIntegration,
52
54
  kafkajsIntegration: kafkajsChannelIntegration,
53
55
  tediousIntegration: tediousChannelIntegration,
54
- awsIntegration: awsChannelIntegration
56
+ awsIntegration: awsChannelIntegration,
57
+ firebaseIntegration: firebaseChannelIntegration
55
58
  };
56
59
 
57
- export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, channelIntegrations, expressChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, hapiChannelIntegration, kafkajsChannelIntegration, koaChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysql2ChannelIntegration, mysqlChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration };
60
+ export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, channelIntegrations, expressChannelIntegration, firebaseChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, hapiChannelIntegration, kafkajsChannelIntegration, koaChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysql2ChannelIntegration, mysqlChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration };
58
61
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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';\n\nexport { detectOrchestrionSetup, isOrchestrionInjected } from './detect';\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};\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 '@apm-js-collab/code-transformer-bundler-plugins/core';\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} as const;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGO,MAAM,mBAAA,GAAsB;AAAA,EACjC,mBAAA,EAAqB,0BAAA;AAAA,EACrB,qBAAA,EAAuB,4BAAA;AAAA,EACvB,gBAAA,EAAkB,yBAAA;AAAA,EAClB,gBAAA,EAAkB,uBAAA;AAAA,EAClB,iBAAA,EAAmB,wBAAA;AAAA,EACnB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,mBAAA,EAAqB,0BAAA;AAAA,EACrB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,iBAAA,EAAmB,wBAAA;AAAA,EACnB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,mBAAA,EAAqB,0BAAA;AAAA,EACrB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,eAAA,EAAiB,sBAAA;AAAA,EACjB,cAAA,EAAgB,qBAAA;AAAA,EAChB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,kBAAA,EAAoB,oCAAA;AAAA,EACpB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,cAAA,EAAgB;AAClB;;;;"}
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 '@apm-js-collab/code-transformer-bundler-plugins/core';\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":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsGO,MAAM,mBAAA,GAAsB;AAAA,EACjC,mBAAA,EAAqB,0BAAA;AAAA,EACrB,qBAAA,EAAuB,4BAAA;AAAA,EACvB,gBAAA,EAAkB,yBAAA;AAAA,EAClB,gBAAA,EAAkB,uBAAA;AAAA,EAClB,iBAAA,EAAmB,wBAAA;AAAA,EACnB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,mBAAA,EAAqB,0BAAA;AAAA,EACrB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,iBAAA,EAAmB,wBAAA;AAAA,EACnB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,sBAAA,EAAwB,6BAAA;AAAA,EACxB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,oBAAA,EAAsB,2BAAA;AAAA,EACtB,mBAAA,EAAqB,0BAAA;AAAA,EACrB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,eAAA,EAAiB,sBAAA;AAAA,EACjB,cAAA,EAAgB,qBAAA;AAAA,EAChB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,kBAAA,EAAoB,oCAAA;AAAA,EACpB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,kBAAA,EAAoB,yBAAA;AAAA,EACpB,cAAA,EAAgB,qBAAA;AAAA,EAChB,mBAAA,EAAqB;AACvB;;;;"}
@@ -0,0 +1,11 @@
1
+ import { GLOBAL_OBJ, getClient } from '@sentry/core';
2
+
3
+ function registerOrchestrionChannelIntegration(name, integrationFn) {
4
+ var _a;
5
+ const marker = (_a = GLOBAL_OBJ).__SENTRY_ORCHESTRION__ ?? (_a.__SENTRY_ORCHESTRION__ = {});
6
+ (marker.integrations ?? (marker.integrations = /* @__PURE__ */ new Map())).set(name, integrationFn);
7
+ getClient()?.addIntegration(integrationFn());
8
+ }
9
+
10
+ export { registerOrchestrionChannelIntegration };
11
+ //# sourceMappingURL=registerChannelIntegration.js.map
@@ -0,0 +1 @@
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":[],"mappings":";;AAiCO,SAAS,qCAAA,CAAsC,MAAc,aAAA,EAAwC;AAjC5G,EAAA,IAAA,EAAA;AAkCE,EAAA,MAAM,MAAA,GAAA,CAAU,EAAA,GAAA,UAAA,EAAW,sBAAA,KAAX,EAAA,CAAW,yBAA2B,EAAC,CAAA;AACvD,EAAA,CAAC,MAAA,CAAO,iBAAP,MAAA,CAAO,YAAA,uBAAqB,GAAA,EAAI,CAAA,EAAG,GAAA,CAAI,IAAA,EAAM,aAAa,CAAA;AAC3D,EAAA,SAAA,EAAU,EAAG,cAAA,CAAe,aAAA,EAAe,CAAA;AAC7C;;;;"}
@@ -1 +1 @@
1
- {"type":"module","version":"10.67.0","sideEffects":false}
1
+ {"type":"module","version":"10.68.0","sideEffects":false}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/vercel-ai/index.ts"],"sourcesContent":["import { defineIntegration, waitForTracingChannelBinding, type IntegrationFn } from '@sentry/core';\nimport { subscribeVercelAiTracingChannel } from './vercel-ai-dc-subscriber';\nimport * as dc from 'node:diagnostics_channel';\n\ntype VercelAiOptions = {\n /**\n * Enable or disable input recording. Enabled if `dataCollection.genAI.inputs` (or the deprecated `sendDefaultPii` option) is `true`\n * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.\n * Integration-level options take precedence over global `dataCollection` config.\n */\n recordInputs?: boolean;\n\n /**\n * Enable or disable output recording. Enabled if `dataCollection.genAI.outputs` (or the deprecated `sendDefaultPii` option) is `true`\n * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.\n * Integration-level options take precedence over global `dataCollection` config.\n */\n recordOutputs?: boolean;\n\n /**\n * Enable or disable truncation of recorded input messages.\n * Defaults to `true`.\n */\n enableTruncation?: boolean;\n};\n\nconst _vercelAiIntegration = ((options: VercelAiOptions = {}) => {\n return {\n name: 'VercelAI' as const,\n setupOnce() {\n // Bail if this is not available\n if (!dc.tracingChannel) {\n return;\n }\n\n // Subscribe to the `ai` SDK's native telemetry tracing channel (ai >= 7).\n // This is a no-op on versions that don't publish to the channel, so it is always safe to call.\n waitForTracingChannelBinding(() => {\n subscribeVercelAiTracingChannel(dc.tracingChannel, options);\n });\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).\n */\nexport const vercelAiIntegration = defineIntegration(_vercelAiIntegration);\n"],"names":["dc"],"mappings":";;;;AA0BA,MAAM,oBAAA,IAAwB,CAAC,OAAA,GAA2B,EAAC,KAAM;AAC/D,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,UAAA;AAAA,IACN,SAAA,GAAY;AAEV,MAAA,IAAI,CAACA,mBAAG,cAAA,EAAgB;AACtB,QAAA;AAAA,MACF;AAIA,MAAA,4BAAA,CAA6B,MAAM;AACjC,QAAA,+BAAA,CAAgCA,kBAAA,CAAG,gBAAgB,OAAO,CAAA;AAAA,MAC5D,CAAC,CAAA;AAAA,IACH;AAAA,GACF;AACF,CAAA,CAAA;AAKO,MAAM,mBAAA,GAAsB,kBAAkB,oBAAoB;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/vercel-ai/index.ts"],"sourcesContent":["import { defineIntegration, waitForTracingChannelBinding, type IntegrationFn } from '@sentry/core';\nimport { subscribeVercelAiTracingChannel } from './vercel-ai-dc-subscriber';\nimport * as dc from 'node:diagnostics_channel';\n\nexport interface VercelAiOptions {\n /**\n * Enable or disable input recording. Enabled if `dataCollection.genAI.inputs` (or the deprecated `sendDefaultPii` option) is `true`\n * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.\n * Integration-level options take precedence over global `dataCollection` config.\n */\n recordInputs?: boolean;\n\n /**\n * Enable or disable output recording. Enabled if `dataCollection.genAI.outputs` (or the deprecated `sendDefaultPii` option) is `true`\n * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.\n * Integration-level options take precedence over global `dataCollection` config.\n */\n recordOutputs?: boolean;\n\n /**\n * Enable or disable truncation of recorded input messages.\n * Defaults to `true`.\n */\n enableTruncation?: boolean;\n}\n\nconst _vercelAiIntegration = ((options: VercelAiOptions = {}) => {\n return {\n name: 'VercelAI' as const,\n setupOnce() {\n // Bail if this is not available\n if (!dc.tracingChannel) {\n return;\n }\n\n // Subscribe to the `ai` SDK's native telemetry tracing channel (ai >= 7).\n // This is a no-op on versions that don't publish to the channel, so it is always safe to call.\n waitForTracingChannelBinding(() => {\n subscribeVercelAiTracingChannel(dc.tracingChannel, options);\n });\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).\n */\nexport const vercelAiIntegration = defineIntegration(_vercelAiIntegration);\n"],"names":["dc"],"mappings":";;;;AA0BA,MAAM,oBAAA,IAAwB,CAAC,OAAA,GAA2B,EAAC,KAAM;AAC/D,EAAA,OAAO;AAAA,IACL,IAAA,EAAM,UAAA;AAAA,IACN,SAAA,GAAY;AAEV,MAAA,IAAI,CAACA,mBAAG,cAAA,EAAgB;AACtB,QAAA;AAAA,MACF;AAIA,MAAA,4BAAA,CAA6B,MAAM;AACjC,QAAA,+BAAA,CAAgCA,kBAAA,CAAG,gBAAgB,OAAO,CAAA;AAAA,MAC5D,CAAC,CAAA;AAAA,IACH;AAAA,GACF;AACF,CAAA,CAAA;AAKO,MAAM,mBAAA,GAAsB,kBAAkB,oBAAoB;;;;"}
@@ -16,7 +16,7 @@ export type { RedisDiagnosticChannelResponseHook } from './redis/redis-dc-subscr
16
16
  export { defaultDbStatementSerializer } from './redis/redis-statement-serializer';
17
17
  export { bindTracingChannelToSpan } from './tracing-channel';
18
18
  export type { SentryTracingChannel, TracingChannelLifeCycleOptions, TracingChannelBindingHandle, TracingChannelPayloadWithSpan, } from './tracing-channel';
19
- export { vercelAiIntegration } from './vercel-ai';
20
19
  export type { InstrumentationConfig } from './orchestrion';
20
+ export { vercelAiIntegration, type VercelAiOptions } from './vercel-ai';
21
21
  export { fastifyIntegration, handleFastifyError, instrumentFastify, } from './integrations/tracing-channel/fastify';
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1E,YAAY,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC/D,YAAY,EAAE,2BAA2B,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAChF,YAAY,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EACV,oBAAoB,EACpB,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACL,kBAAkB,EAElB,kBAAkB,EAElB,iBAAiB,GAClB,MAAM,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1E,YAAY,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC/D,YAAY,EAAE,2BAA2B,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAChF,YAAY,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EACV,oBAAoB,EACpB,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EACL,kBAAkB,EAElB,kBAAkB,EAElB,iBAAiB,GAClB,MAAM,wCAAwC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/dataloader.ts"],"names":[],"mappings":"AAqKA;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;CAAmD,CAAC"}
1
+ {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/dataloader.ts"],"names":[],"mappings":"AAwLA;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;CAAmD,CAAC"}
@@ -49,8 +49,8 @@ interface FastifyIntegrationOptions {
49
49
  * })
50
50
  * ```
51
51
  */
52
- export declare const fastifyIntegration: (options?: Partial<FastifyIntegrationOptions> | undefined) => import("@sentry/core").Integration & {
53
- name: string;
52
+ export declare const fastifyIntegration: (args_0?: Partial<FastifyIntegrationOptions> | undefined) => import("@sentry/core").Integration & {
53
+ name: "Fastify";
54
54
  };
55
55
  /**
56
56
  * @deprecated This export is deprecated and will not longer be exposed in the next major version.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAsB,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIhF,OAAO,EAAkC,kBAAkB,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAErG;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,UAAU,yBAAyB;IACjC;;;;;;;;OAQG;IACH,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;CAC5F;AAsBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;CAAqB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,kBAAkB,4BAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAsB,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGhF,OAAO,EAAkC,kBAAkB,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAErG;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,UAAU,yBAAyB;IACjC;;;;;;;;OAQG;IACH,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;CAC5F;AAsBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;CAAyC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;CAAqB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,kBAAkB,4BAAsB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { FastifyReply, FastifyRequest } from './types';
2
- export declare const INTEGRATION_NAME = "Fastify";
2
+ export declare const INTEGRATION_NAME: "Fastify";
3
3
  /**
4
4
  * Default function to determine if an error should be sent to Sentry
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAI9G"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,gBAAgB,EAAG,SAAkB,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAI9G"}
@@ -0,0 +1,38 @@
1
+ export interface FirebaseOptions {
2
+ [key: string]: unknown;
3
+ apiKey?: string;
4
+ projectId?: string;
5
+ appId?: string;
6
+ messagingSenderId?: string;
7
+ storageBucket?: string;
8
+ }
9
+ export interface FirebaseApp {
10
+ name: string;
11
+ options: FirebaseOptions;
12
+ }
13
+ export interface FirestoreSettings {
14
+ host?: string;
15
+ }
16
+ interface FirestoreLike {
17
+ app: FirebaseApp;
18
+ toJSON: () => {
19
+ settings?: FirestoreSettings;
20
+ };
21
+ }
22
+ export interface DocumentReference {
23
+ id: string;
24
+ firestore: FirestoreLike;
25
+ type: string;
26
+ path: string;
27
+ parent: CollectionReference | null;
28
+ }
29
+ export interface CollectionReference {
30
+ id: string;
31
+ firestore: FirestoreLike;
32
+ type: string;
33
+ path: string;
34
+ parent: DocumentReference | null;
35
+ }
36
+ export type FirestoreReference = CollectionReference | DocumentReference;
37
+ export {};
38
+ //# sourceMappingURL=firestore-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firestore-types.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/firebase/firestore-types.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa;IACrB,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,MAAM;QAAE,QAAQ,CAAC,EAAE,iBAAiB,CAAA;KAAE,CAAC;CAChD;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { Span } from '@sentry/core';
2
+ import type { FirestoreReference, FirestoreSettings } from './firestore-types';
3
+ /**
4
+ * Opens the inactive `db.query` span for a Firestore operation. `bindTracingChannelToSpan` makes it the
5
+ * active span for the traced call and ends it when the call settles. Mirrors the OTel integration's span,
6
+ * with a distinct `auto.firebase.orchestrion.firestore` origin.
7
+ */
8
+ export declare function startFirestoreSpan(spanName: string, reference: FirestoreReference): Span;
9
+ /**
10
+ * Gets the server address and port attributes from the Firestore settings.
11
+ * It's best effort to extract the address and port from the settings, especially for IPv6.
12
+ * @param settings - The Firestore settings containing host information.
13
+ */
14
+ export declare function getPortAndAddress(settings: FirestoreSettings): {
15
+ address?: string;
16
+ port?: number;
17
+ };
18
+ //# sourceMappingURL=firestore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"firestore.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/firebase/firestore.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAgC,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE7G;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAWxF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAwCA"}
@@ -0,0 +1,15 @@
1
+ interface FunctionsChannelContext {
2
+ arguments: unknown[];
3
+ self?: unknown;
4
+ }
5
+ /**
6
+ * Rewrap the handler argument of a firebase-functions `onX(...)` registration so the returned cloud
7
+ * function opens a `SERVER` span (and error boundary) each time it's invoked. Runs as the tracing
8
+ * channel's `start` subscriber, before orchestrion forwards the (mutated) arguments to the real call.
9
+ *
10
+ * The registration call itself is trivial and synchronous, so — unlike the firestore path — this does
11
+ * not bind a span to the channel; it only uses the channel as an injection point.
12
+ */
13
+ export declare function wrapFunctionsRegistration(data: FunctionsChannelContext, triggerType: string): void;
14
+ export {};
15
+ //# sourceMappingURL=functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/firebase/functions.ts"],"names":[],"mappings":"AAkBA,UAAU,uBAAuB;IAI/B,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAclG"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EXPERIMENTAL — orchestrion-driven firebase integration.
3
+ *
4
+ * Subscribes to the `orchestrion:@firebase/firestore:*` and `orchestrion:firebase-functions:*`
5
+ * diagnostics_channels the orchestrion code transform injects into firestore's `addDoc`/`getDocs`/
6
+ * `setDoc`/`deleteDoc` and firebase-functions' `onX` registration functions, emitting spans identical
7
+ * to the OTel integration — with a distinct `auto.firebase.orchestrion.*` origin. Requires the
8
+ * orchestrion runtime hook or bundler plugin — wire it up via `experimentalUseDiagnosticsChannelInjection()`.
9
+ *
10
+ * @experimental
11
+ */
12
+ export declare const firebaseChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Firebase";
14
+ };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/firebase/index.ts"],"names":[],"mappings":"AAuBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;CAAiD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function instrumentFirebase(): void;
2
+ //# sourceMappingURL=instrumentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/firebase/instrumentation.ts"],"names":[],"mappings":"AA2DA,wBAAgB,kBAAkB,SA0BjC"}
@@ -3,11 +3,7 @@
3
3
  * - v7 via native `ai:telemetry` tracing channel
4
4
  * - v4, v5 & v6 via orchestrion `orchestrion:ai:*` channels
5
5
  */
6
- export declare const vercelAiChannelIntegration: (options?: {
7
- recordInputs?: boolean;
8
- recordOutputs?: boolean;
9
- enableTruncation?: boolean;
10
- } | undefined) => import("@sentry/core").Integration & {
6
+ export declare const vercelAiChannelIntegration: (options?: import("../..").VercelAiOptions | undefined) => import("@sentry/core").Integration & {
11
7
  name: "VercelAI";
12
8
  };
13
9
  //# sourceMappingURL=vercel-ai.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/vercel-ai.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;CAAiD,CAAC"}
1
+ {"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/vercel-ai.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;CAAiD,CAAC"}
@@ -6,9 +6,8 @@ import type { PluginOptions } from './options';
6
6
  * Use when bundling a Node app with esbuild. For unbundled Node processes use the
7
7
  * runtime hook instead (`node --import @sentry/node/orchestrion app.js`).
8
8
  *
9
- * esbuild does not flatten nested `plugins` arrays, so this returns a single
10
- * plugin that strips instrumented packages from an `external` denylist before
11
- * delegating to the upstream transform.
9
+ * Instrumented packages marked as `external` never pass through the code
10
+ * transform, so a build warning is emitted for them.
12
11
  *
13
12
  * @example
14
13
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"esbuild.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/esbuild.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,yDAAyD,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAEvG"}
1
+ {"version":3,"file":"esbuild.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/esbuild.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,yDAAyD,CAAC;AAGtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAW/C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAkBvG"}
@@ -15,7 +15,41 @@ export type PluginOptions = {
15
15
  * Defaults to `true`.
16
16
  */
17
17
  shouldInjectDiagnostics?: boolean;
18
+ /**
19
+ * Inject a small marker-push into each instrumented module that imports only
20
+ * that package's channel-subscriber factory and pushes it onto
21
+ * `globalThis.__SENTRY_ORCHESTRION__.integrations`. A bundler-only SDK reads
22
+ * the marker at `init()` and instantiates the collected factories, so every
23
+ * transformed package's subscriber is wired up with no runtime module hook.
24
+ *
25
+ * Because each site imports a single named factory, it tree-shakes: a bundle
26
+ * carries subscriber code only for the packages actually transformed into it.
27
+ *
28
+ * This is what lets a bundler-only SDK (e.g. `@sentry/cloudflare`, which runs
29
+ * in workerd where requires can't be monkey-patched) record channel spans,
30
+ * but it is bundler-agnostic: any orchestrion bundler plugin can enable it.
31
+ * Leave it off for SDKs that wire the integrations up through a static import
32
+ * instead (e.g. `@sentry/node`'s `experimentalUseDiagnosticsChannelInjection()`),
33
+ * so the subscribers aren't registered twice.
34
+ *
35
+ * Defaults to `false`.
36
+ */
37
+ injectChannelSubscribers?: boolean;
18
38
  };
39
+ /**
40
+ * Whether an "external" config entry covers an instrumented module: an exact
41
+ * package name (`'mysql'`) or a subpath (`'mysql/lib/...'`) — the transform may
42
+ * target exactly the file a subpath entry externalizes. Mirrors the matching in
43
+ * `withoutInstrumentedExternals`.
44
+ */
45
+ export declare function externalEntryMatchesModule(entry: string, moduleName: string): boolean;
46
+ /**
47
+ * Warning emitted when a bundler config externalizes packages that orchestrion
48
+ * needs to transform. An externalized dependency is resolved from
49
+ * `node_modules` at runtime and never passes through the code transform, so
50
+ * its diagnostics_channel calls are silently never injected.
51
+ */
52
+ export declare function externalizedModulesWarning(externalizedModules: string[]): string;
19
53
  /**
20
54
  * The `@apm-js-collab/code-transformer-bundler-plugins` options shared by every
21
55
  * orchestrion bundler plugin.
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAEjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEzG,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC3C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACnD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,GAAG,4BAA4B,CAkBhG"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAGjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEzG,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC3C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACnD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;;;;;;;;;;;;;;OAkBG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAErF;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,mBAAmB,EAAE,MAAM,EAAE,GAAG,MAAM,CAMhF;AAED;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,GAAG,4BAA4B,CAwBhG"}
@@ -1 +1 @@
1
- {"version":3,"file":"rollup.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/rollup.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,wDAAwD,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAEvG"}
1
+ {"version":3,"file":"rollup.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/rollup.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,wDAAwD,CAAC;AAGrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAgBvG"}
@@ -0,0 +1,13 @@
1
+ import type { PluginOptions } from './options';
2
+ /**
3
+ * The `instrumentations` + `customTransforms` a bundler plugin passes to
4
+ * {@link orchestrionTransformOptions} to enable the marker-push subscribe
5
+ * injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).
6
+ *
7
+ * The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing
8
+ * configs, and `injectSubscribe` runs on each matched module, so every
9
+ * transformed package self-registers its subscriber on the global marker
10
+ * without a runtime module hook.
11
+ */
12
+ export declare function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'>;
13
+ //# sourceMappingURL=subscribeInjection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribeInjection.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/subscribeInjection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAkE/C;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAAC,aAAa,EAAE,kBAAkB,GAAG,kBAAkB,CAAC,CAKxG"}
@@ -1 +1 @@
1
- {"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,sDAAsD,CAAC;AAEnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAcvG"}
1
+ {"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/vite.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,sDAAsD,CAAC;AAGnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CA8BvG"}
@@ -1,6 +1,8 @@
1
1
  import type { InstrumentationConfig } from '..';
2
2
  import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
3
3
  import type { PluginOptions } from './options';
4
+ export { serializeInstrumentations } from '@apm-js-collab/code-transformer-bundler-plugins/core';
5
+ export type { SerializableInstrumentationConfig } from '@apm-js-collab/code-transformer-bundler-plugins/core';
4
6
  /** Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader). */
5
7
  export declare function getOrchestrionLoaderPath(): string;
6
8
  /**
@@ -13,7 +15,10 @@ export declare function getTracingHooksDirectory(): string;
13
15
  /** The central instrumentation config, to pass as the loader's `instrumentations` option. */
14
16
  export declare function getSentryInstrumentations(): InstrumentationConfig[];
15
17
  /**
16
- * The code-transform webpack plugin, pre-fed the instrumentation config
18
+ * The code-transform webpack plugin, pre-fed the instrumentation config.
19
+ *
20
+ * Instrumented packages marked as `externals` never pass through the code
21
+ * transform, so a compilation warning is emitted for them.
17
22
  */
18
23
  export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions): ReturnType<typeof codeTransformerWebpack>;
19
24
  //# sourceMappingURL=webpack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAEhD,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAgB/C,wGAAwG;AACxG,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAIjD;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,IAAI,qBAAqB,EAAE,CAEnE;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAErH"}
1
+ {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/webpack.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAEhD,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AACjG,YAAY,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAgB9G,wGAAwG;AACxG,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAIjD;AAED,6FAA6F;AAC7F,wBAAgB,yBAAyB,IAAI,qBAAqB,EAAE,CAEnE;AAuBD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,aAAkB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAgBrH"}
@@ -99,6 +99,21 @@ export declare const CHANNELS: {
99
99
  readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
100
100
  readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
101
101
  readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
102
+ readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
103
+ readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
104
+ readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
105
+ readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
106
+ readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
107
+ readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
108
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
109
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
110
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
111
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
112
+ readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
113
+ readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
114
+ readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
115
+ readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
116
+ readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
102
117
  readonly EXPRESS_HANDLE: "orchestrion:express:handle";
103
118
  readonly ROUTER_HANDLE: "orchestrion:router:handle";
104
119
  readonly EXPRESS_REGISTER: "orchestrion:express:register";
@@ -1 +1 @@
1
- {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AAgCA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const amqplibConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -63,4 +64,5 @@ export declare const amqplibChannels: {
63
64
  readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
64
65
  readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
65
66
  };
67
+ export declare const amqplibSubscribeInjection: InstrumentationConfig[];
66
68
  //# sourceMappingURL=amqplib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/amqplib.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;;;;;CAWlB,CAAC"}
1
+ {"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/amqplib.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAehD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;;;;;CAWlB,CAAC;AAEX,eAAO,MAAM,yBAAyB,yBAAuC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const anthropicAiConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -28,4 +29,5 @@ export declare const anthropicAiChannels: {
28
29
  readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
29
30
  readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
30
31
  };
32
+ export declare const anthropicAiSubscribeInjection: InstrumentationConfig[];
31
33
  //# sourceMappingURL=anthropic-ai.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"anthropic-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/anthropic-ai.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;IA+BK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
1
+ {"version":3,"file":"anthropic-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/anthropic-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;IA+BK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX,eAAO,MAAM,6BAA6B,yBAA2C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
2
  export declare const awsSdkConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -16,4 +17,5 @@ export declare const awsSdkChannels: {
16
17
  readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
17
18
  readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
18
19
  };
20
+ export declare const awsSdkSubscribeInjection: InstrumentationConfig[];
19
21
  //# sourceMappingURL=aws-sdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aws-sdk.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/aws-sdk.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;GAgBU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;CAIjB,CAAC"}
1
+ {"version":3,"file":"aws-sdk.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/aws-sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAY7E,eAAO,MAAM,YAAY;;;;;;;;;;;;GAgBU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,wBAAwB,yBAAsC,CAAC"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Build-time metadata mapping each instrumented package (orchestrion
3
+ * `module.name`) to the channel-subscriber integration that consumes the
4
+ * channels injected into it — by the `exportName` it is published under from
5
+ * `@sentry/server-utils/orchestrion`.
6
+ *
7
+ * Kept in a separate, factory-free module on purpose: the subscribe-injection
8
+ * transform (reachable from every orchestrion bundler plugin) reads this to
9
+ * generate the tiny snippet it injects into each instrumented file, and must
10
+ * not drag any subscriber code — or its `@sentry/core` span machinery — into
11
+ * the plugin's own build to do so.
12
+ *
13
+ * `exportName` must be a named export of `@sentry/server-utils/orchestrion`.
14
+ * `modules` must match `module.name` values in `SENTRY_INSTRUMENTATIONS` — e.g.
15
+ * `postgresChannelIntegration` covers both `pg` and `pg-pool`, and
16
+ * `redisChannelIntegration` both `redis` and `@redis/client`.
17
+ *
18
+ * `redis`, `ioredis` and `dataloader` are included even though they're not in
19
+ * the node SDK's `channelIntegrations` (they only partially replace an OTel
20
+ * integration there): in a bundler-only runtime like Cloudflare Workers there
21
+ * is no OTel integration to coordinate with, so subscribing whenever the
22
+ * package is bundled is unconditionally correct.
23
+ */
24
+ export declare const CHANNEL_INTEGRATION_DEFINITIONS: readonly [{
25
+ readonly exportName: "postgresChannelIntegration";
26
+ readonly modules: readonly ["pg", "pg-pool"];
27
+ }, {
28
+ readonly exportName: "postgresJsChannelIntegration";
29
+ readonly modules: readonly ["postgres"];
30
+ }, {
31
+ readonly exportName: "mysqlChannelIntegration";
32
+ readonly modules: readonly ["mysql"];
33
+ }, {
34
+ readonly exportName: "mysql2ChannelIntegration";
35
+ readonly modules: readonly ["mysql2"];
36
+ }, {
37
+ readonly exportName: "genericPoolChannelIntegration";
38
+ readonly modules: readonly ["generic-pool"];
39
+ }, {
40
+ readonly exportName: "lruMemoizerChannelIntegration";
41
+ readonly modules: readonly ["lru-memoizer"];
42
+ }, {
43
+ readonly exportName: "openaiChannelIntegration";
44
+ readonly modules: readonly ["openai"];
45
+ }, {
46
+ readonly exportName: "anthropicChannelIntegration";
47
+ readonly modules: readonly ["@anthropic-ai/sdk"];
48
+ }, {
49
+ readonly exportName: "googleGenAIChannelIntegration";
50
+ readonly modules: readonly ["@google/genai"];
51
+ }, {
52
+ readonly exportName: "vercelAiChannelIntegration";
53
+ readonly modules: readonly ["ai"];
54
+ }, {
55
+ readonly exportName: "amqplibChannelIntegration";
56
+ readonly modules: readonly ["amqplib"];
57
+ }, {
58
+ readonly exportName: "hapiChannelIntegration";
59
+ readonly modules: readonly ["@hapi/hapi"];
60
+ }, {
61
+ readonly exportName: "expressChannelIntegration";
62
+ readonly modules: readonly ["express", "router"];
63
+ }, {
64
+ readonly exportName: "graphqlChannelIntegration";
65
+ readonly modules: readonly ["graphql"];
66
+ }, {
67
+ readonly exportName: "kafkajsChannelIntegration";
68
+ readonly modules: readonly ["kafkajs"];
69
+ }, {
70
+ readonly exportName: "redisChannelIntegration";
71
+ readonly modules: readonly ["redis", "@redis/client"];
72
+ }, {
73
+ readonly exportName: "ioredisChannelIntegration";
74
+ readonly modules: readonly ["ioredis"];
75
+ }, {
76
+ readonly exportName: "dataloaderChannelIntegration";
77
+ readonly modules: readonly ["dataloader"];
78
+ }];
79
+ /** Look up the subscriber export name for an instrumented package, if any. */
80
+ export declare function subscriberExportForModule(moduleName: string): string | undefined;
81
+ //# sourceMappingURL=channel-integration-definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel-integration-definitions.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/channel-integration-definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB0C,CAAC;AAEvF,8EAA8E;AAC9E,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEhF"}