@sentry/server-utils 10.65.0 → 10.67.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 (557) hide show
  1. package/build/cjs/graphql/graphql-dc-subscriber.js +2 -4
  2. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
  3. package/build/cjs/graphql/utils.js +7 -1
  4. package/build/cjs/graphql/utils.js.map +1 -1
  5. package/build/cjs/index.js +18 -8
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +16 -0
  8. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  9. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +154 -0
  10. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +46 -0
  12. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +47 -0
  14. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  15. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +419 -0
  16. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  17. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +131 -0
  18. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  19. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +21 -0
  20. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  21. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +64 -0
  22. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  23. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +21 -0
  24. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  25. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +27 -0
  26. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  27. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +63 -0
  28. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  29. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +116 -0
  30. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  31. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +25 -0
  32. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  33. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js +30 -0
  34. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  35. package/build/cjs/integrations/tracing-channel/dataloader.js +95 -0
  36. package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -0
  37. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +1 -6
  38. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  39. package/build/cjs/integrations/tracing-channel/generic-pool.js +34 -0
  40. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -0
  41. package/build/cjs/integrations/tracing-channel/graphql/spans.js +2 -2
  42. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
  43. package/build/cjs/integrations/tracing-channel/ioredis.js +29 -26
  44. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
  45. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js +71 -0
  46. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
  47. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +70 -0
  48. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -0
  49. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js +22 -0
  50. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
  51. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +119 -0
  52. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
  53. package/build/cjs/integrations/tracing-channel/knex.js +188 -0
  54. package/build/cjs/integrations/tracing-channel/knex.js.map +1 -0
  55. package/build/cjs/integrations/tracing-channel/koa.js +146 -0
  56. package/build/cjs/integrations/tracing-channel/koa.js.map +1 -0
  57. package/build/cjs/integrations/tracing-channel/langchain.js +63 -0
  58. package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -0
  59. package/build/cjs/integrations/tracing-channel/langgraph.js +100 -0
  60. package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -0
  61. package/build/cjs/integrations/tracing-channel/mongodb.js +104 -0
  62. package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -0
  63. package/build/cjs/integrations/tracing-channel/mongoose.js +110 -0
  64. package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -0
  65. package/build/cjs/integrations/tracing-channel/mysql2.js +83 -0
  66. package/build/cjs/integrations/tracing-channel/mysql2.js.map +1 -0
  67. package/build/cjs/integrations/tracing-channel/openai.js +1 -3
  68. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
  69. package/build/cjs/integrations/tracing-channel/redis.js +25 -34
  70. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
  71. package/build/cjs/integrations/tracing-channel/tedious.js +145 -0
  72. package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -0
  73. package/build/cjs/mongodb/mongodb-span.js +133 -0
  74. package/build/cjs/mongodb/mongodb-span.js.map +1 -0
  75. package/build/cjs/mongoose/index.js.map +1 -1
  76. package/build/cjs/mongoose/mongoose-legacy-span.js +40 -0
  77. package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -0
  78. package/build/cjs/orchestrion/bundler/esbuild.js +15 -0
  79. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -0
  80. package/build/cjs/orchestrion/bundler/options.js +24 -0
  81. package/build/cjs/orchestrion/bundler/options.js.map +1 -0
  82. package/build/cjs/orchestrion/bundler/rollup.js +15 -0
  83. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -0
  84. package/build/cjs/orchestrion/bundler/vite.js +8 -21
  85. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  86. package/build/cjs/orchestrion/bundler/webpack.js +36 -0
  87. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -0
  88. package/build/cjs/orchestrion/channels.js +54 -20
  89. package/build/cjs/orchestrion/channels.js.map +1 -1
  90. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  91. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  92. package/build/cjs/orchestrion/config/aws-sdk.js +28 -0
  93. package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -0
  94. package/build/cjs/orchestrion/config/dataloader.js +53 -0
  95. package/build/cjs/orchestrion/config/dataloader.js.map +1 -0
  96. package/build/cjs/orchestrion/config/express.js +9 -8
  97. package/build/cjs/orchestrion/config/express.js.map +1 -1
  98. package/build/cjs/orchestrion/config/firebase.js +8 -0
  99. package/build/cjs/orchestrion/config/firebase.js.map +1 -0
  100. package/build/cjs/orchestrion/config/generic-pool.js +21 -0
  101. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -0
  102. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  103. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  104. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  105. package/build/cjs/orchestrion/config/index.js +64 -23
  106. package/build/cjs/orchestrion/config/index.js.map +1 -1
  107. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  108. package/build/cjs/orchestrion/config/kafkajs.js +30 -0
  109. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -0
  110. package/build/cjs/orchestrion/config/knex.js +43 -0
  111. package/build/cjs/orchestrion/config/knex.js.map +1 -0
  112. package/build/cjs/orchestrion/config/koa.js +16 -0
  113. package/build/cjs/orchestrion/config/koa.js.map +1 -0
  114. package/build/cjs/orchestrion/config/langchain.js +52 -0
  115. package/build/cjs/orchestrion/config/langchain.js.map +1 -0
  116. package/build/cjs/orchestrion/config/langgraph.js +28 -0
  117. package/build/cjs/orchestrion/config/langgraph.js.map +1 -0
  118. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  119. package/build/cjs/orchestrion/config/mongodb.js +67 -0
  120. package/build/cjs/orchestrion/config/mongodb.js.map +1 -0
  121. package/build/cjs/orchestrion/config/mongoose.js +107 -0
  122. package/build/cjs/orchestrion/config/mongoose.js.map +1 -0
  123. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  124. package/build/cjs/orchestrion/config/mysql2.js +32 -0
  125. package/build/cjs/orchestrion/config/mysql2.js.map +1 -0
  126. package/build/cjs/orchestrion/config/nestjs.js +122 -0
  127. package/build/cjs/orchestrion/config/nestjs.js.map +1 -0
  128. package/build/cjs/orchestrion/config/openai.js +5 -5
  129. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  130. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  131. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  132. package/build/cjs/orchestrion/config/prisma.js +8 -0
  133. package/build/cjs/orchestrion/config/prisma.js.map +1 -0
  134. package/build/cjs/orchestrion/config/react-router.js +8 -0
  135. package/build/cjs/orchestrion/config/react-router.js.map +1 -0
  136. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  137. package/build/cjs/orchestrion/config/remix.js +54 -0
  138. package/build/cjs/orchestrion/config/remix.js.map +1 -0
  139. package/build/cjs/orchestrion/config/tedious.js +24 -0
  140. package/build/cjs/orchestrion/config/tedious.js.map +1 -0
  141. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  142. package/build/cjs/orchestrion/detect.js +12 -11
  143. package/build/cjs/orchestrion/detect.js.map +1 -1
  144. package/build/cjs/orchestrion/index.js +44 -6
  145. package/build/cjs/orchestrion/index.js.map +1 -1
  146. package/build/cjs/orchestrion/runtime/register.js +45 -21
  147. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  148. package/build/cjs/prisma/global.js +14 -0
  149. package/build/cjs/prisma/global.js.map +1 -0
  150. package/build/cjs/prisma/index.js +27 -0
  151. package/build/cjs/prisma/index.js.map +1 -0
  152. package/build/cjs/prisma/tracing-helper.js +211 -0
  153. package/build/cjs/prisma/tracing-helper.js.map +1 -0
  154. package/build/cjs/redis/redis-dc-subscriber.js +27 -38
  155. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  156. package/build/cjs/vercel-ai/util.js +0 -11
  157. package/build/cjs/vercel-ai/util.js.map +1 -1
  158. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +9 -9
  159. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  160. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +16 -3
  161. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  162. package/build/esm/graphql/graphql-dc-subscriber.js +3 -5
  163. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
  164. package/build/esm/graphql/utils.js +8 -2
  165. package/build/esm/graphql/utils.js.map +1 -1
  166. package/build/esm/index.js +3 -0
  167. package/build/esm/index.js.map +1 -1
  168. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +9 -0
  169. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
  170. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +152 -0
  171. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
  172. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +41 -0
  173. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
  174. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +45 -0
  175. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
  176. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +417 -0
  177. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
  178. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +129 -0
  179. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
  180. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +19 -0
  181. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
  182. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +62 -0
  183. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
  184. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +19 -0
  185. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
  186. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +25 -0
  187. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
  188. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +61 -0
  189. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
  190. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +114 -0
  191. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
  192. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +23 -0
  193. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
  194. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js +26 -0
  195. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
  196. package/build/esm/integrations/tracing-channel/dataloader.js +93 -0
  197. package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -0
  198. package/build/esm/integrations/tracing-channel/express/instrumentation.js +1 -6
  199. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
  200. package/build/esm/integrations/tracing-channel/generic-pool.js +32 -0
  201. package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -0
  202. package/build/esm/integrations/tracing-channel/graphql/spans.js +3 -3
  203. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
  204. package/build/esm/integrations/tracing-channel/ioredis.js +29 -27
  205. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
  206. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js +67 -0
  207. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
  208. package/build/esm/integrations/tracing-channel/kafkajs/index.js +68 -0
  209. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -0
  210. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js +12 -0
  211. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
  212. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +112 -0
  213. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
  214. package/build/esm/integrations/tracing-channel/knex.js +186 -0
  215. package/build/esm/integrations/tracing-channel/knex.js.map +1 -0
  216. package/build/esm/integrations/tracing-channel/koa.js +144 -0
  217. package/build/esm/integrations/tracing-channel/koa.js.map +1 -0
  218. package/build/esm/integrations/tracing-channel/langchain.js +61 -0
  219. package/build/esm/integrations/tracing-channel/langchain.js.map +1 -0
  220. package/build/esm/integrations/tracing-channel/langgraph.js +98 -0
  221. package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -0
  222. package/build/esm/integrations/tracing-channel/mongodb.js +102 -0
  223. package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -0
  224. package/build/esm/integrations/tracing-channel/mongoose.js +108 -0
  225. package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -0
  226. package/build/esm/integrations/tracing-channel/mysql2.js +81 -0
  227. package/build/esm/integrations/tracing-channel/mysql2.js.map +1 -0
  228. package/build/esm/integrations/tracing-channel/openai.js +1 -3
  229. package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
  230. package/build/esm/integrations/tracing-channel/redis.js +25 -34
  231. package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
  232. package/build/esm/integrations/tracing-channel/tedious.js +143 -0
  233. package/build/esm/integrations/tracing-channel/tedious.js.map +1 -0
  234. package/build/esm/mongodb/mongodb-span.js +126 -0
  235. package/build/esm/mongodb/mongodb-span.js.map +1 -0
  236. package/build/esm/mongoose/index.js.map +1 -1
  237. package/build/esm/mongoose/mongoose-legacy-span.js +38 -0
  238. package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -0
  239. package/build/esm/orchestrion/bundler/esbuild.js +9 -0
  240. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -0
  241. package/build/esm/orchestrion/bundler/options.js +22 -0
  242. package/build/esm/orchestrion/bundler/options.js.map +1 -0
  243. package/build/esm/orchestrion/bundler/rollup.js +9 -0
  244. package/build/esm/orchestrion/bundler/rollup.js.map +1 -0
  245. package/build/esm/orchestrion/bundler/vite.js +5 -22
  246. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  247. package/build/esm/orchestrion/bundler/webpack.js +27 -0
  248. package/build/esm/orchestrion/bundler/webpack.js.map +1 -0
  249. package/build/esm/orchestrion/channels.js +54 -20
  250. package/build/esm/orchestrion/channels.js.map +1 -1
  251. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  252. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  253. package/build/esm/orchestrion/config/aws-sdk.js +25 -0
  254. package/build/esm/orchestrion/config/aws-sdk.js.map +1 -0
  255. package/build/esm/orchestrion/config/dataloader.js +50 -0
  256. package/build/esm/orchestrion/config/dataloader.js.map +1 -0
  257. package/build/esm/orchestrion/config/express.js +9 -8
  258. package/build/esm/orchestrion/config/express.js.map +1 -1
  259. package/build/esm/orchestrion/config/firebase.js +5 -0
  260. package/build/esm/orchestrion/config/firebase.js.map +1 -0
  261. package/build/esm/orchestrion/config/generic-pool.js +18 -0
  262. package/build/esm/orchestrion/config/generic-pool.js.map +1 -0
  263. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  264. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  265. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  266. package/build/esm/orchestrion/config/index.js +64 -24
  267. package/build/esm/orchestrion/config/index.js.map +1 -1
  268. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  269. package/build/esm/orchestrion/config/kafkajs.js +27 -0
  270. package/build/esm/orchestrion/config/kafkajs.js.map +1 -0
  271. package/build/esm/orchestrion/config/knex.js +40 -0
  272. package/build/esm/orchestrion/config/knex.js.map +1 -0
  273. package/build/esm/orchestrion/config/koa.js +13 -0
  274. package/build/esm/orchestrion/config/koa.js.map +1 -0
  275. package/build/esm/orchestrion/config/langchain.js +48 -0
  276. package/build/esm/orchestrion/config/langchain.js.map +1 -0
  277. package/build/esm/orchestrion/config/langgraph.js +25 -0
  278. package/build/esm/orchestrion/config/langgraph.js.map +1 -0
  279. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  280. package/build/esm/orchestrion/config/mongodb.js +64 -0
  281. package/build/esm/orchestrion/config/mongodb.js.map +1 -0
  282. package/build/esm/orchestrion/config/mongoose.js +103 -0
  283. package/build/esm/orchestrion/config/mongoose.js.map +1 -0
  284. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  285. package/build/esm/orchestrion/config/mysql2.js +29 -0
  286. package/build/esm/orchestrion/config/mysql2.js.map +1 -0
  287. package/build/esm/orchestrion/config/nestjs.js +119 -0
  288. package/build/esm/orchestrion/config/nestjs.js.map +1 -0
  289. package/build/esm/orchestrion/config/openai.js +5 -5
  290. package/build/esm/orchestrion/config/openai.js.map +1 -1
  291. package/build/esm/orchestrion/config/pg.js.map +1 -1
  292. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  293. package/build/esm/orchestrion/config/prisma.js +5 -0
  294. package/build/esm/orchestrion/config/prisma.js.map +1 -0
  295. package/build/esm/orchestrion/config/react-router.js +5 -0
  296. package/build/esm/orchestrion/config/react-router.js.map +1 -0
  297. package/build/esm/orchestrion/config/redis.js.map +1 -1
  298. package/build/esm/orchestrion/config/remix.js +51 -0
  299. package/build/esm/orchestrion/config/remix.js.map +1 -0
  300. package/build/esm/orchestrion/config/tedious.js +21 -0
  301. package/build/esm/orchestrion/config/tedious.js.map +1 -0
  302. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  303. package/build/esm/orchestrion/detect.js +13 -12
  304. package/build/esm/orchestrion/detect.js.map +1 -1
  305. package/build/esm/orchestrion/index.js +26 -2
  306. package/build/esm/orchestrion/index.js.map +1 -1
  307. package/build/esm/orchestrion/runtime/register.js +47 -23
  308. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  309. package/build/esm/package.json +1 -1
  310. package/build/esm/prisma/global.js +12 -0
  311. package/build/esm/prisma/global.js.map +1 -0
  312. package/build/esm/prisma/index.js +24 -0
  313. package/build/esm/prisma/index.js.map +1 -0
  314. package/build/esm/prisma/tracing-helper.js +209 -0
  315. package/build/esm/prisma/tracing-helper.js.map +1 -0
  316. package/build/esm/redis/redis-dc-subscriber.js +27 -38
  317. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  318. package/build/esm/vercel-ai/util.js +1 -11
  319. package/build/esm/vercel-ai/util.js.map +1 -1
  320. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +11 -11
  321. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  322. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +17 -4
  323. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
  324. package/build/types/graphql/utils.d.ts +2 -6
  325. package/build/types/graphql/utils.d.ts.map +1 -1
  326. package/build/types/index.d.ts +7 -1
  327. package/build/types/index.d.ts.map +1 -1
  328. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  329. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  330. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  331. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -0
  332. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  333. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -0
  334. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  335. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  336. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  337. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  338. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  339. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  340. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  341. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  342. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  343. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -0
  344. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  345. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +1 -0
  346. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  347. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -0
  348. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  349. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -0
  350. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  351. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -0
  352. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  353. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  354. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  355. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -0
  356. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  357. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -0
  358. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  359. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  360. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  361. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -0
  362. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  363. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +1 -0
  364. package/build/types/integrations/tracing-channel/dataloader.d.ts +11 -0
  365. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -0
  366. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
  367. package/build/types/integrations/tracing-channel/generic-pool.d.ts +10 -0
  368. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -0
  369. package/build/types/integrations/tracing-channel/ioredis.d.ts +20 -0
  370. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
  371. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
  372. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +1 -0
  373. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
  374. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -0
  375. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
  376. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +1 -0
  377. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
  378. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -0
  379. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
  380. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +1 -0
  381. package/build/types/integrations/tracing-channel/knex.d.ts +11 -0
  382. package/build/types/integrations/tracing-channel/knex.d.ts.map +1 -0
  383. package/build/types/integrations/tracing-channel/koa.d.ts +14 -0
  384. package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -0
  385. package/build/types/integrations/tracing-channel/langchain.d.ts +10 -0
  386. package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -0
  387. package/build/types/integrations/tracing-channel/langgraph.d.ts +10 -0
  388. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -0
  389. package/build/types/integrations/tracing-channel/mongodb.d.ts +12 -0
  390. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -0
  391. package/build/types/integrations/tracing-channel/mongoose.d.ts +15 -0
  392. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -0
  393. package/build/types/integrations/tracing-channel/mysql2.d.ts +15 -0
  394. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +1 -0
  395. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
  396. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
  397. package/build/types/integrations/tracing-channel/tedious.d.ts +11 -0
  398. package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -0
  399. package/build/types/mongodb/mongodb-span.d.ts +66 -0
  400. package/build/types/mongodb/mongodb-span.d.ts.map +1 -0
  401. package/build/types/mongoose/index.d.ts +2 -0
  402. package/build/types/mongoose/index.d.ts.map +1 -1
  403. package/build/types/mongoose/mongoose-legacy-span.d.ts +29 -0
  404. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  405. package/build/types/orchestrion/bundler/esbuild.d.ts +21 -0
  406. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -0
  407. package/build/types/orchestrion/bundler/options.d.ts +29 -0
  408. package/build/types/orchestrion/bundler/options.d.ts.map +1 -0
  409. package/build/types/orchestrion/bundler/rollup.d.ts +17 -0
  410. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -0
  411. package/build/types/orchestrion/bundler/vite.d.ts +4 -17
  412. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  413. package/build/types/orchestrion/bundler/webpack.d.ts +19 -0
  414. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -0
  415. package/build/types/orchestrion/channels.d.ts +94 -37
  416. package/build/types/orchestrion/channels.d.ts.map +1 -1
  417. package/build/types/orchestrion/config/aws-sdk.d.ts +19 -0
  418. package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -0
  419. package/build/types/orchestrion/config/dataloader.d.ts +46 -0
  420. package/build/types/orchestrion/config/dataloader.d.ts.map +1 -0
  421. package/build/types/orchestrion/config/express.d.ts +2 -4
  422. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  423. package/build/types/orchestrion/config/firebase.d.ts +4 -0
  424. package/build/types/orchestrion/config/firebase.d.ts.map +1 -0
  425. package/build/types/orchestrion/config/generic-pool.d.ts +31 -0
  426. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -0
  427. package/build/types/orchestrion/config/index.d.ts +19 -6
  428. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  429. package/build/types/orchestrion/config/ioredis.d.ts +1 -1
  430. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  431. package/build/types/orchestrion/config/kafkajs.d.ts +17 -0
  432. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -0
  433. package/build/types/orchestrion/config/knex.d.ts +9 -0
  434. package/build/types/orchestrion/config/knex.d.ts.map +1 -0
  435. package/build/types/orchestrion/config/koa.d.ts +17 -0
  436. package/build/types/orchestrion/config/koa.d.ts.map +1 -0
  437. package/build/types/orchestrion/config/langchain.d.ts +18 -0
  438. package/build/types/orchestrion/config/langchain.d.ts.map +1 -0
  439. package/build/types/orchestrion/config/langgraph.d.ts +21 -0
  440. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -0
  441. package/build/types/orchestrion/config/mongodb.d.ts +59 -0
  442. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -0
  443. package/build/types/orchestrion/config/mongoose.d.ts +40 -0
  444. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -0
  445. package/build/types/orchestrion/config/mysql2.d.ts +18 -0
  446. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -0
  447. package/build/types/orchestrion/config/nestjs.d.ts +24 -0
  448. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -0
  449. package/build/types/orchestrion/config/openai.d.ts +0 -2
  450. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  451. package/build/types/orchestrion/config/postgres.d.ts +1 -1
  452. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  453. package/build/types/orchestrion/config/prisma.d.ts +4 -0
  454. package/build/types/orchestrion/config/prisma.d.ts.map +1 -0
  455. package/build/types/orchestrion/config/react-router.d.ts +4 -0
  456. package/build/types/orchestrion/config/react-router.d.ts.map +1 -0
  457. package/build/types/orchestrion/config/remix.d.ts +9 -0
  458. package/build/types/orchestrion/config/remix.d.ts.map +1 -0
  459. package/build/types/orchestrion/config/tedious.d.ts +12 -0
  460. package/build/types/orchestrion/config/tedious.d.ts.map +1 -0
  461. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -1
  462. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  463. package/build/types/orchestrion/detect.d.ts +3 -10
  464. package/build/types/orchestrion/detect.d.ts.map +1 -1
  465. package/build/types/orchestrion/index.d.ts +56 -1
  466. package/build/types/orchestrion/index.d.ts.map +1 -1
  467. package/build/types/orchestrion/runtime/register.d.ts +11 -9
  468. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  469. package/build/types/prisma/global.d.ts +5 -0
  470. package/build/types/prisma/global.d.ts.map +1 -0
  471. package/build/types/prisma/index.d.ts +45 -0
  472. package/build/types/prisma/index.d.ts.map +1 -0
  473. package/build/types/prisma/tracing-helper.d.ts +46 -0
  474. package/build/types/prisma/tracing-helper.d.ts.map +1 -0
  475. package/build/types/prisma/types.d.ts +37 -0
  476. package/build/types/prisma/types.d.ts.map +1 -0
  477. package/build/types/vercel-ai/util.d.ts +0 -2
  478. package/build/types/vercel-ai/util.d.ts.map +1 -1
  479. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  480. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
  481. package/build/types-ts3.8/graphql/utils.d.ts +2 -6
  482. package/build/types-ts3.8/index.d.ts +7 -1
  483. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
  484. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
  485. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
  486. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
  487. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
  488. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
  489. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
  490. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
  491. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
  492. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
  493. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
  494. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
  495. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
  496. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
  497. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
  498. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
  499. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
  500. package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
  501. package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +11 -0
  502. package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +10 -0
  503. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +20 -0
  504. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
  505. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
  506. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
  507. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
  508. package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
  509. package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +11 -0
  510. package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +14 -0
  511. package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +10 -0
  512. package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +10 -0
  513. package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +12 -0
  514. package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +15 -0
  515. package/build/types-ts3.8/integrations/tracing-channel/mysql2.d.ts +15 -0
  516. package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +11 -0
  517. package/build/types-ts3.8/mongodb/mongodb-span.d.ts +66 -0
  518. package/build/types-ts3.8/mongoose/index.d.ts +2 -0
  519. package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +29 -0
  520. package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +21 -0
  521. package/build/types-ts3.8/orchestrion/bundler/options.d.ts +29 -0
  522. package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +17 -0
  523. package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +4 -17
  524. package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +19 -0
  525. package/build/types-ts3.8/orchestrion/channels.d.ts +94 -37
  526. package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +19 -0
  527. package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +46 -0
  528. package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -4
  529. package/build/types-ts3.8/orchestrion/config/firebase.d.ts +4 -0
  530. package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +31 -0
  531. package/build/types-ts3.8/orchestrion/config/index.d.ts +19 -6
  532. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -1
  533. package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +17 -0
  534. package/build/types-ts3.8/orchestrion/config/knex.d.ts +9 -0
  535. package/build/types-ts3.8/orchestrion/config/koa.d.ts +17 -0
  536. package/build/types-ts3.8/orchestrion/config/langchain.d.ts +18 -0
  537. package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +21 -0
  538. package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +59 -0
  539. package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +40 -0
  540. package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +18 -0
  541. package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +24 -0
  542. package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -2
  543. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -1
  544. package/build/types-ts3.8/orchestrion/config/prisma.d.ts +4 -0
  545. package/build/types-ts3.8/orchestrion/config/react-router.d.ts +4 -0
  546. package/build/types-ts3.8/orchestrion/config/remix.d.ts +9 -0
  547. package/build/types-ts3.8/orchestrion/config/tedious.d.ts +12 -0
  548. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -1
  549. package/build/types-ts3.8/orchestrion/detect.d.ts +3 -10
  550. package/build/types-ts3.8/orchestrion/index.d.ts +56 -1
  551. package/build/types-ts3.8/orchestrion/runtime/register.d.ts +11 -9
  552. package/build/types-ts3.8/prisma/global.d.ts +5 -0
  553. package/build/types-ts3.8/prisma/index.d.ts +45 -0
  554. package/build/types-ts3.8/prisma/tracing-helper.d.ts +52 -0
  555. package/build/types-ts3.8/prisma/types.d.ts +40 -0
  556. package/build/types-ts3.8/vercel-ai/util.d.ts +0 -2
  557. package/package.json +40 -8
