@sentry/server-utils 10.66.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 (562) hide show
  1. package/build/cjs/index.js +7 -0
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +16 -0
  4. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  5. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +154 -0
  6. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  7. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +46 -0
  8. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  9. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +47 -0
  10. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +419 -0
  12. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +131 -0
  14. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  15. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +21 -0
  16. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  17. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +64 -0
  18. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  19. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +21 -0
  20. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  21. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +27 -0
  22. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  23. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +63 -0
  24. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  25. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +116 -0
  26. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  27. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +25 -0
  28. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  29. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js +30 -0
  30. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  31. package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
  32. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
  33. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +1 -6
  34. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  35. package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
  36. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
  37. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
  38. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
  39. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  40. package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
  41. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
  42. package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
  43. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
  44. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
  45. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  46. package/build/cjs/integrations/tracing-channel/koa.js +146 -0
  47. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -0
  48. package/build/cjs/integrations/tracing-channel/langchain.js +63 -0
  49. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -0
  50. package/build/cjs/integrations/tracing-channel/langgraph.js +100 -0
  51. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -0
  52. package/build/cjs/integrations/tracing-channel/mongodb.js +104 -0
  53. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -0
  54. package/build/cjs/integrations/tracing-channel/mongoose.js +110 -0
  55. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -0
  56. package/build/cjs/integrations/tracing-channel/openai.js +1 -3
  57. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  58. package/build/cjs/integrations/tracing-channel/redis.js +25 -34
  59. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  60. package/build/cjs/integrations/tracing-channel/tedious.js +145 -0
  61. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -0
  62. package/build/cjs/mongodb/mongodb-span.js +133 -0
  63. package/build/cjs/mongodb/mongodb-span.js.map +1 -0
  64. package/build/cjs/mongoose/index.js.map +1 -1
  65. package/build/cjs/mongoose/mongoose-legacy-span.js +40 -0
  66. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -0
  67. package/build/cjs/orchestrion/bundler/esbuild.js +28 -1
  68. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  69. package/build/cjs/orchestrion/bundler/options.js +24 -1
  70. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  71. package/build/cjs/orchestrion/bundler/rollup.js +15 -1
  72. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  73. package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
  74. package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
  75. package/build/cjs/orchestrion/bundler/vite.js +18 -1
  76. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  77. package/build/cjs/orchestrion/bundler/webpack.js +39 -4
  78. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  79. package/build/cjs/orchestrion/channels.js +4 -4
  80. package/build/cjs/orchestrion/channels.js.map +1 -1
  81. package/build/cjs/orchestrion/config/amqplib.js +4 -0
  82. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  83. package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
  84. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  85. package/build/cjs/orchestrion/config/aws-sdk.js +32 -0
  86. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -0
  87. package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
  88. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
  89. package/build/cjs/orchestrion/config/dataloader.js +4 -0
  90. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  91. package/build/cjs/orchestrion/config/express.js +13 -8
  92. package/build/cjs/orchestrion/config/express.js.map +1 -1
  93. package/build/cjs/orchestrion/config/firebase.js +79 -2
  94. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  95. package/build/cjs/orchestrion/config/generic-pool.js +4 -0
  96. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  97. package/build/cjs/orchestrion/config/google-genai.js +4 -0
  98. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  99. package/build/cjs/orchestrion/config/graphql.js +4 -0
  100. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  101. package/build/cjs/orchestrion/config/hapi.js +4 -0
  102. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  103. package/build/cjs/orchestrion/config/index.js +42 -5
  104. package/build/cjs/orchestrion/config/index.js.map +1 -1
  105. package/build/cjs/orchestrion/config/ioredis.js +4 -0
  106. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  107. package/build/cjs/orchestrion/config/kafkajs.js +4 -0
  108. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  109. package/build/cjs/orchestrion/config/knex.js +4 -0
  110. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  111. package/build/cjs/orchestrion/config/koa.js +20 -0
  112. package/build/cjs/orchestrion/config/koa.js.map +1 -0
  113. package/build/cjs/orchestrion/config/langchain.js +50 -2
  114. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  115. package/build/cjs/orchestrion/config/langgraph.js +26 -2
  116. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  117. package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
  118. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  119. package/build/cjs/orchestrion/config/mongodb.js +65 -2
  120. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  121. package/build/cjs/orchestrion/config/mongoose.js +105 -2
  122. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  123. package/build/cjs/orchestrion/config/mysql.js +4 -0
  124. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  125. package/build/cjs/orchestrion/config/mysql2.js +4 -0
  126. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  127. package/build/cjs/orchestrion/config/nestjs.js +4 -0
  128. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  129. package/build/cjs/orchestrion/config/openai.js +9 -5
  130. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  131. package/build/cjs/orchestrion/config/pg.js +4 -0
  132. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  133. package/build/cjs/orchestrion/config/postgres.js +4 -0
  134. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  135. package/build/cjs/orchestrion/config/redis.js +4 -0
  136. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  137. package/build/cjs/orchestrion/config/remix.js +52 -2
  138. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  139. package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
  140. package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
  141. package/build/cjs/orchestrion/config/tedious.js +22 -2
  142. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  143. package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
  144. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  145. package/build/cjs/orchestrion/index.js +37 -9
  146. package/build/cjs/orchestrion/index.js.map +1 -1
  147. package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
  148. package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
  149. package/build/cjs/orchestrion/runtime/register.js +25 -12
  150. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  151. package/build/cjs/redis/redis-dc-subscriber.js +27 -38
  152. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  153. package/build/cjs/vercel-ai/index.js.map +1 -1
  154. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +16 -3
  155. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  156. package/build/esm/index.js +2 -0
  157. package/build/esm/index.js.map +1 -1
  158. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +9 -0
  159. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  160. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +152 -0
  161. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  162. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +41 -0
  163. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  164. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +45 -0
  165. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  166. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +417 -0
  167. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  168. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +129 -0
  169. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  170. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +19 -0
  171. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  172. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +62 -0
  173. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  174. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +19 -0
  175. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  176. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +25 -0
  177. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  178. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +61 -0
  179. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  180. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +114 -0
  181. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  182. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +23 -0
  183. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  184. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js +26 -0
  185. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  186. package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
  187. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
  188. package/build/esm/integrations/tracing-channel/express/instrumentation.js +1 -6
  189. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  190. package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
  191. package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
  192. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
  193. package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
  194. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
  195. package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
  196. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
  197. package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
  198. package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
  199. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
  200. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
  201. package/build/esm/integrations/tracing-channel/koa.js +144 -0
  202. package/build/esm/integrations/tracing-channel/koa.js.map +1 -0
  203. package/build/esm/integrations/tracing-channel/langchain.js +61 -0
  204. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -0
  205. package/build/esm/integrations/tracing-channel/langgraph.js +98 -0
  206. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -0
  207. package/build/esm/integrations/tracing-channel/mongodb.js +102 -0
  208. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -0
  209. package/build/esm/integrations/tracing-channel/mongoose.js +108 -0
  210. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -0
  211. package/build/esm/integrations/tracing-channel/openai.js +1 -3
  212. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  213. package/build/esm/integrations/tracing-channel/redis.js +25 -34
  214. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  215. package/build/esm/integrations/tracing-channel/tedious.js +143 -0
  216. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -0
  217. package/build/esm/mongodb/mongodb-span.js +126 -0
  218. package/build/esm/mongodb/mongodb-span.js.map +1 -0
  219. package/build/esm/mongoose/index.js.map +1 -1
  220. package/build/esm/mongoose/mongoose-legacy-span.js +38 -0
  221. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -0
  222. package/build/esm/orchestrion/bundler/esbuild.js +25 -2
  223. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  224. package/build/esm/orchestrion/bundler/options.js +23 -2
  225. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  226. package/build/esm/orchestrion/bundler/rollup.js +12 -2
  227. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  228. package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
  229. package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
  230. package/build/esm/orchestrion/bundler/vite.js +14 -1
  231. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  232. package/build/esm/orchestrion/bundler/webpack.js +35 -5
  233. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  234. package/build/esm/orchestrion/channels.js +4 -4
  235. package/build/esm/orchestrion/channels.js.map +1 -1
  236. package/build/esm/orchestrion/config/amqplib.js +4 -1
  237. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  238. package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
  239. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  240. package/build/esm/orchestrion/config/aws-sdk.js +28 -0
  241. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -0
  242. package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
  243. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
  244. package/build/esm/orchestrion/config/dataloader.js +4 -1
  245. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  246. package/build/esm/orchestrion/config/express.js +13 -9
  247. package/build/esm/orchestrion/config/express.js.map +1 -1
  248. package/build/esm/orchestrion/config/firebase.js +79 -3
  249. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  250. package/build/esm/orchestrion/config/generic-pool.js +4 -1
  251. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  252. package/build/esm/orchestrion/config/google-genai.js +4 -1
  253. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  254. package/build/esm/orchestrion/config/graphql.js +4 -1
  255. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  256. package/build/esm/orchestrion/config/hapi.js +4 -1
  257. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  258. package/build/esm/orchestrion/config/index.js +69 -33
  259. package/build/esm/orchestrion/config/index.js.map +1 -1
  260. package/build/esm/orchestrion/config/ioredis.js +4 -1
  261. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  262. package/build/esm/orchestrion/config/kafkajs.js +4 -1
  263. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  264. package/build/esm/orchestrion/config/knex.js +4 -1
  265. package/build/esm/orchestrion/config/knex.js.map +1 -1
  266. package/build/esm/orchestrion/config/koa.js +16 -0
  267. package/build/esm/orchestrion/config/koa.js.map +1 -0
  268. package/build/esm/orchestrion/config/langchain.js +49 -3
  269. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  270. package/build/esm/orchestrion/config/langgraph.js +26 -3
  271. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  272. package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
  273. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  274. package/build/esm/orchestrion/config/mongodb.js +65 -3
  275. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  276. package/build/esm/orchestrion/config/mongoose.js +104 -3
  277. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  278. package/build/esm/orchestrion/config/mysql.js +4 -1
  279. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  280. package/build/esm/orchestrion/config/mysql2.js +4 -1
  281. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  282. package/build/esm/orchestrion/config/nestjs.js +4 -1
  283. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  284. package/build/esm/orchestrion/config/openai.js +9 -6
  285. package/build/esm/orchestrion/config/openai.js.map +1 -1
  286. package/build/esm/orchestrion/config/pg.js +4 -1
  287. package/build/esm/orchestrion/config/pg.js.map +1 -1
  288. package/build/esm/orchestrion/config/postgres.js +4 -1
  289. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  290. package/build/esm/orchestrion/config/redis.js +4 -1
  291. package/build/esm/orchestrion/config/redis.js.map +1 -1
  292. package/build/esm/orchestrion/config/remix.js +52 -3
  293. package/build/esm/orchestrion/config/remix.js.map +1 -1
  294. package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
  295. package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
  296. package/build/esm/orchestrion/config/tedious.js +22 -3
  297. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  298. package/build/esm/orchestrion/config/vercel-ai.js +4 -1
  299. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  300. package/build/esm/orchestrion/index.js +20 -2
  301. package/build/esm/orchestrion/index.js.map +1 -1
  302. package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
  303. package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
  304. package/build/esm/orchestrion/runtime/register.js +25 -12
  305. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  306. package/build/esm/package.json +1 -1
  307. package/build/esm/redis/redis-dc-subscriber.js +27 -38
  308. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  309. package/build/esm/vercel-ai/index.js.map +1 -1
  310. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +17 -4
  311. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  312. package/build/types/index.d.ts +6 -2
  313. package/build/types/index.d.ts.map +1 -1
  314. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  315. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  316. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  317. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -0
  318. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  319. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -0
  320. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  321. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  322. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  323. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  324. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  325. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  326. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  327. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  328. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  329. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -0
  330. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  331. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +1 -0
  332. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  333. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -0
  334. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  335. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -0
  336. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  337. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -0
  338. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  339. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  340. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  341. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -0
  342. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  343. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -0
  344. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  345. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  346. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  347. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -0
  348. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  349. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +1 -0
  350. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
  351. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  352. package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
  353. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
  354. package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  355. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
  356. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  357. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
  358. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  359. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
  360. package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  361. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
  362. package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
  363. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
  364. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  365. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
  366. package/build/types/integrations/tracing-channel/koa.d.ts +14 -0
  367. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -0
  368. package/build/types/integrations/tracing-channel/langchain.d.ts +10 -0
  369. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -0
  370. package/build/types/integrations/tracing-channel/langgraph.d.ts +10 -0
  371. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -0
  372. package/build/types/integrations/tracing-channel/mongodb.d.ts +12 -0
  373. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -0
  374. package/build/types/integrations/tracing-channel/mongoose.d.ts +15 -0
  375. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -0
  376. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  377. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  378. package/build/types/integrations/tracing-channel/tedious.d.ts +11 -0
  379. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -0
  380. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  381. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
  382. package/build/types/mongodb/mongodb-span.d.ts +66 -0
  383. package/build/types/mongodb/mongodb-span.d.ts.map +1 -0
  384. package/build/types/mongoose/index.d.ts +2 -0
  385. package/build/types/mongoose/index.d.ts.map +1 -1
  386. package/build/types/mongoose/mongoose-legacy-span.d.ts +29 -0
  387. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  388. package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
  389. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  390. package/build/types/orchestrion/bundler/options.d.ts +47 -3
  391. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  392. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  393. package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  394. package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
  395. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  396. package/build/types/orchestrion/bundler/webpack.d.ts +10 -5
  397. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  398. package/build/types/orchestrion/channels.d.ts +51 -6
  399. package/build/types/orchestrion/channels.d.ts.map +1 -1
  400. package/build/types/orchestrion/config/amqplib.d.ts +2 -0
  401. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  402. package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
  403. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  404. package/build/types/orchestrion/config/aws-sdk.d.ts +21 -0
  405. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -0
  406. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
  407. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
  408. package/build/types/orchestrion/config/dataloader.d.ts +2 -0
  409. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
  410. package/build/types/orchestrion/config/express.d.ts +4 -4
  411. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  412. package/build/types/orchestrion/config/firebase.d.ts +42 -3
  413. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  414. package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
  415. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  416. package/build/types/orchestrion/config/google-genai.d.ts +2 -0
  417. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  418. package/build/types/orchestrion/config/graphql.d.ts +2 -0
  419. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  420. package/build/types/orchestrion/config/hapi.d.ts +2 -0
  421. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  422. package/build/types/orchestrion/config/index.d.ts +13 -1
  423. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  424. package/build/types/orchestrion/config/ioredis.d.ts +2 -1
  425. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  426. package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
  427. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  428. package/build/types/orchestrion/config/knex.d.ts +2 -1
  429. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  430. package/build/types/orchestrion/config/koa.d.ts +19 -0
  431. package/build/types/orchestrion/config/koa.d.ts.map +1 -0
  432. package/build/types/orchestrion/config/langchain.d.ts +19 -3
  433. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  434. package/build/types/orchestrion/config/langgraph.d.ts +22 -3
  435. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  436. package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
  437. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  438. package/build/types/orchestrion/config/mongodb.d.ts +60 -3
  439. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  440. package/build/types/orchestrion/config/mongoose.d.ts +41 -3
  441. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  442. package/build/types/orchestrion/config/mysql.d.ts +2 -0
  443. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  444. package/build/types/orchestrion/config/mysql2.d.ts +2 -0
  445. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  446. package/build/types/orchestrion/config/nestjs.d.ts +2 -1
  447. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  448. package/build/types/orchestrion/config/openai.d.ts +2 -2
  449. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  450. package/build/types/orchestrion/config/pg.d.ts +2 -0
  451. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  452. package/build/types/orchestrion/config/postgres.d.ts +2 -1
  453. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  454. package/build/types/orchestrion/config/redis.d.ts +2 -0
  455. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  456. package/build/types/orchestrion/config/remix.d.ts +8 -2
  457. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  458. package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
  459. package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
  460. package/build/types/orchestrion/config/tedious.d.ts +11 -2
  461. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  462. package/build/types/orchestrion/config/vercel-ai.d.ts +2 -1
  463. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  464. package/build/types/orchestrion/index.d.ts +38 -6
  465. package/build/types/orchestrion/index.d.ts.map +1 -1
  466. package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
  467. package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
  468. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  469. package/build/types/vercel-ai/index.d.ts +2 -3
  470. package/build/types/vercel-ai/index.d.ts.map +1 -1
  471. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
  472. package/build/types-ts3.8/index.d.ts +6 -2
  473. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  474. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  475. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  476. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  477. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  478. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  479. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  480. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  481. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  482. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  483. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  484. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  485. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  486. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  487. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  488. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  489. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  490. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  491. package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
  492. package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
  493. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
  494. package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
  495. package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
  496. package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
  497. package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
  498. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +14 -0
  499. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +10 -0
  500. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +10 -0
  501. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +12 -0
  502. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +15 -0
  503. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +11 -0
  504. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
  505. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +66 -0
  506. package/build/types-ts3.8/mongoose/index.d.ts +2 -0
  507. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +29 -0
  508. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
  509. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +47 -3
  510. package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
  511. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +10 -5
  512. package/build/types-ts3.8/orchestrion/channels.d.ts +51 -6
  513. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
  514. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
  515. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +21 -0
  516. package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
  517. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
  518. package/build/types-ts3.8/orchestrion/config/express.d.ts +4 -4
  519. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +42 -3
  520. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
  521. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
  522. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
  523. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
  524. package/build/types-ts3.8/orchestrion/config/index.d.ts +13 -1
  525. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +2 -1
  526. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
  527. package/build/types-ts3.8/orchestrion/config/knex.d.ts +2 -1
  528. package/build/types-ts3.8/orchestrion/config/koa.d.ts +19 -0
  529. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +19 -3
  530. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +22 -3
  531. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
  532. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +60 -3
  533. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +41 -3
  534. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
  535. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
  536. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +2 -1
  537. package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -2
  538. package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
  539. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +2 -1
  540. package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
  541. package/build/types-ts3.8/orchestrion/config/remix.d.ts +8 -2
  542. package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
  543. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +11 -2
  544. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +2 -1
  545. package/build/types-ts3.8/orchestrion/index.d.ts +38 -6
  546. package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
  547. package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
  548. package/package.json +4 -4
  549. package/build/cjs/orchestrion/config/prisma.js +0 -8
  550. package/build/cjs/orchestrion/config/prisma.js.map +0 -1
  551. package/build/cjs/orchestrion/config/react-router.js +0 -8
  552. package/build/cjs/orchestrion/config/react-router.js.map +0 -1
  553. package/build/esm/orchestrion/config/prisma.js +0 -5
  554. package/build/esm/orchestrion/config/prisma.js.map +0 -1
  555. package/build/esm/orchestrion/config/react-router.js +0 -5
  556. package/build/esm/orchestrion/config/react-router.js.map +0 -1
  557. package/build/types/orchestrion/config/prisma.d.ts +0 -4
  558. package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
  559. package/build/types/orchestrion/config/react-router.d.ts +0 -4
  560. package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
  561. package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
  562. package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
