@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
@@ -1,11 +1,55 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
- import type codeTransformer from '@apm-js-collab/code-transformer-bundler-plugins/rollup';
1
+ import type { InstrumentationConfig, CustomTransform } from '..';
2
+ import type { CodeTransformerPluginOptions } from '@apm-js-collab/code-transformer-bundler-plugins/core';
3
3
  export type PluginOptions = {
4
4
  /**
5
5
  * Additional instrumentations to include with the default instrumentation.
6
6
  */
7
7
  instrumentations?: InstrumentationConfig[];
8
+ /**
9
+ * Custom transforms that can be applied using the `transform` option in each `InstrumentationConfig`.
10
+ */
11
+ customTransforms?: Record<string, CustomTransform>;
12
+ /**
13
+ * Whether to inject the global diagnostics.
14
+ *
15
+ * Defaults to `true`.
16
+ */
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;
8
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;
9
53
  /**
10
54
  * The `@apm-js-collab/code-transformer-bundler-plugins` options shared by every
11
55
  * orchestrion bundler plugin.
@@ -15,5 +59,5 @@ export type PluginOptions = {
15
59
  * bundler path ran (rather than relying on a build-time flag that wouldn't be
16
60
  * visible to the runtime).
17
61
  */
18
- export declare function orchestrionTransformOptions(options: PluginOptions): Parameters<typeof codeTransformer>[0];
62
+ export declare function orchestrionTransformOptions(options: PluginOptions): CodeTransformerPluginOptions;
19
63
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/bundler/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,OAAO,KAAK,eAAe,MAAM,wDAAwD,CAAC;AAE1F,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC5C,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,aAAa,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAOzG"}
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,4 +1,8 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import type { InstrumentationConfig } from '..';
2
+ import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
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';
2
6
  /** Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader). */
3
7
  export declare function getOrchestrionLoaderPath(): string;
4
8
  /**
@@ -11,9 +15,10 @@ export declare function getTracingHooksDirectory(): string;
11
15
  /** The central instrumentation config, to pass as the loader's `instrumentations` option. */
12
16
  export declare function getSentryInstrumentations(): InstrumentationConfig[];
13
17
  /**
14
- * The code-transform webpack plugin, pre-fed the instrumentation config. Unlike the Vite plugin it
15
- * does NOT inject the `__SENTRY_ORCHESTRION__.bundler` marker — that would disable the runtime
16
- * module hook, which externalized packages still need (hybrid setup).
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
- export declare function sentryOrchestrionWebpackPlugin(): unknown;
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,iCAAiC,CAAC;AAgB7E,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;;;;GAIG;AACH,wBAAgB,8BAA8B,IAAI,OAAO,CAMxD"}
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"}
@@ -22,6 +22,17 @@ export declare const CHANNELS: {
22
22
  readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
23
23
  readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
24
24
  readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
25
+ readonly TEDIOUS_CONNECT: "orchestrion:tedious:connect";
26
+ readonly TEDIOUS_EXEC_SQL: "orchestrion:tedious:execSql";
27
+ readonly TEDIOUS_EXEC_SQL_BATCH: "orchestrion:tedious:execSqlBatch";
28
+ readonly TEDIOUS_CALL_PROCEDURE: "orchestrion:tedious:callProcedure";
29
+ readonly TEDIOUS_EXEC_BULK_LOAD: "orchestrion:tedious:execBulkLoad";
30
+ readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
31
+ readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
32
+ readonly REMIX_REQUEST_HANDLER: "orchestrion:@remix-run/server-runtime:requestHandler";
33
+ readonly REMIX_MATCH_SERVER_ROUTES: "orchestrion:@remix-run/server-runtime:matchServerRoutes";
34
+ readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
35
+ readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
25
36
  readonly REDIS_COMMAND: "orchestrion:redis:command";
26
37
  readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
27
38
  readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
@@ -37,9 +48,7 @@ export declare const CHANNELS: {
37
48
  readonly PG_CONNECT: "orchestrion:pg:connect";
38
49
  readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
39
50
  readonly OPENAI_CHAT: "orchestrion:openai:chat";
40
- readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
41
51
  readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
42
- readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
43
52
  readonly NESTJS_APP_CREATION: "orchestrion:@nestjs/core:nestFactoryCreate";
44
53
  readonly NESTJS_ROUTER_CONTEXT: "orchestrion:@nestjs/core:routerExecutionContextCreate";
45
54
  readonly NESTJS_INJECTABLE: "orchestrion:@nestjs/common:injectableDecorator";
@@ -52,7 +61,27 @@ export declare const CHANNELS: {
52
61
  readonly MYSQL_QUERY: "orchestrion:mysql:query";
53
62
  readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
54
63
  readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
64
+ readonly MONGOOSE_QUERY_EXEC: "orchestrion:mongoose:query_exec";
65
+ readonly MONGOOSE_AGGREGATE_EXEC: "orchestrion:mongoose:aggregate_exec";
66
+ readonly MONGOOSE_MODEL_SAVE: "orchestrion:mongoose:model_save";
67
+ readonly MONGOOSE_MODEL_INSERT_MANY: "orchestrion:mongoose:model_insert_many";
68
+ readonly MONGOOSE_MODEL_BULK_WRITE: "orchestrion:mongoose:model_bulk_write";
69
+ readonly MONGOOSE_MODEL_REMOVE: "orchestrion:mongoose:model_remove";
70
+ readonly MONGOOSE_MODEL_AGGREGATE: "orchestrion:mongoose:model_aggregate";
71
+ readonly MONGODB_COMMAND: "orchestrion:mongodb:command";
72
+ readonly MONGODB_CHECKOUT: "orchestrion:mongodb:checkout";
73
+ readonly MONGODB_V3_INSERT: "orchestrion:mongodb:v3_insert";
74
+ readonly MONGODB_V3_UPDATE: "orchestrion:mongodb:v3_update";
75
+ readonly MONGODB_V3_REMOVE: "orchestrion:mongodb:v3_remove";
76
+ readonly MONGODB_V3_COMMAND: "orchestrion:mongodb:v3_command";
77
+ readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
78
+ readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
55
79
  readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
80
+ readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
81
+ readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
82
+ readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
83
+ readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
84
+ readonly KOA_USE: "orchestrion:koa:use";
56
85
  readonly KNEX_QUERY: "orchestrion:knex:query";
57
86
  readonly KNEX_QUERY_BUILDER: "orchestrion:knex:queryBuilder";
58
87
  readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
@@ -70,18 +99,34 @@ export declare const CHANNELS: {
70
99
  readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
71
100
  readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
72
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";
73
117
  readonly EXPRESS_HANDLE: "orchestrion:express:handle";
74
118
  readonly ROUTER_HANDLE: "orchestrion:router:handle";
75
- readonly EXPRESS_ROUTE: "orchestrion:express:route";
76
- readonly EXPRESS_USE: "orchestrion:express:use";
77
- readonly ROUTER_ROUTE: "orchestrion:router:route";
78
- readonly ROUTER_USE: "orchestrion:router:use";
119
+ readonly EXPRESS_REGISTER: "orchestrion:express:register";
120
+ readonly ROUTER_REGISTER: "orchestrion:router:register";
79
121
  readonly DATALOADER_CONSTRUCT: "orchestrion:dataloader:construct";
80
122
  readonly DATALOADER_LOAD: "orchestrion:dataloader:load";
81
123
  readonly DATALOADER_LOAD_MANY: "orchestrion:dataloader:loadMany";
82
124
  readonly DATALOADER_PRIME: "orchestrion:dataloader:prime";
83
125
  readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
84
126
  readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
127
+ readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
128
+ readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
129
+ readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
85
130
  readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
86
131
  readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
87
132
  readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
@@ -1 +1 @@
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
+ {"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"}
@@ -0,0 +1,21 @@
1
+ import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ export declare const awsSdkConfig: {
3
+ channelName: string;
4
+ module: {
5
+ name: string;
6
+ versionRange: string;
7
+ filePath: string;
8
+ };
9
+ functionQuery: {
10
+ className: string;
11
+ methodName: string;
12
+ kind: "Async";
13
+ };
14
+ }[];
15
+ export declare const awsSdkChannels: {
16
+ readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
17
+ readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
18
+ readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
19
+ };
20
+ export declare const awsSdkSubscribeInjection: InstrumentationConfig[];
21
+ //# sourceMappingURL=aws-sdk.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const dataloaderConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -43,4 +44,5 @@ export declare const dataloaderChannels: {
43
44
  readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
44
45
  readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
45
46
  };
47
+ export declare const dataloaderSubscribeInjection: InstrumentationConfig[];
46
48
  //# sourceMappingURL=dataloader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/dataloader.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCM,CAAC;AAEpC,eAAO,MAAM,kBAAkB;;;;;;;CAOrB,CAAC"}
1
+ {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/dataloader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAShD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCM,CAAC;AAEpC,eAAO,MAAM,kBAAkB;;;;;;;CAOrB,CAAC;AAEX,eAAO,MAAM,4BAA4B,yBAA0C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const expressConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -24,9 +25,8 @@ export declare const expressConfig: ({
24
25
  export declare const expressChannels: {
25
26
  readonly EXPRESS_HANDLE: "orchestrion:express:handle";
26
27
  readonly ROUTER_HANDLE: "orchestrion:router:handle";
27
- readonly EXPRESS_ROUTE: "orchestrion:express:route";
28
- readonly EXPRESS_USE: "orchestrion:express:use";
29
- readonly ROUTER_ROUTE: "orchestrion:router:route";
30
- readonly ROUTER_USE: "orchestrion:router:use";
28
+ readonly EXPRESS_REGISTER: "orchestrion:express:register";
29
+ readonly ROUTER_REGISTER: "orchestrion:router:register";
31
30
  };
31
+ export declare const expressSubscribeInjection: InstrumentationConfig[];
32
32
  //# sourceMappingURL=express.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/express.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAsDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;CAclB,CAAC"}
1
+ {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/express.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAyDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;CAYlB,CAAC;AAEX,eAAO,MAAM,yBAAyB,yBAAuC,CAAC"}
@@ -1,4 +1,43 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
- export declare const firebaseConfig: InstrumentationConfig[];
3
- export declare const firebaseChannels: {};
1
+ import type { InstrumentationConfig } from '..';
2
+ export declare const firebaseConfig: ({
3
+ channelName: "add-doc" | "get-docs" | "set-doc" | "delete-doc";
4
+ module: {
5
+ name: string;
6
+ versionRange: string;
7
+ filePath: RegExp;
8
+ };
9
+ functionQuery: {
10
+ functionName: "addDoc" | "getDocs" | "setDoc" | "deleteDoc";
11
+ kind: "Auto";
12
+ };
13
+ } | {
14
+ channelName: "http-request" | "http-call" | "firestore-created" | "firestore-updated" | "firestore-deleted" | "firestore-written" | "scheduler" | "storage-finalized" | "storage-archived" | "storage-deleted" | "storage-metadata-updated";
15
+ module: {
16
+ name: string;
17
+ versionRange: string;
18
+ filePath: "lib/v2/providers/https.js" | "lib/v2/providers/firestore.js" | "lib/v2/providers/scheduler.js" | "lib/v2/providers/storage.js";
19
+ };
20
+ functionQuery: {
21
+ functionName: "onRequest" | "onCall" | "onDocumentCreated" | "onDocumentCreatedWithAuthContext" | "onDocumentUpdated" | "onDocumentUpdatedWithAuthContext" | "onDocumentDeleted" | "onDocumentDeletedWithAuthContext" | "onDocumentWritten" | "onDocumentWrittenWithAuthContext" | "onSchedule" | "onObjectFinalized" | "onObjectArchived" | "onObjectDeleted" | "onObjectMetadataUpdated";
22
+ kind: "Sync";
23
+ };
24
+ })[];
25
+ export declare const firebaseChannels: {
26
+ readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
27
+ readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
28
+ readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
29
+ readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
30
+ readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
31
+ readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
32
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
33
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
34
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
35
+ readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
36
+ readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
37
+ readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
38
+ readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
39
+ readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
40
+ readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
41
+ };
42
+ export declare const firebaseSubscribeInjection: InstrumentationConfig[];
4
43
  //# sourceMappingURL=firebase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"firebase.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/firebase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG7E,eAAO,MAAM,cAAc,EAAE,qBAAqB,EAAO,CAAC;AAE1D,eAAO,MAAM,gBAAgB,IAAc,CAAC"}
1
+ {"version":3,"file":"firebase.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/firebase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AA+DhD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;IAWQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgBnB,CAAC;AAEX,eAAO,MAAM,0BAA0B,yBAAwC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const genericPoolConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -28,4 +29,5 @@ export declare const genericPoolConfig: ({
28
29
  export declare const genericPoolChannels: {
29
30
  readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
30
31
  };
32
+ export declare const genericPoolSubscribeInjection: InstrumentationConfig[];
31
33
  //# sourceMappingURL=generic-pool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generic-pool.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/generic-pool.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;IAWK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;CAEtB,CAAC"}
1
+ {"version":3,"file":"generic-pool.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/generic-pool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAQhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;IAWK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;CAEtB,CAAC;AAEX,eAAO,MAAM,6BAA6B,yBAA2C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const googleGenAiConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -27,4 +28,5 @@ export declare const googleGenAiChannels: {
27
28
  readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
28
29
  readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
29
30
  };
31
+ export declare const googleGenAiSubscribeInjection: InstrumentationConfig[];
30
32
  //# sourceMappingURL=google-genai.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"google-genai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/google-genai.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;IAyBK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
1
+ {"version":3,"file":"google-genai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/google-genai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAShD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;IAyBK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX,eAAO,MAAM,6BAA6B,yBAA2C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const graphqlConfig: ({
2
3
  channelName: string;
3
4
  module: {
@@ -26,4 +27,5 @@ export declare const graphqlChannels: {
26
27
  readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
27
28
  readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
28
29
  };
30
+ export declare const graphqlSubscribeInjection: InstrumentationConfig[];
29
31
  //# sourceMappingURL=graphql.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/graphql.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAgBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/graphql.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAMhD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAgBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,eAAO,MAAM,yBAAyB,yBAAuC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const hapiConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -14,4 +15,5 @@ export declare const hapiChannels: {
14
15
  readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
15
16
  readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
16
17
  };
18
+ export declare const hapiSubscribeInjection: InstrumentationConfig[];
17
19
  //# sourceMappingURL=hapi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hapi.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/hapi.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;GAeY,CAAC;AAEpC,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
1
+ {"version":3,"file":"hapi.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/hapi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,UAAU;;;;;;;;;;;GAeY,CAAC;AAEpC,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,eAAO,MAAM,sBAAsB,yBAAoC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import type { InstrumentationConfig } from '..';
2
2
  /**
3
3
  * The orchestrion code-transform configs. Every instrumentable library is here
4
4
  * so the transform is all-or-nothing: whenever orchestrion is enabled, all of
@@ -7,6 +7,18 @@ import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
7
7
  * transformed is centralized here.
8
8
  */
9
9
  export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
10
+ /**
11
+ * The `Program`-matching injection configs that make each instrumented file
12
+ * self-register its channel subscriber at load (used by bundler-only SDKs like
13
+ * `@sentry/cloudflare`).
14
+ *
15
+ * Deliberately separate from `SENTRY_INSTRUMENTATIONS`: these reference a custom
16
+ * transform that only the opted-in bundler plugin registers, so feeding them to
17
+ * the runtime `--import` hook (which can't register it) would make the
18
+ * code-transformer drop the whole file. Each library owns its own
19
+ * `*SubscribeInjection` (derived from its channel configs), collected here.
20
+ */
21
+ export declare const SUBSCRIBE_INJECTIONS: InstrumentationConfig[];
10
22
  /**
11
23
  * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
12
24
  * merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAmC7E;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EA8B1D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,gBAAgB,GAAE,qBAAqB,EAAO,GAAG,MAAM,EAAE,CAEhG;AAED,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA8B,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,GAAE,MAAM,EAA8B,GAChD,MAAM,EAAE,GAAG,SAAS,CAKtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAmChD;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EA8B1D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,EAAE,qBAAqB,EA8BvD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,gBAAgB,GAAE,qBAAqB,EAAO,GAAG,MAAM,EAAE,CAOhG;AAED,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA8B,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,GAAE,MAAM,EAA8B,GAChD,MAAM,EAAE,GAAG,SAAS,CAKtB"}
@@ -1,7 +1,8 @@
1
- import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import type { InstrumentationConfig } from '..';
2
2
  export declare const ioredisConfig: InstrumentationConfig[];
3
3
  export declare const ioredisChannels: {
4
4
  readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
5
5
  readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
6
6
  };
7
+ export declare const ioredisSubscribeInjection: InstrumentationConfig[];
7
8
  //# sourceMappingURL=ioredis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/ioredis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,aAAa,yBAwBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
1
+ {"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/ioredis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,aAAa,yBAwBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,eAAO,MAAM,yBAAyB,yBAAuC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { InstrumentationConfig } from '..';
1
2
  export declare const kafkajsConfig: {
2
3
  channelName: string;
3
4
  module: {
@@ -14,4 +15,5 @@ export declare const kafkajsChannels: {
14
15
  readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
15
16
  readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
16
17
  };
18
+ export declare const kafkajsSubscribeInjection: InstrumentationConfig[];
17
19
  //# sourceMappingURL=kafkajs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kafkajs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;GAmBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
1
+ {"version":3,"file":"kafkajs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,aAAa;;;;;;;;;;;GAmBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,eAAO,MAAM,yBAAyB,yBAAuC,CAAC"}