@@ -0,0 +1,40 @@
1
+ export declare const mongooseConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ filePath: string;
5
+ name: "mongoose";
6
+ versionRange: ">=5.9.7 <9.7.0";
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Auto";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ filePath: string;
16
+ name: "mongoose";
17
+ versionRange: ">=5.9.7 <9.7.0";
18
+ };
19
+ functionQuery: {
20
+ expressionName: string;
21
+ kind: "Sync";
22
+ };
23
+ })[];
24
+ export declare const mongooseChannels: {
25
+ readonly MONGOOSE_QUERY_EXEC: "orchestrion:mongoose:query_exec";
26
+ readonly MONGOOSE_AGGREGATE_EXEC: "orchestrion:mongoose:aggregate_exec";
27
+ readonly MONGOOSE_MODEL_SAVE: "orchestrion:mongoose:model_save";
28
+ readonly MONGOOSE_MODEL_INSERT_MANY: "orchestrion:mongoose:model_insert_many";
29
+ readonly MONGOOSE_MODEL_BULK_WRITE: "orchestrion:mongoose:model_bulk_write";
30
+ readonly MONGOOSE_MODEL_REMOVE: "orchestrion:mongoose:model_remove";
31
+ readonly MONGOOSE_MODEL_AGGREGATE: "orchestrion:mongoose:model_aggregate";
32
+ };
33
+ /**
34
+ * Fully-qualified names of the context-capture channels, derived from the
35
+ * same method list the transform config uses so the two can't drift. The
36
+ * subscriber subscribes to all of them uniformly to stash the build-time
37
+ * parent span (see `mongooseChannels` for the span-creating channels).
38
+ */
39
+ export declare const MONGOOSE_CONTEXT_CAPTURE_CHANNELS: string[];
40
+ //# sourceMappingURL=mongoose.d.ts.map
@@ -0,0 +1,18 @@
1
+ export declare const mysql2Config: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Callback";
12
+ };
13
+ }[];
14
+ export declare const mysql2Channels: {
15
+ readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
16
+ readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
17
+ };
18
+ //# sourceMappingURL=mysql2.d.ts.map
@@ -0,0 +1,24 @@
1
+ import { InstrumentationConfig } from '..';
2
+ /**
3
+ * NestJS is different from the other instrumentations here. It's a standalone
4
+ * metaframework SDK (`@sentry/nestjs`), so its channel LISTENER lives in that
5
+ * package rather than in `server-utils`. Only the code-transform config (and
6
+ * the channel names below) live here, so `@nestjs/*` is transformed whenever
7
+ * orchestrion is enabled, same as every other library.
8
+ *
9
+ * `@sentry/nestjs` imports {@link nestjsChannels} to subscribe, and picks the
10
+ * channel-vs-OTel path based on the global injection flag.
11
+ */
12
+ export declare const nestjsConfig: InstrumentationConfig[];
13
+ export declare const nestjsChannels: {
14
+ readonly NESTJS_APP_CREATION: "orchestrion:@nestjs/core:nestFactoryCreate";
15
+ readonly NESTJS_ROUTER_CONTEXT: "orchestrion:@nestjs/core:routerExecutionContextCreate";
16
+ readonly NESTJS_INJECTABLE: "orchestrion:@nestjs/common:injectableDecorator";
17
+ readonly NESTJS_CATCH: "orchestrion:@nestjs/common:catchDecorator";
18
+ readonly NESTJS_SCHEDULE_CRON: "orchestrion:@nestjs/schedule:cronDecorator";
19
+ readonly NESTJS_SCHEDULE_INTERVAL: "orchestrion:@nestjs/schedule:intervalDecorator";
20
+ readonly NESTJS_SCHEDULE_TIMEOUT: "orchestrion:@nestjs/schedule:timeoutDecorator";
21
+ readonly NESTJS_ONEVENT: "orchestrion:@nestjs/event-emitter:onEventDecorator";
22
+ readonly NESTJS_PROCESSOR: "orchestrion:@nestjs/bullmq:processorDecorator";
23
+ };
24
+ //# sourceMappingURL=nestjs.d.ts.map
@@ -13,8 +13,6 @@ export declare const openaiConfig: {
13
13
  }[];