@@ -0,0 +1,33 @@
1
+ import type { Integration } from '@sentry/core';
2
+ /**
3
+ * Register an orchestrion channel-subscriber integration from an instrumented
4
+ * module. This is the runtime target of the snippet the subscribe-injection
5
+ * transform splices into each transformed package (see
6
+ * `bundler/subscribeInjection.ts`), so a bundler-only SDK (e.g.
7
+ * `@sentry/cloudflare`, running in workerd where requires can't be
8
+ * monkey-patched) wires up subscribers with no runtime module hook.
9
+ *
10
+ * It does two things, covering the two disjoint timing cases:
11
+ *
12
+ * 1. Stores the factory on the global orchestrion marker under `name`, so a
13
+ * later `init()` (a fresh isolate, or a client created after this module
14
+ * loads) picks it up via `getDefaultIntegrations()`.
15
+ * 2. If a client already exists, registers the integration on it right away.
16
+ * This is what makes the mechanism robust against module load order:
17
+ * bundler-only SDKs call `init()` per request, but a package like `mysql`
18
+ * loads its instrumented file lazily on first use, i.e. AFTER that request's
19
+ * `init()` already snapshotted the marker. Without the live add, the first
20
+ * request that touches such a package would publish to a channel nobody
21
+ * subscribed to yet.
22
+ *
23
+ * `addIntegration` dedupes by integration name and only runs `setupOnce` once,
24
+ * so storing AND live-adding never double-subscribes.
25
+ *
26
+ * The marker is a `Map` keyed by `name` (the factory's export name) so a package
27
+ * split across several instrumented files (e.g. `pg`'s JS and native clients, or
28
+ * openai's per-resource `.js`/`.mjs` files) registers its one subscriber once,
29
+ * no matter how many of its files land in the bundle. `.set` on the shared key
30
+ * is idempotent.
31
+ */
32
+ export declare function registerOrchestrionChannelIntegration(name: string, integrationFn: () => Integration): void;
33
+ //# sourceMappingURL=registerChannelIntegration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerChannelIntegration.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/registerChannelIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,WAAW,GAAG,IAAI,CAI1G"}
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"AAqBA,MAAM,WAAW,0CAA0C;IACzD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,CAAC,EAAE,0CAA0C,GAAG,IAAI,CA6G9G"}
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,0CAA0C;IACzD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,CAAC,EAAE,0CAA0C,GAAG,IAAI,CAiJ9G"}
@@ -1,4 +1,4 @@
1
- type VercelAiOptions = {
1
+ export interface VercelAiOptions {
2
2
  /**
3
3
  * Enable or disable input recording. Enabled if `dataCollection.genAI.inputs` (or the deprecated `sendDefaultPii` option) is `true`
4
4
  * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings.
@@ -16,12 +16,11 @@ type VercelAiOptions = {
16
16
  * Defaults to `true`.
17
17
  */
18
18
  enableTruncation?: boolean;
19
- };
19
+ }
20
20
  /**
21
21
  * Auto-instrument the `ai` SDK's native telemetry tracing channel (ai >= 7).
22
22
  */
