@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
@@ -5,13 +5,19 @@
5
5
  * @module
6
6
  */
7
7
  export { graphqlIntegration } from './graphql';
8
- export { mongooseIntegration } from './mongoose';
8
+ export { mongooseIntegration, startMongooseLegacySpan } from './mongoose';
9
+ export { MongooseLegacyCollection, StartMongooseLegacySpanOptions } from './mongoose';
10
+ export { getV3CommandOperation, getV3SpanAttributes, getV4SpanAttributes, startMongoSpan, } from './mongodb/mongodb-span';
11
+ export { MongodbNamespace, MongoV3Topology } from './mongodb/mongodb-span';
9
12
  export { mysql2Integration } from './mysql2';
13
+ export { instrumentPrisma, prismaIntegration } from './prisma';
14
+ export { PrismaInstrumentationConfig, PrismaOptions } from './prisma';
10
15
  export { redisIntegration, RedisDiagnosticChannelsOptions } from './redis';
11
16
  export { RedisDiagnosticChannelResponseHook } from './redis/redis-dc-subscriber';
12
17
  export { defaultDbStatementSerializer } from './redis/redis-statement-serializer';
13
18
  export { bindTracingChannelToSpan } from './tracing-channel';
14
19
  export { SentryTracingChannel, TracingChannelLifeCycleOptions, TracingChannelBindingHandle, TracingChannelPayloadWithSpan, } from './tracing-channel';
15
20
  export { vercelAiIntegration } from './vercel-ai';
21
+ export { InstrumentationConfig } from './orchestrion';
16
22
  export { fastifyIntegration, handleFastifyError, instrumentFastify, } from './integrations/tracing-channel/fastify';