14
14
  export declare const openaiChannels: {
15
15
  readonly OPENAI_CHAT: "orchestrion:openai:chat";
16
- readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
17
16
  readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
18
- readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
19
17
  };
20
18
  //# sourceMappingURL=openai.d.ts.map
@@ -1,4 +1,4 @@
1
- import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import { InstrumentationConfig } from '..';
2
2
  export declare const postgresJsConfig: InstrumentationConfig[];
3
3
  export declare const postgresJsChannels: {
4
4
  readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
@@ -0,0 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
2
+ export declare const prismaConfig: InstrumentationConfig[];
3
+ export declare const prismaChannels: {};
4
+ //# sourceMappingURL=prisma.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { InstrumentationConfig } from '..';
2
+ export declare const reactRouterConfig: InstrumentationConfig[];
3
+ export declare const reactRouterChannels: {};
4
+ //# sourceMappingURL=react-router.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { InstrumentationConfig } from '..';
2
+ export declare const remixConfig: InstrumentationConfig[];
3
+ export declare const remixChannels: {
4
+ readonly REMIX_REQUEST_HANDLER: "orchestrion:@remix-run/server-runtime:requestHandler";
5
+ readonly REMIX_MATCH_SERVER_ROUTES: "orchestrion:@remix-run/server-runtime:matchServerRoutes";
6
+ readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
7
+ readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
8
+ };
9
+ //# sourceMappingURL=remix.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { InstrumentationConfig } from '..';
2
+ export declare const tediousConfig: InstrumentationConfig[];
3
+ export declare const tediousChannels: {
4
+ readonly TEDIOUS_CONNECT: "orchestrion:tedious:connect";
5
+ readonly TEDIOUS_EXEC_SQL: "orchestrion:tedious:execSql";
6
+ readonly TEDIOUS_EXEC_SQL_BATCH: "orchestrion:tedious:execSqlBatch";
7
+ readonly TEDIOUS_CALL_PROCEDURE: "orchestrion:tedious:callProcedure";
8
+ readonly TEDIOUS_EXEC_BULK_LOAD: "orchestrion:tedious:execBulkLoad";
9
+ readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
10
+ readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
11
+ };
12
+ //# sourceMappingURL=tedious.d.ts.map
@@ -1,4 +1,4 @@
1
- import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
1
+ import { InstrumentationConfig } from '..';
2
2
  export declare const vercelAiConfig: InstrumentationConfig[];
3
3
  export declare const vercelAiChannels: {
4
4
  readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
@@ -1,9 +1,3 @@
1
- declare global {
2
- var __SENTRY_ORCHESTRION__: {
3
- runtime?: boolean;
4
- bundler?: boolean;
5
- } | undefined;
6
- }
7
1
  /**
8
2
  * Whether orchestrion has injected the diagnostics channels into this process,
9
3
  * either by the runtime `--import` hook / init-time registration (`runtime`)
@@ -17,7 +11,9 @@ export declare function isOrchestrionInjected(): boolean;
17
11
  /**
18
12
  * Verifies that the diagnostics channels have been injected either by the
19
13
  * runtime `--import` hook (or init-time registration), a bundler plugin, or
20
- * both, and warns if not.
14
+ * both, and warns if not. When at least one injector is active, logs for each
15
+ * mechanism whether it hooked (a defined array, even empty, means it did) and
16
+ * which libraries it injected.
21
17
  *
22
18
  * Both injectors being active at once is fine: they operate on disjoint module
23
19
  * sets (a module is either loaded through Node's loader and transformed by the
@@ -25,9 +21,6 @@ export declare function isOrchestrionInjected(): boolean;
25
21
  * a single module can't be double-wrapped. A hybrid setup, with some deps
26
22
  * external and runtime-instrumented, others bundled and plugin-instrumented,
27
23
  * is fine.
28
- *
29
- * Note: intentionally does NOT warn in production, only in debug builds,
30
- * because production warnings are reserved for truly critical issues.
31
24
  */
32
25
  export declare function detectOrchestrionSetup(): void;
33
26
  //# sourceMappingURL=detect.d.ts.map
@@ -1,22 +1,38 @@
1
1
  import { amqplibChannelIntegration } from '../integrations/tracing-channel/amqplib';
2
2
  import { anthropicChannelIntegration } from '../integrations/tracing-channel/anthropic';
3
+ import { awsChannelIntegration } from '../integrations/tracing-channel/aws-sdk';
4
+ import { dataloaderChannelIntegration } from '../integrations/tracing-channel/dataloader';
5
+ import { genericPoolChannelIntegration } from '../integrations/tracing-channel/generic-pool';
3
6
  import { googleGenAIChannelIntegration } from '../integrations/tracing-channel/google-genai';
4
7
  import { graphqlChannelIntegration } from '../integrations/tracing-channel/graphql';
5
8
  import { hapiChannelIntegration } from '../integrations/tracing-channel/hapi';
9
+ import { koaChannelIntegration } from '../integrations/tracing-channel/koa';
6
10
  import { ioredisChannelIntegration } from '../integrations/tracing-channel/ioredis';
11
+ import { kafkajsChannelIntegration } from '../integrations/tracing-channel/kafkajs';
12
+ import { knexChannelIntegration } from '../integrations/tracing-channel/knex';
13
+ import { langChainChannelIntegration } from '../integrations/tracing-channel/langchain';
14
+ import { langGraphChannelIntegration } from '../integrations/tracing-channel/langgraph';
7
15
  import { lruMemoizerChannelIntegration } from '../integrations/tracing-channel/lru-memoizer';
16
+ import { mongodbChannelIntegration } from '../integrations/tracing-channel/mongodb';
17
+ import { mongooseChannelIntegration } from '../integrations/tracing-channel/mongoose';
8
18
  import { mysqlChannelIntegration } from '../integrations/tracing-channel/mysql';
19
+ import { mysql2ChannelIntegration } from '../integrations/tracing-channel/mysql2';
9
20
  import { openaiChannelIntegration } from '../integrations/tracing-channel/openai';
10
21
  import { postgresChannelIntegration } from '../integrations/tracing-channel/postgres';
11
22
  import { postgresJsChannelIntegration } from '../integrations/tracing-channel/postgres-js';
23
+ import { tediousChannelIntegration } from '../integrations/tracing-channel/tedious';
12
24
  import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
13
25
  import { expressChannelIntegration } from '../integrations/tracing-channel/express';
14
26
  export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
15
- export { amqplibChannelIntegration, anthropicChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, ioredisChannelIntegration, lruMemoizerChannelIntegration, mysqlChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
27
+ export { nestjsChannels } from './config/nestjs';
28
+ export { remixChannels } from './config/remix';
29
+ export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
30
+ export { KoaChannelIntegrationOptions } from '../integrations/tracing-channel/koa';
16
31
  export { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
17
32
  export { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
18
33
  export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
19
34
  export { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
35
+ export { InstrumentationConfig, CustomTransform } from '@apm-js-collab/code-transformer-bundler-plugins/core';
20
36
  export * from '../integrations/tracing-channel/graphql/graphql-types';
21
37
  /**
22
38
  * The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
@@ -30,6 +46,15 @@ export * from '../integrations/tracing-channel/graphql/graphql-types';
30
46
  * NOTE: `ioredisChannelIntegration` and `redisChannelIntegration` are intentionally NOT here. They
31
47
  * only partially replace the composite OTel `Redis` integration and need the node SDK's redis cache
32
48
  * `responseHook` (which can't live in `server-utils`), so `@sentry/node` wires them up separately.
49
+ *
50
+ * Framework SDKs that own their own channel listener (e.g. `@sentry/nestjs`'s `Nest`) are NOT here
51
+ * either: their transform config is still in `SENTRY_INSTRUMENTATIONS`, but the listener lives in
52
+ * their package and picks the channel-vs-OTel path itself at `setupOnce`, so it needs no central swap.
53
+ *
54
+ * NOTE: `dataloaderChannelIntegration` is also NOT here. Everything in this map is auto-appended to
55
+ * the default integrations, but the OTel `Dataloader` integration is opt-in (never a default). Like
56
+ * `@sentry/nestjs`'s `Nest`, its `@sentry/node` factory picks the channel-vs-OTel path itself at
57
+ * `setupOnce` (via `isOrchestrionInjected()`), so there's nothing for the central swap to do.
33
58
  */
34
59
  export declare const channelIntegrations: {
35
60
  readonly postgresIntegration: (options?: {
@@ -40,9 +65,21 @@ export declare const channelIntegrations: {
40
65
  readonly postgresJsIntegration: (options?: import(".").PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
41
66
  name: "PostgresJs";
42
67
  };
68
+ readonly mongoIntegration: () => import("@sentry/core").Integration & {
69
+ name: "Mongo";
70
+ };
43
71
  readonly mysqlIntegration: () => import("@sentry/core").Integration & {
44
72
  name: "Mysql";
45
73
  };
74
+ readonly mysql2Integration: () => import("@sentry/core").Integration & {
75
+ name: "Mysql2";
76
+ };
77
+ readonly genericPoolIntegration: () => import("@sentry/core").Integration & {
78
+ name: "GenericPool";
79
+ };
80
+ readonly mongooseIntegration: () => import("@sentry/core").Integration & {
81
+ name: "Mongoose";
82
+ };
46
83
  readonly lruMemoizerIntegration: () => import("@sentry/core").Integration & {
47
84
  name: "LruMemoizer";
48
85
  };
@@ -55,6 +92,12 @@ export declare const channelIntegrations: {
55
92
  readonly googleGenAIIntegration: (options?: import("@sentry/core").GoogleGenAIOptions | undefined) => import("@sentry/core").Integration & {
56
93
  name: "Google_GenAI";
57
94
  };
95
+ readonly langChainIntegration: (options?: import("@sentry/core").LangChainOptions | undefined) => import("@sentry/core").Integration & {
96
+ name: "LangChain";
97
+ };
98
+ readonly langGraphIntegration: (options?: import("@sentry/core").LangGraphOptions | undefined) => import("@sentry/core").Integration & {
99
+ name: "LangGraph";
100
+ };
58
101
  readonly vercelAiIntegration: (options?: {
59
102
  recordInputs?: boolean;
60
103
  recordOutputs?: boolean;
@@ -68,6 +111,9 @@ export declare const channelIntegrations: {
68
111
  readonly hapiIntegration: () => import("@sentry/core").Integration & {
69
112
  name: "Hapi";
70
113
  };
114
+ readonly koaIntegration: (options?: import(".").KoaChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
115
+ name: "Koa";
116
+ };
71
117
  readonly expressIntegration: (options?: import("../integrations/tracing-channel/express/types").ExpressIntegrationOptions | undefined) => import("@sentry/core").Integration & {
72
118
  name: "Express";
73
119
  };
@@ -79,5 +125,14 @@ export declare const channelIntegrations: {
79
125
  name: "Graphql";
80
126
  setupOnce: () => void | undefined;
81
127
  };
128
+ readonly kafkajsIntegration: () => import("@sentry/core").Integration & {
129
+ name: "Kafka";
130
+ };
131
+ readonly tediousIntegration: () => import("@sentry/core").Integration & {
132
+ name: "Tedious";
133
+ };
134
+ readonly awsIntegration: () => import("@sentry/core").Integration & {
135
+ name: "Aws";
136
+ };
82
137
  };
83
138
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,13 @@
1
- declare global {
2
- var __SENTRY_ORCHESTRION__: {
3
- runtime?: boolean;
4
- bundler?: boolean;
5
- } | undefined;
1
+ export interface RegisterDiagnosticsChannelInjectionOptions {
2
+ /**
3
+ * Absolute directory of the `@apm-js-collab/tracing-hooks` package (forward slashes).
4
+ *
5
+ * Needed when SDK code is bundled into an app's server build: the default bare-specifier
6
+ * require then resolves from the emitted chunk, which fails under isolated installs (pnpm).
7
+ * Framework SDKs (e.g. `@sentry/nextjs`) resolve the package at build time and pass its
8
+ * location here; it is loaded through an opaque `createRequire` that bundlers can't trace.
9
+ */
10
+ tracingHooksDir?: string;
6
11
  }
7
12
  /**
8
13
  * Synchronously register the diagnostics-channel injection module hooks.
@@ -15,9 +20,6 @@ declare global {
15
20
  *
16
21
  * Libraries imported *after* this call publish the `tracingChannel` events that
17
22
  * the channel-based integrations subscribe to.
18
- *
19
- * Idempotent via `globalThis.__SENTRY_ORCHESTRION__` — a no-op if the runtime
20
- * `--import` hook or a bundler plugin already injected the channels.
21
23
  */
22
- export declare function registerDiagnosticsChannelInjection(): void;
24
+ export declare function registerDiagnosticsChannelInjection(options?: RegisterDiagnosticsChannelInjectionOptions): void;
23
25
  //# sourceMappingURL=register.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { TracingHelper } from './types';
2
+ export declare function getGlobalTracingHelper(): TracingHelper | undefined;
3
+ export declare function setGlobalTracingHelper(helper: TracingHelper): void;
4
+ export declare function clearGlobalTracingHelper(): void;
5
+ //# sourceMappingURL=global.d.ts.map
@@ -0,0 +1,45 @@
1
+ export interface PrismaInstrumentationConfig {
2
+ /**
3
+ * Span types that should not be traced. Matched against the full span name (e.g. `prisma:client:operation`),
4
+ * either exactly (string) or by pattern (RegExp).
5
+ */
6
+ ignoreSpanTypes?: (string | RegExp)[];
7
+ }
8
+ export interface PrismaOptions {
9
+ /**
10
+ * @deprecated This is no longer used, v5 works out of the box.
11
+ */
12
+ prismaInstrumentation?: unknown;
13
+ /**
14
+ * Configuration for the Prisma tracing helper.
15
+ */
16
+ instrumentationConfig?: PrismaInstrumentationConfig;
17
+ }
18
+ /**
19
+ * Sets up the global Prisma tracing helper that Prisma looks up on `globalThis` to emit tracing data.
20
+ *
21
+ * Prisma reads `globalThis.PRISMA_INSTRUMENTATION` (and its versioned variant) to find a "TracingHelper"
22
+ * which it uses internally to create spans, so it can produce tracing data without depending on
23
+ * OpenTelemetry. The helper we install here mints spans through Sentry's span APIs. A single helper
24
+ * serves both Prisma v5 (which calls `createEngineSpan`) and v6/v7 (which call `dispatchEngineSpans`),
25
+ * so it doesn't blow up on version mismatches.
26
+ */
27
+ export declare function instrumentPrisma(options?: PrismaOptions): void;
28
+ /**
29
+ * Adds Sentry tracing instrumentation for the [prisma](https://www.npmjs.com/package/prisma) library.
30
+ * For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).
31
+ *
32
+ * NOTE: This integration works out of the box with Prisma v6, and v7.
33
+ * On Prisma versions prior to v6, add `previewFeatures = ["tracing"]` to the client generator block of your Prisma schema:
34
+ *
35
+ * ```
36
+ * generator client {
37
+ * provider = "prisma-client-js"
38
+ * previewFeatures = ["tracing"]
39
+ * }
40
+ * ```
41
+ */
42
+ export declare const prismaIntegration: (options?: PrismaOptions | undefined) => import("@sentry/core").Integration & {
43
+ name: "Prisma";
44
+ };
45
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,52 @@
1
+ import { Span } from '@sentry/core';
2
+ import { EngineSpan, ExtendedSpanOptions, SpanCallback, TracingHelper } from './types';
3
+ type Options = {
4
+ ignoreSpanTypes: (string | RegExp)[];
5
+ };
6
+ type V5EngineSpanEvent = {
7
+ span: boolean;
8
+ spans: V5EngineSpan[];
9
+ };
10
+ type V5EngineSpanKind = 'client' | 'internal';
11
+ type V5EngineSpan = {
12
+ span: boolean;
13
+ name: string;
14
+ trace_id: string;
15
+ span_id: string;
16
+ parent_span_id: string;
17
+ start_time: [
18
+ number,
19
+ number
20
+ ];
21
+ end_time: [
22
+ number,
23
+ number
24
+ ];
25
+ attributes?: Record<string, string>;
26
+ links?: {
27
+ trace_id: string;
28
+ span_id: string;
29
+ }[];
30
+ kind: V5EngineSpanKind;
31
+ };
32
+ /**
33
+ * This satisifes the TracingHelper interface for Prisma v5 and v6/v7.
34
+ */
35
+ export declare class ActiveTracingHelper implements TracingHelper {
36
+ private ignoreSpanTypes;
37
+ constructor({ ignoreSpanTypes }: Options);
38
+ isEnabled(): boolean;
39
+ getTraceParent(span?: Span): string;
40
+ dispatchEngineSpans(spans: EngineSpan[]): void;
41
+ /**
42
+ * Prisma v5 broke the tracing helper interface with the v6 major, replacing `createEngineSpan` with
43
+ * `dispatchEngineSpans`. We implement the v6/v7 interface (`dispatchEngineSpans`) but also keep this
44
+ * v5-only method so the same helper doesn't blow up in Prisma 5 users' faces, minting v5 engine spans
45
+ * through Sentry's span APIs instead of crashing.
46
+ */
47
+ createEngineSpan(engineSpanEvent: V5EngineSpanEvent): void;
48
+ getActiveContext(): Span | undefined;
49
+ runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
50
+ }
51
+ export {};
52
+ //# sourceMappingURL=tracing-helper.d.ts.map
@@ -0,0 +1,40 @@
1
+ import { Span, SpanAttributes, SpanKindValue, SpanLink, SpanTimeInput } from '@sentry/core';
2
+ export type SpanCallback<R> = (span?: Span, parentSpan?: Span) => R;
3
+ export interface ExtendedSpanOptions {
4
+ /** The name of the span */
5
+ name: string;
6
+ internal?: boolean;
7
+ /** Whether it propagates context (?=true) */
8
+ active?: boolean;
9
+ attributes?: SpanAttributes;
10
+ kind?: SpanKindValue;
11
+ links?: SpanLink[];
12
+ startTime?: SpanTimeInput;
13
+ }
14
+ export type EngineSpanId = string;
15
+ export type HrTime = [
16
+ number,
17
+ number
18
+ ];
19
+ export type EngineSpanKind = 'client' | 'internal';
20
+ export type EngineSpan = {
21
+ id: EngineSpanId;
22
+ parentId: string | null;
23
+ name: string;
24
+ startTime: HrTime;
25
+ endTime: HrTime;
26
+ kind: EngineSpanKind;
27
+ attributes?: Record<string, unknown>;
28
+ links?: EngineSpanId[];
29
+ };
30
+ export interface TracingHelper {
31
+ isEnabled(): boolean;
32
+ getTraceParent(span?: Span): string;
33
+ dispatchEngineSpans(spans: EngineSpan[]): void;
34
+ getActiveContext(): Span | undefined;
35
+ runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
36
+ }
37
+ export interface PrismaInstrumentationGlobalValue {
38
+ helper?: TracingHelper;
39
+ }
40
+ //# sourceMappingURL=types.d.ts.map
@@ -5,8 +5,6 @@ export declare function asString(value: unknown): string | undefined;
5
5
  export declare function asNumber(value: unknown): number | undefined;
6
6
  /** Add two optional numbers, treating a missing operand as `0` but returning `undefined` when both are absent. */
7
7
  export declare function sum(a: number | undefined, b: number | undefined): number | undefined;
8
- /** Stringify a value, passing strings through and falling back to a placeholder on circular/unserializable input. */
9
- export declare function safeStringify(value: unknown): string;
10
8
  /** The aggregate handed back once a streamed model call finishes, in the shape `enrichSpanOnEnd` expects. */
11
9
  export interface StreamedModelCallResult {
12
10
  text?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/server-utils",
3
- "version": "10.65.0",
3
+ "version": "10.67.0",
4
4
  "description": "Server Utilities for all Sentry JavaScript SDKs",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/server-utils",
@@ -39,7 +39,23 @@
39
39
  },
40
40
  "./orchestrion/vite": {
41
41
  "types": "./build/types/orchestrion/bundler/vite.d.ts",
42
- "import": "./build/esm/orchestrion/bundler/vite.js"
42
+ "import": "./build/esm/orchestrion/bundler/vite.js",
43
+ "require": "./build/cjs/orchestrion/bundler/vite.js"
44
+ },
45
+ "./orchestrion/rollup": {
46
+ "types": "./build/types/orchestrion/bundler/rollup.d.ts",
47
+ "import": "./build/esm/orchestrion/bundler/rollup.js",
48
+ "require": "./build/cjs/orchestrion/bundler/rollup.js"
49
+ },
50
+ "./orchestrion/webpack": {
51
+ "types": "./build/types/orchestrion/bundler/webpack.d.ts",
52
+ "import": "./build/esm/orchestrion/bundler/webpack.js",
53
+ "require": "./build/cjs/orchestrion/bundler/webpack.js"
54
+ },
55
+ "./orchestrion/esbuild": {
56
+ "types": "./build/types/orchestrion/bundler/esbuild.d.ts",
57
+ "import": "./build/esm/orchestrion/bundler/esbuild.js",
58
+ "require": "./build/cjs/orchestrion/bundler/esbuild.js"
43
59
  },
44
60
  "./orchestrion/import-hook": {
45
61
  "import": "./build/orchestrion/import-hook.mjs"
@@ -61,6 +77,15 @@
61
77
  ],
62
78
  "orchestrion/vite": [
63
79
  "build/types-ts3.8/orchestrion/bundler/vite.d.ts"
80
+ ],
81
+ "orchestrion/rollup": [
82
+ "build/types-ts3.8/orchestrion/bundler/rollup.d.ts"
83
+ ],
84
+ "orchestrion/webpack": [
85
+ "build/types-ts3.8/orchestrion/bundler/webpack.d.ts"
86
+ ],
87
+ "orchestrion/esbuild": [
88
+ "build/types-ts3.8/orchestrion/bundler/esbuild.d.ts"
64
89
  ]
65
90
  },
66
91
  "*": {
@@ -75,6 +100,15 @@
75
100
  ],
76
101
  "orchestrion/vite": [
77
102
  "build/types/orchestrion/bundler/vite.d.ts"
103
+ ],
104
+ "orchestrion/rollup": [
105
+ "build/types/orchestrion/bundler/rollup.d.ts"
106
+ ],
107
+ "orchestrion/webpack": [
108
+ "build/types/orchestrion/bundler/webpack.d.ts"
109
+ ],
110
+ "orchestrion/esbuild": [
111
+ "build/types/orchestrion/bundler/esbuild.d.ts"
78
112
  ]
79
113
  }
80
114
  },
@@ -82,12 +116,10 @@
82
116
  "access": "public"
83
117
  },
84
118
  "dependencies": {
85
- "@apm-js-collab/code-transformer-bundler-plugins": "^0.5.0",
86
- "@apm-js-collab/code-transformer": "^0.15.0",
87
- "@apm-js-collab/tracing-hooks": "^0.10.1",
88
- "@sentry/conventions": "^0.15.1",
89
- "@sentry/core": "10.65.0",
90
- "magic-string": "~0.30.0"
119
+ "@apm-js-collab/code-transformer-bundler-plugins": "^0.7.1",
120
+ "@apm-js-collab/tracing-hooks": "^0.13.0",
121
+ "@sentry/conventions": "^0.16.0",
122
+ "@sentry/core": "10.67.0"
91
123
  },
92
124
  "devDependencies": {
93
125
  "@types/node": "^18.19.1",