23
23
  export declare const vercelAiIntegration: (options?: VercelAiOptions | undefined) => import("@sentry/core").Integration & {
24
24
  name: "VercelAI";
25
25
  };
26
- export {};
27
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/index.ts"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAoBF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/index.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAoBD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAA0C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vercel-ai-orchestrion-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-orchestrion-subscriber.ts"],"names":[],"mappings":"AAMA,OAAO,EAQL,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AA+FnC;;;;;;;;GAQG;AACH,wBAAgB,oCAAoC,CAClD,cAAc,EAAE,6BAA6B,EAC7C,OAAO,GAAE,sBAA2B,GACnC,IAAI,CA8DN"}
1
+ {"version":3,"file":"vercel-ai-orchestrion-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-orchestrion-subscriber.ts"],"names":[],"mappings":"AAaA,OAAO,EAQL,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AA8GnC;;;;;;;;GAQG;AACH,wBAAgB,oCAAoC,CAClD,cAAc,EAAE,6BAA6B,EAC7C,OAAO,GAAE,sBAA2B,GACnC,IAAI,CA8DN"}
@@ -5,7 +5,10 @@
5
5
  * @module
6
6
  */
7
7
  export { graphqlIntegration } from './graphql';
8
- export { mongooseIntegration } from './mongoose';
8
+ export { mongooseIntegration, startMongooseLegacySpan } from './mongoose';
9
+ export { MongooseLegacyCollection, StartMongooseLegacySpanOptions } from './mongoose';
10
+ export { getV3CommandOperation, getV3SpanAttributes, getV4SpanAttributes, startMongoSpan, } from './mongodb/mongodb-span';
11
+ export { MongodbNamespace, MongoV3Topology } from './mongodb/mongodb-span';
9
12
  export { mysql2Integration } from './mysql2';