17
23
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,43 @@
1
+ interface Blob {
2
+ }
3
+ type Binary = Buffer | Uint8Array | Blob | string;
4
+ export declare namespace SNS {
5
+ interface MessageAttributeValue {
6
+ DataType: string;
7
+ StringValue?: string;
8
+ BinaryValue?: Binary;
9
+ }
10
+ export type MessageAttributeMap = {
11
+ [key: string]: MessageAttributeValue;
12
+ };
13
+ export {};
14
+ }
15
+ export declare namespace SQS {
16
+ type StringList = string[];
17
+ type BinaryList = Binary[];
18
+ interface MessageAttributeValue {
19
+ StringValue?: string;
20
+ BinaryValue?: Binary;
21
+ StringListValues?: StringList;
22
+ BinaryListValues?: BinaryList;
23
+ DataType: string;
24
+ }
25
+ export type MessageBodyAttributeMap = {
26
+ [key: string]: MessageAttributeValue;
27
+ };
28
+ type MessageSystemAttributeMap = {
29
+ [key: string]: string;
30
+ };
31
+ export interface Message {
32
+ MessageId?: string;
33
+ ReceiptHandle?: string;
34
+ MD5OfBody?: string;
35
+ Body?: string;
36
+ Attributes?: MessageSystemAttributeMap;
37
+ MD5OfMessageAttributes?: string;
38
+ MessageAttributes?: MessageBodyAttributeMap;
39
+ }
40
+ export {};
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=aws-sdk.types.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * AWS-specific span constants used by the aws-sdk channel integration that are NOT covered by
3
+ * `@sentry/conventions/attributes` (attribute names that exist there are imported from there
4
+ * directly). These are either Sentry-specific (the span origin), attribute *values* (not keys), or
5
+ * obsolete OTel conventions with no `@sentry/conventions` export.
6
+ */
7
+ /** The span origin every aws-sdk channel span carries, mirroring the uniform OTel `auto.otel.aws`. */
8
+ export declare const AWS_SDK_ORIGIN = "auto.aws.orchestrion.aws_sdk";
9
+ /** DynamoDB `db.system` value (an attribute value, not a key, so not covered by conventions). */
10
+ export declare const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb";
11
+ export declare const ATTR_MESSAGING_DESTINATION_KIND = "messaging.destination_kind";
12
+ export declare const MESSAGING_DESTINATION_KIND_VALUE_TOPIC = "topic";
13
+ export declare const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat";
14
+ export declare const GEN_AI_SYSTEM_VALUE_AWS_BEDROCK = "aws.bedrock";
15
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EXPERIMENTAL — orchestrion-driven aws-sdk (v3) integration.
3
+ *
4
+ * Subscribes to the `orchestrion:@smithy/smithy-client:send` (and equivalent) diagnostics_channel
5
+ * the orchestrion code transform injects into the AWS SDK's smithy `Client.prototype.send`, emitting
6
+ * spans identical to the OTel `@opentelemetry/instrumentation-aws-sdk` integration (with a distinct
7
+ * `auto.aws.orchestrion.aws_sdk` origin). Requires the orchestrion runtime hook or bundler plugin —
8
+ * wire it up via `experimentalUseDiagnosticsChannelInjection()`.
9
+ *
10
+ * @experimental
11
+ */
12
+ export declare const awsChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Aws";
14
+ };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { SerializedTraceData } from '@sentry/core';
2
+ import { SNS, SQS } from '../aws-sdk.types';
3
+ export declare const MAX_MESSAGE_ATTRIBUTES = 10;
4
+ export interface AwsSdkContextObject {
5
+ [key: string]: {
6
+ StringValue?: string;
7
+ Value?: string;
8
+ };
9
+ }
10
+ /**
11
+ * Inject trace-propagation headers (from `getTraceData({ span })`) into an SQS/SNS message-attribute
12
+ * map, so the consumer can continue the trace. Respects the SQS 10-attribute quota. Mirrors the OTel
13
+ * integration's `injectPropagationContext`, but writes Sentry's `sentry-trace`/`baggage` instead of
14
+ * W3C headers. Callers pass the precomputed headers so batch sends serialize them only once.
15
+ */
16
+ export declare function injectPropagationContext(attributesMap: SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap | undefined, traceData: SerializedTraceData): SQS.MessageBodyAttributeMap | SNS.MessageAttributeMap;
17
+ /** Read the propagation headers back off a received SQS message, if present. */
18
+ export declare function extractPropagationHeaders(message: SQS.Message): {
19
+ sentryTrace?: string;
20
+ baggage?: string;
21
+ } | undefined;
22
+ export declare function addPropagationFieldsToAttributeNames(messageAttributeNames?: string[]): string[];
23
+ //# sourceMappingURL=MessageAttributes.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse, RequestMetadata } from '../types';
3
+ export { RequestMetadata };
4
+ export interface ServiceExtension {
5
+ requestPreSpanHook: (request: NormalizedRequest) => RequestMetadata;
6
+ requestPostSpanHook?: (request: NormalizedRequest, span: Span) => void;
7
+ responseHook?: (response: NormalizedResponse, span: Span) => void;
8
+ }
9
+ //# sourceMappingURL=ServiceExtension.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse, RequestMetadata } from '../types';
3
+ import { ServiceExtension } from './ServiceExtension';
4
+ export declare class ServicesExtensions implements ServiceExtension {
5
+ private _services;
6
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
7
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
8
+ responseHook(response: NormalizedResponse, span: Span): void;
9
+ }
10
+ //# sourceMappingURL=ServicesExtensions.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class BedrockRuntimeServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ private _requestPreSpanHookConverse;
8
+ private _requestPreSpanHookInvokeModel;
9
+ private _responseHookConverse;
10
+ private _responseHookConverseStream;
11
+ private _responseHookInvokeModel;
12
+ private _responseHookInvokeModelWithResponseStream;
13
+ }
14
+ //# sourceMappingURL=bedrock-runtime.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class DynamodbServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(normalizedRequest: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ }
8
+ //# sourceMappingURL=dynamodb.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { ServicesExtensions } from './ServicesExtensions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class KinesisServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=kinesis.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class LambdaServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=lambda.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class S3ServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=s3.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SecretsManagerServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ responseHook(response: NormalizedResponse, span: Span): void;
7
+ }
8
+ //# sourceMappingURL=secretsmanager.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SnsServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=sns.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { Span } from '@sentry/core';
2
+ import { NormalizedRequest, NormalizedResponse } from '../types';
3
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
4
+ export declare class SqsServiceExtension implements ServiceExtension {
5
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
6
+ requestPostSpanHook(request: NormalizedRequest, span: Span): void;
7
+ responseHook(response: NormalizedResponse, span: Span): void;
8
+ }
9
+ //# sourceMappingURL=sqs.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { NormalizedRequest } from '../types';
2
+ import { RequestMetadata, ServiceExtension } from './ServiceExtension';
3
+ export declare class StepFunctionsServiceExtension implements ServiceExtension {
4
+ requestPreSpanHook(request: NormalizedRequest): RequestMetadata;
5
+ }
6
+ //# sourceMappingURL=stepfunctions.d.ts.map
@@ -0,0 +1,26 @@
1
+ import { SpanKindValue } from '@sentry/core';
2
+ export type CommandInput = Record<string, any>;
3
+ /**
4
+ * These are normalized request and response. They organize the relevant data in one interface which
5
+ * can be processed in a uniform manner in the per-service hooks.
6
+ */
7
+ export interface NormalizedRequest {
8
+ serviceName: string;
9
+ commandName: string;
10
+ commandInput: CommandInput;
11
+ region?: string;
12
+ }
13
+ export interface NormalizedResponse {
14
+ data: any;
15
+ request: NormalizedRequest;
16
+ requestId?: string;
17
+ }
18
+ /** Span metadata a per-service extension returns for the subscriber to build the span from. */
19
+ export interface RequestMetadata {
20
+ isStream?: boolean;
21
+ spanAttributes?: Record<string, unknown>;
22
+ spanKind?: SpanKindValue;
23
+ spanName?: string;
24
+ spanOp?: string;
25
+ }
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { CommandInput, NormalizedRequest } from './types';
2
+ export declare function removeSuffixFromStringIfExists(str: string, suffixToRemove: string): string;
3
+ export declare function normalizeV3Request(serviceName: string, commandNameWithSuffix: string, commandInput: CommandInput, region: string | undefined): NormalizedRequest;
4
+ export declare function extractAttributesFromNormalizedRequest(normalizedRequest: NormalizedRequest): Record<string, unknown>;
5
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * EXPERIMENTAL: orchestrion-driven `dataloader` integration.
3
+ *
4
+ * Subscribes to the `orchestrion:dataloader:*` diagnostics_channels that the orchestrion code
5
+ * transform injects into `dataloader`'s constructor and prototype methods. Requires the orchestrion
6
+ * runtime hook or bundler plugin to be active.
7
+ */
8
+ export declare const dataloaderChannelIntegration: () => import("@sentry/core").Integration & {
9
+ name: "Dataloader";
10
+ };
11
+ //# sourceMappingURL=dataloader.d.ts.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * EXPERIMENTAL — orchestrion-driven generic-pool integration. Subscribes to
3
+ * `orchestrion:generic-pool:acquire` (injected into `generic-pool/lib/Pool.js`'s
4
+ * `Pool.prototype.acquire`). Creates a `generic-pool.acquire` span for each
5
+ * acquisition. Requires the orchestrion runtime hook or bundler plugin.
6
+ */
7
+ export declare const genericPoolChannelIntegration: () => import("@sentry/core").Integration & {
8
+ name: "GenericPool";
9
+ };
10
+ //# sourceMappingURL=generic-pool.d.ts.map
@@ -4,6 +4,25 @@ export type IORedisResponseHook = (span: Span, command: string, args: Array<stri
4
4
  export interface IORedisChannelIntegrationOptions {
5
5
  responseHook?: IORedisResponseHook;
6
6
  }
7
+ interface RedisClientLike {
8
+ options?: {
9
+ host?: string;
10
+ port?: number;
11
+ };
12
+ }
13
+ interface IORedisCommandContext {
14
+ arguments?: unknown[];
15
+ self?: RedisClientLike;
16
+ result?: unknown;
17
+ error?: unknown;
18
+ }
19
+ /**
20
+ * Builds the db span for an `orchestrion:ioredis:command` payload, or returns `undefined` to skip
21
+ * it: for a non-command payload, or the offline-queue re-send of an already-traced command.
22
+ *
23
+ * Exported for unit testing.
24
+ */
25
+ export declare function startIORedisCommandSpan(data: IORedisCommandContext): Span | undefined;
7
26
  /**
8
27
  * EXPERIMENTAL — orchestrion-driven ioredis integration. Subscribes to
9
28
  * `orchestrion:ioredis:command` / `:connect` (injected into ioredis' `<5.11.0`
@@ -14,4 +33,5 @@ export interface IORedisChannelIntegrationOptions {
14
33
  export declare const ioredisChannelIntegration: (options?: IORedisChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
15
34
  name: "IORedis";
16
35
  };
36
+ export {};
17
37
  //# sourceMappingURL=ioredis.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { EachBatchHandler, EachMessageHandler } from './types';
2
+ /** Whether `fn` is a callback this module already wrapped, so callers skip re-wrapping it. */
3
+ export declare function isWrappedConsumerCallback(fn: unknown): boolean;
4
+ /** Wraps `eachMessage` so each processed message becomes a consumer span parented to the message's producer. */
5
+ export declare function wrapEachMessage(original: EachMessageHandler): EachMessageHandler;
6
+ /** Wraps `eachBatch` so the batch pull becomes a fresh-root receiving span with a process span per message. */
7
+ export declare function wrapEachBatch(original: EachBatchHandler): EachBatchHandler;
8
+ //# sourceMappingURL=consumer.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * EXPERIMENTAL — orchestrion-driven kafkajs integration.
3
+ *
4
+ * Subscribes to the `orchestrion:kafkajs:*` diagnostics_channels that the orchestrion code transform
5
+ * injects into `kafkajs`'s `producer/messageProducer.js` (`sendBatch`) and `consumer/index.js` (`run`).
6
+ * Requires the orchestrion runtime hook or bundler plugin to be active — wire that up via
7
+ * `experimentalUseDiagnosticsChannelInjection`.
8
+ *
9
+ * Known limitation vs. the OTel integration it replaces: the wrapping producer-`transaction` span is
10
+ * not emitted (the transformer can't replace `transaction()`'s return value to patch commit/abort).
11
+ * Transactional `send`/`sendBatch` calls still produce producer spans, since they route through the
12
+ * same instrumented `sendBatch`.
13
+ */
14
+ export declare const kafkajsChannelIntegration: () => import("@sentry/core").Integration & {
15
+ name: "Kafka";
16
+ };
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ export declare const ATTR_MESSAGING_DESTINATION_PARTITION_ID: "messaging.destination.partition.id";
2
+ export declare const ATTR_MESSAGING_KAFKA_MESSAGE_KEY: "messaging.kafka.message.key";
3
+ export declare const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE: "messaging.kafka.message.tombstone";
4
+ export declare const ATTR_MESSAGING_KAFKA_OFFSET: "messaging.kafka.offset";
5
+ export declare const MESSAGING_OPERATION_TYPE_VALUE_PROCESS: "process";
6
+ export declare const MESSAGING_OPERATION_TYPE_VALUE_RECEIVE: "receive";
7
+ export declare const MESSAGING_OPERATION_TYPE_VALUE_SEND: "send";
8
+ export declare const MESSAGING_SYSTEM_VALUE_KAFKA: "kafka";
9
+ export declare const ERROR_TYPE_VALUE_OTHER: "_OTHER";
10
+ //# sourceMappingURL=semconv.d.ts.map
@@ -0,0 +1,38 @@
1
+ import { Span, SpanAttributes, SpanLink } from '@sentry/core';
2
+ import { KafkaMessage, Message } from './types';
3
+ interface ConsumerSpanOptions {
4
+ topic: string;
5
+ message: KafkaMessage | undefined;
6
+ operationType: string;
7
+ attributes: SpanAttributes;
8
+ links?: SpanLink[];
9
+ }
10
+ /**
11
+ * Reads a header value off a kafkajs message as a string. kafkajs delivers headers as `Buffer`s (or
12
+ * arrays of them), so we normalize to a string before handing them to Sentry's trace helpers.
13
+ */
14
+ export declare function getHeaderAsString(headers: KafkaMessage['headers'], key: string): string | undefined;
15
+ /**
16
+ * Builds a span link to the producer span carried in the message headers, mirroring the upstream
17
+ * behavior of linking each batch-processed message to its originating producer span.
18
+ */
19
+ export declare function getLinksFromHeaders(headers: KafkaMessage['headers']): SpanLink[] | undefined;
20
+ /** Starts an inactive consumer (process/receive) span carrying the kafkajs messaging attributes. */
21
+ export declare function startConsumerSpan({ topic, message, operationType, links, attributes }: ConsumerSpanOptions): Span;
22
+ /** Starts an inactive producer span and propagates its trace into the message headers. */
23
+ export declare function startProducerSpan(topic: string, message: Message): Span;
24
+ /**
25
+ * Marks all `spans` with the error status and `error.type` derived from a settle-time `reason`,
26
+ * WITHOUT ending them. Mirrors the vendored `endSpansOnPromise` catch block. The producer path (which
27
+ * receives discrete `error`/`asyncEnd` channel events) applies the error on `error` and ends on
28
+ * `asyncEnd`; the consumer path folds this into `endSpansOnPromise`.
29
+ */
30
+ export declare function applyErrorToSpans(spans: Span[], reason: unknown): void;
31
+ /**
32
+ * Resolves once `promise` settles, applying the error status to all `spans` on failure and ending
33
+ * them regardless. Used by the consumer path, which invokes the user callback directly (and so holds a
34
+ * real promise). Verbatim from the vendored `endSpansOnPromise`.
35
+ */
36
+ export declare function endSpansOnPromise<T>(spans: Span[], promise: Promise<T>): Promise<T>;
37
+ export {};
38
+ //# sourceMappingURL=spans.d.ts.map
@@ -0,0 +1,40 @@
1
+ export interface Message {
2
+ key?: Buffer | string | null;
3
+ value: Buffer | string | null;
4
+ partition?: number;
5
+ headers?: Record<string, Buffer | string | (Buffer | string)[] | undefined>;
6
+ timestamp?: string;
7
+ }
8
+ export type KafkaMessage = {
9
+ [key: string]: unknown;
10
+ } & Message;
11
+ /** A single `{ topic, messages }` entry of a `sendBatch({ topicMessages })` call. */
12
+ export interface TopicMessages {
13
+ topic: string;
14
+ messages: Message[];
15
+ }
16
+ /** The `sendBatch`/`send` argument shape after kafkajs normalizes `send` into `sendBatch`. */
17
+ export interface ProducerBatch {
18
+ topicMessages?: TopicMessages[];
19
+ }
20
+ export interface EachMessagePayload {
21
+ topic: string;
22
+ partition: number;
23
+ message: KafkaMessage;
24
+ }
25
+ export interface Batch {
26
+ topic: string;
27
+ partition: number;
28
+ messages: KafkaMessage[];
29
+ }
30
+ export interface EachBatchPayload {
31
+ batch: Batch;
32
+ }
33
+ export type EachMessageHandler = (payload: EachMessagePayload) => Promise<void>;
34
+ export type EachBatchHandler = (payload: EachBatchPayload) => Promise<void>;
35
+ /** The `consumer.run(config)` argument shape; only the two callbacks are read/swapped. */
36
+ export interface ConsumerRunConfig {
37
+ eachMessage?: EachMessageHandler | null;
38
+ eachBatch?: EachBatchHandler | null;
39
+ }
40
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * EXPERIMENTAL - orchestrion-driven knex integration.
3
+ *
4
+ * Subscribes to the `orchestrion:knex:*` diagnostics_channels that the orchestrion code transform
5
+ * injects into knex's `Runner.query` (span) and `Client.queryBuilder`/`schemaBuilder`/`raw` (parent-span
6
+ * bookkeeping). Requires the orchestrion runtime hook or bundler plugin to be active.
7
+ */
8
+ export declare const knexChannelIntegration: () => import("@sentry/core").Integration & {
9
+ name: "Knex";
10
+ };
11
+ //# sourceMappingURL=knex.d.ts.map
@@ -0,0 +1,14 @@
1
+ export interface KoaChannelIntegrationOptions {
2
+ /** Ignore layers of the specified types (`'middleware'` and/or `'router'`). */
3
+ ignoreLayersType?: Array<'middleware' | 'router'>;
4
+ }
5
+ /**
6
+ * EXPERIMENTAL — orchestrion-driven koa integration. Subscribes to the
7
+ * `orchestrion:koa:use` channel injected into `Application.prototype.use` and
8
+ * wraps each registered middleware/router layer in a span-creating proxy.
9
+ * Requires the orchestrion runtime hook or bundler plugin.
10
+ */
11
+ export declare const koaChannelIntegration: (options?: KoaChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
12
+ name: "Koa";
13
+ };
14
+ //# sourceMappingURL=koa.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { LangChainOptions } from '@sentry/core';
2
+ /**
3
+ * EXPERIMENTAL — orchestrion-driven LangChain integration. Subscribes to the diagnostics_channels
4
+ * injected into `@langchain/core`'s `BaseChatModel` (to inject the Sentry callback handler) and into
5
+ * `@langchain/openai`'s embedding methods, so it requires the orchestrion runtime hook or bundler plugin.
6
+ */
7
+ export declare const langChainChannelIntegration: (options?: LangChainOptions | undefined) => import("@sentry/core").Integration & {
8
+ name: "LangChain";
9
+ };
10
+ //# sourceMappingURL=langchain.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { LangGraphOptions } from '@sentry/core';
2
+ /**
3
+ * EXPERIMENTAL — orchestrion-driven LangGraph integration. Subscribes to the diagnostics_channels
4
+ * injected into `@langchain/langgraph`'s `StateGraph.compile` and `createReactAgent`, so it requires
5
+ * the orchestrion runtime hook or bundler plugin.
6
+ */
7
+ export declare const langGraphChannelIntegration: (options?: LangGraphOptions | undefined) => import("@sentry/core").Integration & {
8
+ name: "LangGraph";
9
+ };
10
+ //# sourceMappingURL=langgraph.d.ts.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * EXPERIMENTAL: orchestrion-driven mongodb integration.
3
+ *
4
+ * Reproduces the vendored `@opentelemetry/instrumentation-mongodb` span shape
5
+ * (legacy db/net semantic conventions, `mongodb.<op>` names, scrubbed
6
+ * `db.statement`) via the `orchestrion:mongodb:*` diagnostics_channels
7
+ * injected by the orchestrion code transform.
8
+ */
9
+ export declare const mongodbChannelIntegration: () => import("@sentry/core").Integration & {
10
+ name: "Mongo";
11
+ };
12
+ //# sourceMappingURL=mongodb.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EXPERIMENTAL: orchestrion-driven mongoose integration.
3
+ *
4
+ * Reproduces the vendored `@opentelemetry/instrumentation-mongoose` span
5
+ * shape (legacy db/net semantic conventions, `mongoose.<Model>.<op>` names,
6
+ * build-time span parenting) via the `orchestrion:mongoose:*`
7
+ * diagnostics_channels injected into mongoose `< 9.7` by the orchestrion
8
+ * code transform. For mongoose `>= 9.7` it also drives the native
9
+ * diagnostics_channel subscription, so this single integration covers every
10
+ * supported version once it replaces the OTel one.
11
+ */
12
+ export declare const mongooseChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Mongoose";
14
+ };
15
+ //# sourceMappingURL=mongoose.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Orchestrion-driven mysql2 integration.
3
+ *
4
+ * Adds Sentry tracing instrumentation for the [mysql2](https://www.npmjs.com/package/mysql2) library
5
+ * via diagnostics-channel injection. See {@link instrumentMysql2} for how the two mysql2 version
6
+ * ranges are covered.
7
+ *
8
+ * Known limitation vs. the OTel integration it replaces: the callback-less streaming form
9
+ * (`connection.query(sql).on('result', ...)`) is not traced — see the `mysql2` orchestrion config for
10
+ * why. The callback and promise forms (the common case) are fully instrumented.
11
+ */
12
+ export declare const mysql2ChannelIntegration: () => import("@sentry/core").Integration & {
13
+ name: "Mysql2";
14
+ };
15
+ //# sourceMappingURL=mysql2.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * EXPERIMENTAL - orchestrion-driven tedious integration.
3
+ *
4
+ * Subscribes to the `orchestrion:tedious:*` diagnostics_channels that the orchestrion code transform
5
+ * injects into tedious's `Connection` request methods (each traced as one db span) and `Connection.connect`
6
+ * (active-database bookkeeping). Requires the orchestrion runtime hook or bundler plugin to be active.
7
+ */
8
+ export declare const tediousChannelIntegration: () => import("@sentry/core").Integration & {
9
+ name: "Tedious";
10
+ };
11
+ //# sourceMappingURL=tedious.d.ts.map
@@ -0,0 +1,66 @@
1
+ import { Span, SpanAttributes } from '@sentry/core';
2
+ /**
3
+ * The db/collection namespace mongodb (v4+) passes to `Connection.command`
4
+ */
5
+ export interface MongodbNamespace {
6
+ db: string;
7
+ collection?: string;
8
+ }
9
+ interface V4Command {
10
+ documents?: unknown[];
11
+ cursors?: unknown;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ * Replaces every leaf value in the command object with '?', keeping keys
16
+ * and Mongo operators. hides PII and improves grouping. Reproduced from
17
+ * the OTel instrumentation.
18
+ */
19
+ export declare function serializeDbStatement(commandObj: Record<string, unknown>): string;
20
+ /**
21
+ * Build span attributes for a mongodb v4+ command from the connection
22
+ * context, namespace and command.
23
+ */
24
+ export declare function getV4SpanAttributes(connectionCtx: {
25
+ address?: string;
26
+ } | undefined, ns: MongodbNamespace, command: V4Command | undefined, operation: string | undefined, origin: string): SpanAttributes;
27
+ /**
28
+ * Shared attribute builder used by both the v3 topology path and the v4+
29
+ * connection path.
30
+ */
31
+ export declare function getSpanAttributes(dbName: string | undefined, dbCollection: string | undefined, host: string | undefined, port: string | undefined, commandObj: Record<string, unknown> | undefined, operation: string | undefined, origin: string): SpanAttributes;
32
+ /** The v3 driver topology, from which host/port are read (mongodb 3.x). */
33
+ export interface MongoV3Topology {
34
+ s?: {
35
+ options?: {
36
+ host?: string;
37
+ port?: number;
38
+ };
39
+ host?: string;
40
+ port?: number;
41
+ };
42
+ description?: {
43
+ address?: string;
44
+ };
45
+ }
46
+ /**
47
+ * Determine the operation name for a mongodb v3 `command` from the command
48
+ * document, mirroring the vendored instrumentation. Returns `undefined` for
49
+ * commands it doesn't classify (e.g. `endSessions`).
50
+ */
51
+ export declare function getV3CommandOperation(command: Record<string, unknown>): string | undefined;
52
+ /**
53
+ * Build span attributes for a mongodb v3 operation from the topology,
54
+ * namespace string and command.
55
+ */
56
+ export declare function getV3SpanAttributes(ns: string, topology: MongoV3Topology | undefined, command: Record<string, unknown> | undefined, operation: string | undefined, origin: string): SpanAttributes;
57
+ /**
58
+ * Start a mongodb client span with the legacy (pre-stable) db/net semantic
59
+ * conventions.
60
+ *
61
+ * `op: 'db'` is set explicitly rather than relying on `inferDbSpanData`,
62
+ * to support platforms that lack it (ie, Deno).
63
+ */
64
+ export declare function startMongoSpan(attributes: SpanAttributes): Span;
65
+ export {};
66
+ //# sourceMappingURL=mongodb-span.d.ts.map