10
13
  export { instrumentPrisma, prismaIntegration } from './prisma';
11
14
  export { PrismaInstrumentationConfig, PrismaOptions } from './prisma';
@@ -14,6 +17,7 @@ export { RedisDiagnosticChannelResponseHook } from './redis/redis-dc-subscriber'
14
17
  export { defaultDbStatementSerializer } from './redis/redis-statement-serializer';
15
18
  export { bindTracingChannelToSpan } from './tracing-channel';
16
19
  export { SentryTracingChannel, TracingChannelLifeCycleOptions, TracingChannelBindingHandle, TracingChannelPayloadWithSpan, } from './tracing-channel';
17
- export { vercelAiIntegration } from './vercel-ai';
20
+ export { InstrumentationConfig } from './orchestrion';
21
+ export { vercelAiIntegration, VercelAiOptions } from './vercel-ai';
18
22
  export { fastifyIntegration, handleFastifyError, instrumentFastify, } from './integrations/tracing-channel/fastify';
19
23
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,43 @@
1
+ interface Blob {
2
+ }
3
+ type Binary = Buffer | Uint8Array | Blob | string;
4
+ export declare namespace SNS {
5
+ interface MessageAttributeValue {
6
+ DataType: string;
7
+ StringValue?: string;
8
+ BinaryValue?: Binary;
9
+ }
10
+ export type MessageAttributeMap = {
11
+ [key: string]: MessageAttributeValue;
12
+ };
13
+ export {};
14
+ }
15
+ export declare namespace SQS {
16
+ type StringList = string[];
17
+ type BinaryList = Binary[];
18
+ interface MessageAttributeValue {
19
+ StringValue?: string;
20
+ BinaryValue?: Binary;
21
+ StringListValues?: StringList;
22
+ BinaryListValues?: BinaryList;
23
+ DataType: string;
24
+ }
25
+ export type MessageBodyAttributeMap = {
26
+ [key: string]: MessageAttributeValue;
27
+ };
28
+ type MessageSystemAttributeMap = {
29
+ [key: string]: string;
30
+ };
31
+ export interface Message {
32
+ MessageId?: string;
33
+ ReceiptHandle?: string;
34
+ MD5OfBody?: string;
35
+ Body?: string;
36
+ Attributes?: MessageSystemAttributeMap;
37
+ MD5OfMessageAttributes?: string;
38
+ MessageAttributes?: MessageBodyAttributeMap;
39
+ }
40
+ export {};
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=aws-sdk.types.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * AWS-specific span constants used by the aws-sdk channel integration that are NOT covered by
3
+ * `@sentry/conventions/attributes` (attribute names that exist there are imported from there
4
+ * directly). These are either Sentry-specific (the span origin), attribute *values* (not keys), or
5
+ * obsolete OTel conventions with no `@sentry/conventions` export.
6
+ */
7
+ /** The span origin every aws-sdk channel span carries, mirroring the uniform OTel `auto.otel.aws`. */
8
+ export declare const AWS_SDK_ORIGIN = "auto.aws.orchestrion.aws_sdk";
9
+ /** DynamoDB `db.system` value (an attribute value, not a key, so not covered by conventions). */
10
+ export declare const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb";
11
+ export declare const ATTR_MESSAGING_DESTINATION_KIND = "messaging.destination_kind";
12
+ export declare const MESSAGING_DESTINATION_KIND_VALUE_TOPIC = "topic";
13
+ export declare const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat";
14
+ export declare const GEN_AI_SYSTEM_VALUE_AWS_BEDROCK = "aws.bedrock";
15
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EXPERIMENTAL — orchestrion-driven aws-sdk (v3) integration.
3
+ *
4
+ * Subscribes to the `orchestrion:@smithy/smithy-client:send` (and equivalent) diagnostics_channel
5
+ * the orchestrion code transform injects into the AWS SDK's smithy `Client.prototype.send`, emitting
6
+ * spans identical to the OTel `@opentelemetry/instrumentation-aws-sdk` integration (with a distinct
7
+ * `auto.aws.orchestrion.aws_sdk` origin). Requires the orchestrion runtime hook or bundler plugin —
8
+ * wire it up via `experimentalUseDiagnosticsChannelInjection()`.
9
+ *
10
+ * @experimental
11
+ */
12
+ export declare const awsChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Aws";
14
+ };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { SerializedTraceData } from '@sentry/core';
2
+ import { SNS, SQS } from '../aws-sdk.types';
3
+ export declare const MAX_MESSAGE_ATTRIBUTES = 10;
4
+ export interface AwsSdkContextObject {
5
+ [key: string]: {
6
+ StringValue?: string;
7
+ Value?: string;
8
+ };
9
+ }
10
+ /**
11
+ * Inject trace-propagation headers (from `getTraceData({ span })`) into an SQS/SNS message-attribute
12
+ * map, so the consumer can continue the trace. Respects the SQS 10-attribute quota. Mirrors the OTel
13
+ * integration's `injectPropagationContext`, but writes Sentry's `sentry-trace`/`baggage` instead of
14
+ * W3C headers. Callers pass the precomputed headers so batch sends serialize them only once.
15
+ */
16
+ export declare function injectPropagationContext(attributesMap: SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap | undefined, traceData: SerializedTraceData): SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap;
17
+ /** Read the propagation headers back off a received SQS message, if present. */
18
+ export declare function extractPropagationHeaders(message: SQS.Message): {
19
+ sentryTrace?: string;
20
+ baggage?: string;
21
+ } | undefined;
22
+ export declare function addPropagationFieldsToAttributeNames(messageAttributeNames?: string[]): string[];
23
+ //# sourceMappingURL=MessageAttributes.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse, RequestMetadata } from '../types';
3
+ export { RequestMetadata };
4
+ export interface ServiceExtension {
5
+ requestPreSpanHook: (request: NormalizedRequest) => RequestMetadata;
6
+ requestPostSpanHook?: (request: NormalizedRequest, span: Span) => void;
7
+ responseHook?: (response: NormalizedResponse, span: Span) => void;
8
+ }
9
+ //# sourceMappingURL=ServiceExtension.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse, RequestMetadata } from '../types';
3
+ import { ServiceExtension } from './ServiceExtension';
4
+ export declare class ServicesExtensions implements ServiceExtension {
5
+ private _services;
6
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
7
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
8
+ responseHook(response: NormalizedResponse, span: Span): void;
9
+ }
10
+ //# sourceMappingURL=ServicesExtensions.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class BedrockRuntimeServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ private _requestPreSpanHookConverse;
8
+ private _requestPreSpanHookInvokeModel;
9
+ private _responseHookConverse;
10
+ private _responseHookConverseStream;
11
+ private _responseHookInvokeModel;
12
+ private _responseHookInvokeModelWithResponseStream;
13
+ }
14
+ //# sourceMappingURL=bedrock-runtime.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class DynamodbServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(normalizedRequest: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ }
8
+ //# sourceMappingURL=dynamodb.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { ServicesExtensions } from './ServicesExtensions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class KinesisServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=kinesis.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class LambdaServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=lambda.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class S3ServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=s3.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SecretsManagerServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ }
8
+ //# sourceMappingURL=secretsmanager.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SnsServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=sns.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SqsServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=sqs.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class StepFunctionsServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=stepfunctions.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { SpanKindValue } from '@sentry/core';
2
+ export type CommandInput = Record<string, any>;
3
+ /**
4
+ * These are normalized request and response. They organize the relevant data in one interface which
5
+ * can be processed in a uniform manner in the per-service hooks.
6
+ */
7
+ export interface NormalizedRequest {
8
+ serviceName: string;
9
+ commandName: string;
10
+ commandInput: CommandInput;
11
+ region?: string;
12
+ }
13
+ export interface NormalizedResponse {
14
+ data: any;
15
+ request: NormalizedRequest;
16
+ requestId?: string;
17
+ }
18
+ /** Span metadata a per-service extension returns for the subscriber to build the span from. */
19
+ export interface RequestMetadata {
20
+ isStream?: boolean;
21
+ spanAttributes?: Record<string, unknown>;
22
+ spanKind?: SpanKindValue;
23
+ spanName?: string;
24
+ spanOp?: string;
25
+ }
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { CommandInput, NormalizedRequest } from './types';
2
+ export declare function removeSuffixFromStringIfExists(str: string, suffixToRemove: string): string;
3
+ export declare function normalizeV3Request(serviceName: string, commandNameWithSuffix: string, commandInput: CommandInput, region: string | undefined): NormalizedRequest;
4
+ export declare function extractAttributesFromNormalizedRequest(normalizedRequest: NormalizedRequest): Record<string, unknown>;
5
+ //# sourceMappingURL=utils.d.ts.map
@@ -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,5 +1,5 @@
1
1
  import { 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
  *
@@ -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,18 @@
1
+ import { Span } from '@sentry/core';
2
+ import { 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,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,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,2 @@
1
+ export declare function instrumentFirebase(): void;
2
+ //# sourceMappingURL=instrumentation.d.ts.map
@@ -0,0 +1,14 @@
1
+ export interface KoaChannelIntegrationOptions {
2
+ /** Ignore layers of the specified types (`'middleware'` and/or `'router'`). */
3
+ ignoreLayersType?: Array<'middleware' | 'router'>;
4
+ }
5
+ /**
6
+ * EXPERIMENTAL — orchestrion-driven koa integration. Subscribes to the
7
+ * `orchestrion:koa:use` channel injected into `Application.prototype.use` and
8
+ * wraps each registered middleware/router layer in a span-creating proxy.
9
+ * Requires the orchestrion runtime hook or bundler plugin.
10
+ */
11
+ export declare const koaChannelIntegration: (options?: KoaChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
12
+ name: "Koa";
13
+ };
14
+ //# sourceMappingURL=koa.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { LangChainOptions } from '@sentry/core';
2
+ /**
3
+ * EXPERIMENTAL — orchestrion-driven LangChain integration. Subscribes to the diagnostics_channels
4
+ * injected into `@langchain/core`'s `BaseChatModel` (to inject the Sentry callback handler) and into
5
+ * `@langchain/openai`'s embedding methods, so it requires the orchestrion runtime hook or bundler plugin.
6
+ */
7
+ export declare const langChainChannelIntegration: (options?: LangChainOptions | undefined) => import("@sentry/core").Integration & {
8
+ name: "LangChain";
9
+ };
10
+ //# sourceMappingURL=langchain.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { LangGraphOptions } from '@sentry/core';
2
+ /**
3
+ * EXPERIMENTAL — orchestrion-driven LangGraph integration. Subscribes to the diagnostics_channels
4
+ * injected into `@langchain/langgraph`'s `StateGraph.compile` and `createReactAgent`, so it requires
5
+ * the orchestrion runtime hook or bundler plugin.
6
+ */
7
+ export declare const langGraphChannelIntegration: (options?: LangGraphOptions | undefined) => import("@sentry/core").Integration & {
8
+ name: "LangGraph";
9
+ };
10
+ //# sourceMappingURL=langgraph.d.ts.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * EXPERIMENTAL: orchestrion-driven mongodb integration.
3
+ *
4
+ * Reproduces the vendored `@opentelemetry/instrumentation-mongodb` span shape
5
+ * (legacy db/net semantic conventions, `mongodb.<op>` names, scrubbed
6
+ * `db.statement`) via the `orchestrion:mongodb:*` diagnostics_channels
7
+ * injected by the orchestrion code transform.
8
+ */
9
+ export declare const mongodbChannelIntegration: () => import("@sentry/core").Integration & {
10
+ name: "Mongo";
11
+ };
12
+ //# sourceMappingURL=mongodb.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EXPERIMENTAL: orchestrion-driven mongoose integration.
3
+ *
4
+ * Reproduces the vendored `@opentelemetry/instrumentation-mongoose` span
5
+ * shape (legacy db/net semantic conventions, `mongoose.<Model>.<op>` names,
6
+ * build-time span parenting) via the `orchestrion:mongoose:*`
7
+ * diagnostics_channels injected into mongoose `< 9.7` by the orchestrion
8
+ * code transform. For mongoose `>= 9.7` it also drives the native
9
+ * diagnostics_channel subscription, so this single integration covers every
10
+ * supported version once it replaces the OTel one.
11
+ */
12
+ export declare const mongooseChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Mongoose";
14
+ };
15
+ //# sourceMappingURL=mongoose.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * EXPERIMENTAL - orchestrion-driven tedious integration.
3
+ *
4
+ * Subscribes to the `orchestrion:tedious:*` diagnostics_channels that the orchestrion code transform
5
+ * injects into tedious's `Connection` request methods (each traced as one db span) and `Connection.connect`
6
+ * (active-database bookkeeping). Requires the orchestrion runtime hook or bundler plugin to be active.
7
+ */
8
+ export declare const tediousChannelIntegration: () => import("@sentry/core").Integration & {
9
+ name: "Tedious";
10
+ };
11
+ //# sourceMappingURL=tedious.d.ts.map
@@ -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
@@ -0,0 +1,66 @@
1
+ import { Span, SpanAttributes } from '@sentry/core';
2
+ /**
3
+ * The db/collection namespace mongodb (v4+) passes to `Connection.command`
4
+ */
5
+ export interface MongodbNamespace {
6
+ db: string;
7
+ collection?: string;
8
+ }
9
+ interface V4Command {
10
+ documents?: unknown[];
11
+ cursors?: unknown;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ * Replaces every leaf value in the command object with '?', keeping keys
16
+ * and Mongo operators. hides PII and improves grouping. Reproduced from
17
+ * the OTel instrumentation.
18
+ */
19
+ export declare function serializeDbStatement(commandObj: Record<string, unknown>): string;
20
+ /**
21
+ * Build span attributes for a mongodb v4+ command from the connection
22
+ * context, namespace and command.
23
+ */
24
+ export declare function getV4SpanAttributes(connectionCtx: {
25
+ address?: string;
26
+ } | undefined, ns: MongodbNamespace, command: V4Command | undefined, operation: string | undefined, origin: string): SpanAttributes;
27
+ /**
28
+ * Shared attribute builder used by both the v3 topology path and the v4+
29
+ * connection path.
30
+ */
31
+ export declare function getSpanAttributes(dbName: string | undefined, dbCollection: string | undefined, host: string | undefined, port: string | undefined, commandObj: Record<string, unknown> | undefined, operation: string | undefined, origin: string): SpanAttributes;
32
+ /** The v3 driver topology, from which host/port are read (mongodb 3.x). */
33
+ export interface MongoV3Topology {
34
+ s?: {
35
+ options?: {
36
+ host?: string;
37
+ port?: number;
38
+ };
39
+ host?: string;
40
+ port?: number;
41
+ };
42
+ description?: {
43
+ address?: string;
44
+ };
45
+ }
46
+ /**
47
+ * Determine the operation name for a mongodb v3 `command` from the command
48
+ * document, mirroring the vendored instrumentation. Returns `undefined` for
49
+ * commands it doesn't classify (e.g. `endSessions`).
50
+ */
51
+ export declare function getV3CommandOperation(command: Record<string, unknown>): string | undefined;
52
+ /**
53
+ * Build span attributes for a mongodb v3 operation from the topology,
54
+ * namespace string and command.
55
+ */
56
+ export declare function getV3SpanAttributes(ns: string, topology: MongoV3Topology | undefined, command: Record<string, unknown> | undefined, operation: string | undefined, origin: string): SpanAttributes;
57
+ /**
58
+ * Start a mongodb client span with the legacy (pre-stable) db/net semantic
59
+ * conventions.
60
+ *
61
+ * `op: 'db'` is set explicitly rather than relying on `inferDbSpanData`,
62
+ * to support platforms that lack it (ie, Deno).
63
+ */
64
+ export declare function startMongoSpan(attributes: SpanAttributes): Span;
65
+ export {};
66
+ //# sourceMappingURL=mongodb-span.d.ts.map