@sentry/server-utils 11.0.0-alpha.1 → 11.0.0-beta.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 (1318) hide show
  1. package/build/THIRD-PARTY-LICENSES.txt +33 -360
  2. package/build/cjs/ai/anthropic-ai/index.js +30 -59
  3. package/build/cjs/ai/anthropic-ai/index.js.map +1 -1
  4. package/build/cjs/ai/anthropic-ai/streaming.js +0 -6
  5. package/build/cjs/ai/anthropic-ai/streaming.js.map +1 -1
  6. package/build/cjs/ai/anthropic-ai/utils.js +3 -2
  7. package/build/cjs/ai/anthropic-ai/utils.js.map +1 -1
  8. package/build/cjs/ai/core/gen-ai-attributes.js +0 -6
  9. package/build/cjs/ai/core/gen-ai-attributes.js.map +1 -1
  10. package/build/cjs/ai/core/utils.js +5 -15
  11. package/build/cjs/ai/core/utils.js.map +1 -1
  12. package/build/cjs/ai/google-genai/index.js +23 -19
  13. package/build/cjs/ai/google-genai/index.js.map +1 -1
  14. package/build/cjs/ai/langchain/embeddings.js +6 -9
  15. package/build/cjs/ai/langchain/embeddings.js.map +1 -1
  16. package/build/cjs/ai/langchain/index.js +30 -41
  17. package/build/cjs/ai/langchain/index.js.map +1 -1
  18. package/build/cjs/ai/langgraph/index.js +2 -9
  19. package/build/cjs/ai/langgraph/index.js.map +1 -1
  20. package/build/cjs/ai/langgraph/utils.js +2 -8
  21. package/build/cjs/ai/langgraph/utils.js.map +1 -1
  22. package/build/cjs/ai/openai/index.js +9 -26
  23. package/build/cjs/ai/openai/index.js.map +1 -1
  24. package/build/cjs/ai/vercel-ai/index.js +0 -281
  25. package/build/cjs/ai/vercel-ai/index.js.map +1 -1
  26. package/build/cjs/ai/workers-ai/index.js +9 -4
  27. package/build/cjs/ai/workers-ai/index.js.map +1 -1
  28. package/build/cjs/ai/workers-ai/utils.js +6 -0
  29. package/build/cjs/ai/workers-ai/utils.js.map +1 -1
  30. package/build/cjs/index.js +87 -44
  31. package/build/cjs/index.js.map +1 -1
  32. package/build/cjs/index.no-diagnostic-channels.js +17 -19
  33. package/build/cjs/index.no-diagnostic-channels.js.map +1 -1
  34. package/build/cjs/integrations/amqplib.js +402 -0
  35. package/build/cjs/integrations/amqplib.js.map +1 -0
  36. package/build/cjs/integrations/anthropic.js +113 -0
  37. package/build/cjs/integrations/anthropic.js.map +1 -0
  38. package/build/cjs/integrations/aws-sdk/constants.js.map +1 -0
  39. package/build/cjs/integrations/aws-sdk/index.js +154 -0
  40. package/build/cjs/integrations/aws-sdk/index.js.map +1 -0
  41. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js +46 -0
  42. package/build/cjs/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  43. package/build/cjs/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  44. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js +424 -0
  45. package/build/cjs/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  46. package/build/cjs/integrations/aws-sdk/services/dynamodb.js +130 -0
  47. package/build/cjs/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  48. package/build/cjs/integrations/aws-sdk/services/kinesis.js.map +1 -0
  49. package/build/cjs/integrations/aws-sdk/services/lambda.js +63 -0
  50. package/build/cjs/integrations/aws-sdk/services/lambda.js.map +1 -0
  51. package/build/cjs/integrations/aws-sdk/services/s3.js.map +1 -0
  52. package/build/cjs/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  53. package/build/cjs/integrations/aws-sdk/services/sns.js +79 -0
  54. package/build/cjs/integrations/aws-sdk/services/sns.js.map +1 -0
  55. package/build/cjs/integrations/aws-sdk/services/sqs.js +135 -0
  56. package/build/cjs/integrations/aws-sdk/services/sqs.js.map +1 -0
  57. package/build/cjs/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  58. package/build/cjs/integrations/aws-sdk/utils.js.map +1 -0
  59. package/build/cjs/integrations/dataloader.js +134 -0
  60. package/build/cjs/integrations/dataloader.js.map +1 -0
  61. package/build/cjs/integrations/express/error-handled.js +17 -0
  62. package/build/cjs/integrations/express/error-handled.js.map +1 -0
  63. package/build/cjs/integrations/express/error-handler.js +43 -0
  64. package/build/cjs/integrations/express/error-handler.js.map +1 -0
  65. package/build/cjs/integrations/express/index.js +37 -0
  66. package/build/cjs/integrations/express/index.js.map +1 -0
  67. package/build/cjs/integrations/express/instrumentation.js +200 -0
  68. package/build/cjs/integrations/express/instrumentation.js.map +1 -0
  69. package/build/cjs/integrations/express/route.js.map +1 -0
  70. package/build/cjs/integrations/express/utils.js +12 -0
  71. package/build/cjs/integrations/express/utils.js.map +1 -0
  72. package/build/cjs/integrations/fastify/errors.js +49 -0
  73. package/build/cjs/integrations/fastify/errors.js.map +1 -0
  74. package/build/cjs/integrations/fastify/index.js +28 -0
  75. package/build/cjs/integrations/fastify/index.js.map +1 -0
  76. package/build/cjs/integrations/fastify/instrumentation.js +265 -0
  77. package/build/cjs/integrations/fastify/instrumentation.js.map +1 -0
  78. package/build/cjs/integrations/fastify/utils.js.map +1 -0
  79. package/build/cjs/integrations/firebase/firestore.js +92 -0
  80. package/build/cjs/integrations/firebase/firestore.js.map +1 -0
  81. package/build/cjs/integrations/firebase/functions.js +69 -0
  82. package/build/cjs/integrations/firebase/functions.js.map +1 -0
  83. package/build/cjs/integrations/firebase/index.js +20 -0
  84. package/build/cjs/integrations/firebase/index.js.map +1 -0
  85. package/build/cjs/integrations/firebase/instrumentation.js +69 -0
  86. package/build/cjs/integrations/firebase/instrumentation.js.map +1 -0
  87. package/build/cjs/integrations/generic-pool.js +49 -0
  88. package/build/cjs/integrations/generic-pool.js.map +1 -0
  89. package/build/cjs/integrations/google-genai.js +112 -0
  90. package/build/cjs/integrations/google-genai.js.map +1 -0
  91. package/build/cjs/integrations/graphql/constants.js +38 -0
  92. package/build/cjs/integrations/graphql/constants.js.map +1 -0
  93. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js +122 -0
  94. package/build/cjs/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  95. package/build/cjs/integrations/graphql/index.js +73 -0
  96. package/build/cjs/integrations/graphql/index.js.map +1 -0
  97. package/build/cjs/integrations/graphql/resolvers.js +174 -0
  98. package/build/cjs/integrations/graphql/resolvers.js.map +1 -0
  99. package/build/cjs/integrations/graphql/spans.js +114 -0
  100. package/build/cjs/integrations/graphql/spans.js.map +1 -0
  101. package/build/cjs/integrations/graphql/utils.js +98 -0
  102. package/build/cjs/integrations/graphql/utils.js.map +1 -0
  103. package/build/cjs/integrations/hapi/hapi-error-handler.js +46 -0
  104. package/build/cjs/integrations/hapi/hapi-error-handler.js.map +1 -0
  105. package/build/cjs/integrations/hapi/hapi-types.js.map +1 -0
  106. package/build/cjs/integrations/hapi/hapi-utils.js +197 -0
  107. package/build/cjs/integrations/hapi/hapi-utils.js.map +1 -0
  108. package/build/cjs/integrations/hapi/index.js +86 -0
  109. package/build/cjs/integrations/hapi/index.js.map +1 -0
  110. package/build/cjs/integrations/index.js +64 -0
  111. package/build/cjs/integrations/index.js.map +1 -0
  112. package/build/cjs/integrations/kafkajs/consumer.js.map +1 -0
  113. package/build/cjs/integrations/kafkajs/index.js +83 -0
  114. package/build/cjs/integrations/kafkajs/index.js.map +1 -0
  115. package/build/cjs/integrations/kafkajs/semconv.js.map +1 -0
  116. package/build/cjs/integrations/kafkajs/spans.js +121 -0
  117. package/build/cjs/integrations/kafkajs/spans.js.map +1 -0
  118. package/build/cjs/integrations/knex.js +228 -0
  119. package/build/cjs/integrations/knex.js.map +1 -0
  120. package/build/cjs/integrations/koa/index.js +174 -0
  121. package/build/cjs/integrations/koa/index.js.map +1 -0
  122. package/build/cjs/integrations/koa/koa-error-handler.js +33 -0
  123. package/build/cjs/integrations/koa/koa-error-handler.js.map +1 -0
  124. package/build/cjs/integrations/langchain.js +81 -0
  125. package/build/cjs/integrations/langchain.js.map +1 -0
  126. package/build/cjs/integrations/langgraph.js +100 -0
  127. package/build/cjs/integrations/langgraph.js.map +1 -0
  128. package/build/cjs/integrations/lru-memoizer.js +42 -0
  129. package/build/cjs/integrations/lru-memoizer.js.map +1 -0
  130. package/build/cjs/integrations/mongodb/index.js +117 -0
  131. package/build/cjs/integrations/mongodb/index.js.map +1 -0
  132. package/build/cjs/integrations/mongodb/mongodb-span.js +134 -0
  133. package/build/cjs/integrations/mongodb/mongodb-span.js.map +1 -0
  134. package/build/cjs/integrations/mongoose/index.js +122 -0
  135. package/build/cjs/integrations/mongoose/index.js.map +1 -0
  136. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js +101 -0
  137. package/build/cjs/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  138. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js +41 -0
  139. package/build/cjs/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  140. package/build/cjs/integrations/mysql.js +120 -0
  141. package/build/cjs/integrations/mysql.js.map +1 -0
  142. package/build/cjs/integrations/mysql2/index.js +104 -0
  143. package/build/cjs/integrations/mysql2/index.js.map +1 -0
  144. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js +74 -0
  145. package/build/cjs/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  146. package/build/cjs/integrations/openai.js +95 -0
  147. package/build/cjs/integrations/openai.js.map +1 -0
  148. package/build/cjs/integrations/postgres-js.js +212 -0
  149. package/build/cjs/integrations/postgres-js.js.map +1 -0
  150. package/build/cjs/integrations/postgres.js +185 -0
  151. package/build/cjs/integrations/postgres.js.map +1 -0
  152. package/build/cjs/integrations/prisma/global.js.map +1 -0
  153. package/build/cjs/integrations/prisma/index.js.map +1 -0
  154. package/build/cjs/integrations/prisma/tracing-helper.js +234 -0
  155. package/build/cjs/integrations/prisma/tracing-helper.js.map +1 -0
  156. package/build/cjs/integrations/redis/index.js +236 -0
  157. package/build/cjs/integrations/redis/index.js.map +1 -0
  158. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js +106 -0
  159. package/build/cjs/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  160. package/build/cjs/integrations/redis/redis-cache.js +135 -0
  161. package/build/cjs/integrations/redis/redis-cache.js.map +1 -0
  162. package/build/cjs/integrations/redis/redis-dc-subscriber.js +105 -0
  163. package/build/cjs/integrations/redis/redis-dc-subscriber.js.map +1 -0
  164. package/build/cjs/integrations/redis/redis-span-name.js +32 -0
  165. package/build/cjs/integrations/redis/redis-span-name.js.map +1 -0
  166. package/build/cjs/integrations/redis/redis-statement-serializer.js.map +1 -0
  167. package/build/cjs/integrations/tedious.js +169 -0
  168. package/build/cjs/integrations/tedious.js.map +1 -0
  169. package/build/cjs/integrations/vercel-ai/index.js +45 -0
  170. package/build/cjs/integrations/vercel-ai/index.js.map +1 -0
  171. package/build/cjs/integrations/vercel-ai/util.js.map +1 -0
  172. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js +441 -0
  173. package/build/cjs/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  174. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +399 -0
  175. package/build/cjs/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  176. package/build/cjs/opentelemetry.js +45 -0
  177. package/build/cjs/opentelemetry.js.map +1 -0
  178. package/build/cjs/orchestrion/bundler/bun.js +37 -0
  179. package/build/cjs/orchestrion/bundler/bun.js.map +1 -0
  180. package/build/cjs/orchestrion/bundler/esbuild.js +1 -1
  181. package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
  182. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js +19 -7
  183. package/build/cjs/orchestrion/bundler/moduleInjectedTransform.js.map +1 -1
  184. package/build/cjs/orchestrion/bundler/options.js +2 -2
  185. package/build/cjs/orchestrion/bundler/options.js.map +1 -1
  186. package/build/cjs/orchestrion/bundler/resolve.js +6 -2
  187. package/build/cjs/orchestrion/bundler/resolve.js.map +1 -1
  188. package/build/cjs/orchestrion/bundler/rollup.js +23 -7
  189. package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
  190. package/build/cjs/orchestrion/bundler/vite.js +14 -8
  191. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  192. package/build/cjs/orchestrion/bundler/webpack-loader.js +2 -2
  193. package/build/cjs/orchestrion/bundler/webpack-loader.js.map +1 -1
  194. package/build/cjs/orchestrion/bundler/webpack.js +5 -6
  195. package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
  196. package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
  197. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
  198. package/build/cjs/orchestrion/config/channel-integration-definitions.js +23 -6
  199. package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -1
  200. package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
  201. package/build/cjs/orchestrion/config/express.js.map +1 -1
  202. package/build/cjs/orchestrion/config/firebase.js.map +1 -1
  203. package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
  204. package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
  205. package/build/cjs/orchestrion/config/graphql.js +9 -9
  206. package/build/cjs/orchestrion/config/graphql.js.map +1 -1
  207. package/build/cjs/orchestrion/config/hapi.js +19 -1
  208. package/build/cjs/orchestrion/config/hapi.js.map +1 -1
  209. package/build/cjs/orchestrion/config/index.js +2 -3
  210. package/build/cjs/orchestrion/config/index.js.map +1 -1
  211. package/build/cjs/orchestrion/config/ioredis.js +2 -0
  212. package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
  213. package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
  214. package/build/cjs/orchestrion/config/knex.js.map +1 -1
  215. package/build/cjs/orchestrion/config/koa.js +13 -1
  216. package/build/cjs/orchestrion/config/koa.js.map +1 -1
  217. package/build/cjs/orchestrion/config/langchain.js.map +1 -1
  218. package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
  219. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
  220. package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
  221. package/build/cjs/orchestrion/config/mongoose.js +2 -0
  222. package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
  223. package/build/cjs/orchestrion/config/mysql.js.map +1 -1
  224. package/build/cjs/orchestrion/config/mysql2.js +2 -0
  225. package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
  226. package/build/cjs/orchestrion/config/nestjs.js +4 -4
  227. package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
  228. package/build/cjs/orchestrion/config/openai.js +4 -4
  229. package/build/cjs/orchestrion/config/openai.js.map +1 -1
  230. package/build/cjs/orchestrion/config/pg.js.map +1 -1
  231. package/build/cjs/orchestrion/config/postgres.js.map +1 -1
  232. package/build/cjs/orchestrion/config/redis.js +2 -0
  233. package/build/cjs/orchestrion/config/redis.js.map +1 -1
  234. package/build/cjs/orchestrion/config/registration-only.js +15 -0
  235. package/build/cjs/orchestrion/config/registration-only.js.map +1 -0
  236. package/build/cjs/orchestrion/config/remix.js.map +1 -1
  237. package/build/cjs/orchestrion/config/tedious.js.map +1 -1
  238. package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
  239. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
  240. package/build/cjs/orchestrion/detect.js +4 -7
  241. package/build/cjs/orchestrion/detect.js.map +1 -1
  242. package/build/cjs/orchestrion/instrumentation.js +8 -8
  243. package/build/cjs/orchestrion/instrumentation.js.map +1 -1
  244. package/build/cjs/tracing-channel.js +1 -1
  245. package/build/cjs/tracing-channel.js.map +1 -1
  246. package/build/cjs/utils/moduleInjected.js +18 -0
  247. package/build/cjs/utils/moduleInjected.js.map +1 -0
  248. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js +1 -1
  249. package/build/cjs/utils/setHttpServerSpanRouteAttribute.js.map +1 -1
  250. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +65 -0
  251. package/build/cjs/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  252. package/build/cjs/vendored/module-details-from-path/index.js +2 -3
  253. package/build/cjs/vendored/module-details-from-path/index.js.map +1 -1
  254. package/build/esm/ai/anthropic-ai/index.js +27 -56
  255. package/build/esm/ai/anthropic-ai/index.js.map +1 -1
  256. package/build/esm/ai/anthropic-ai/streaming.js +0 -6
  257. package/build/esm/ai/anthropic-ai/streaming.js.map +1 -1
  258. package/build/esm/ai/anthropic-ai/utils.js +4 -3
  259. package/build/esm/ai/anthropic-ai/utils.js.map +1 -1
  260. package/build/esm/ai/core/gen-ai-attributes.js +1 -4
  261. package/build/esm/ai/core/gen-ai-attributes.js.map +1 -1
  262. package/build/esm/ai/core/utils.js +8 -18
  263. package/build/esm/ai/core/utils.js.map +1 -1
  264. package/build/esm/ai/google-genai/index.js +24 -21
  265. package/build/esm/ai/google-genai/index.js.map +1 -1
  266. package/build/esm/ai/langchain/embeddings.js +9 -12
  267. package/build/esm/ai/langchain/embeddings.js.map +1 -1
  268. package/build/esm/ai/langchain/index.js +29 -40
  269. package/build/esm/ai/langchain/index.js.map +1 -1
  270. package/build/esm/ai/langgraph/index.js +4 -11
  271. package/build/esm/ai/langgraph/index.js.map +1 -1
  272. package/build/esm/ai/langgraph/utils.js +5 -11
  273. package/build/esm/ai/langgraph/utils.js.map +1 -1
  274. package/build/esm/ai/openai/index.js +10 -27
  275. package/build/esm/ai/openai/index.js.map +1 -1
  276. package/build/esm/ai/vercel-ai/index.js +2 -281
  277. package/build/esm/ai/vercel-ai/index.js.map +1 -1
  278. package/build/esm/ai/workers-ai/index.js +11 -6
  279. package/build/esm/ai/workers-ai/index.js.map +1 -1
  280. package/build/esm/ai/workers-ai/utils.js +7 -2
  281. package/build/esm/ai/workers-ai/utils.js.map +1 -1
  282. package/build/esm/index.js +39 -12
  283. package/build/esm/index.js.map +1 -1
  284. package/build/esm/index.no-diagnostic-channels.js +1 -2
  285. package/build/esm/index.no-diagnostic-channels.js.map +1 -1
  286. package/build/esm/integrations/amqplib.js +386 -0
  287. package/build/esm/integrations/amqplib.js.map +1 -0
  288. package/build/esm/integrations/anthropic.js +98 -0
  289. package/build/esm/integrations/anthropic.js.map +1 -0
  290. package/build/esm/integrations/aws-sdk/constants.js.map +1 -0
  291. package/build/esm/integrations/aws-sdk/index.js +139 -0
  292. package/build/esm/integrations/aws-sdk/index.js.map +1 -0
  293. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js +41 -0
  294. package/build/esm/integrations/aws-sdk/services/MessageAttributes.js.map +1 -0
  295. package/build/esm/integrations/aws-sdk/services/ServicesExtensions.js.map +1 -0
  296. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js +422 -0
  297. package/build/esm/integrations/aws-sdk/services/bedrock-runtime.js.map +1 -0
  298. package/build/esm/integrations/aws-sdk/services/dynamodb.js +128 -0
  299. package/build/esm/integrations/aws-sdk/services/dynamodb.js.map +1 -0
  300. package/build/esm/integrations/aws-sdk/services/kinesis.js.map +1 -0
  301. package/build/esm/integrations/aws-sdk/services/lambda.js +61 -0
  302. package/build/esm/integrations/aws-sdk/services/lambda.js.map +1 -0
  303. package/build/esm/integrations/aws-sdk/services/s3.js.map +1 -0
  304. package/build/esm/integrations/aws-sdk/services/secretsmanager.js.map +1 -0
  305. package/build/esm/integrations/aws-sdk/services/sns.js +77 -0
  306. package/build/esm/integrations/aws-sdk/services/sns.js.map +1 -0
  307. package/build/esm/integrations/aws-sdk/services/sqs.js +133 -0
  308. package/build/esm/integrations/aws-sdk/services/sqs.js.map +1 -0
  309. package/build/esm/integrations/aws-sdk/services/stepfunctions.js.map +1 -0
  310. package/build/esm/integrations/aws-sdk/utils.js.map +1 -0
  311. package/build/esm/integrations/dataloader.js +119 -0
  312. package/build/esm/integrations/dataloader.js.map +1 -0
  313. package/build/esm/integrations/express/error-handled.js +14 -0
  314. package/build/esm/integrations/express/error-handled.js.map +1 -0
  315. package/build/esm/integrations/express/error-handler.js +40 -0
  316. package/build/esm/integrations/express/error-handler.js.map +1 -0
  317. package/build/esm/integrations/express/index.js +22 -0
  318. package/build/esm/integrations/express/index.js.map +1 -0
  319. package/build/esm/integrations/express/instrumentation.js +197 -0
  320. package/build/esm/integrations/express/instrumentation.js.map +1 -0
  321. package/build/esm/integrations/express/route.js.map +1 -0
  322. package/build/esm/integrations/express/utils.js +10 -0
  323. package/build/esm/integrations/express/utils.js.map +1 -0
  324. package/build/esm/integrations/fastify/errors.js +33 -0
  325. package/build/esm/integrations/fastify/errors.js.map +1 -0
  326. package/build/esm/integrations/fastify/index.js +25 -0
  327. package/build/esm/integrations/fastify/index.js.map +1 -0
  328. package/build/esm/integrations/fastify/instrumentation.js +250 -0
  329. package/build/esm/integrations/fastify/instrumentation.js.map +1 -0
  330. package/build/esm/integrations/fastify/utils.js.map +1 -0
  331. package/build/esm/integrations/firebase/firestore.js +76 -0
  332. package/build/esm/integrations/firebase/firestore.js.map +1 -0
  333. package/build/esm/integrations/firebase/functions.js +67 -0
  334. package/build/esm/integrations/firebase/functions.js.map +1 -0
  335. package/build/esm/integrations/firebase/index.js +18 -0
  336. package/build/esm/integrations/firebase/index.js.map +1 -0
  337. package/build/esm/integrations/firebase/instrumentation.js +54 -0
  338. package/build/esm/integrations/firebase/instrumentation.js.map +1 -0
  339. package/build/esm/integrations/generic-pool.js +34 -0
  340. package/build/esm/integrations/generic-pool.js.map +1 -0
  341. package/build/esm/integrations/google-genai.js +97 -0
  342. package/build/esm/integrations/google-genai.js.map +1 -0
  343. package/build/esm/integrations/graphql/constants.js +20 -0
  344. package/build/esm/integrations/graphql/constants.js.map +1 -0
  345. package/build/esm/integrations/graphql/graphql-dc-subscriber.js +115 -0
  346. package/build/esm/integrations/graphql/graphql-dc-subscriber.js.map +1 -0
  347. package/build/esm/integrations/graphql/index.js +58 -0
  348. package/build/esm/integrations/graphql/index.js.map +1 -0
  349. package/build/esm/integrations/graphql/resolvers.js +170 -0
  350. package/build/esm/integrations/graphql/resolvers.js.map +1 -0
  351. package/build/esm/integrations/graphql/spans.js +108 -0
  352. package/build/esm/integrations/graphql/spans.js.map +1 -0
  353. package/build/esm/integrations/graphql/utils.js +93 -0
  354. package/build/esm/integrations/graphql/utils.js.map +1 -0
  355. package/build/esm/integrations/hapi/hapi-error-handler.js +44 -0
  356. package/build/esm/integrations/hapi/hapi-error-handler.js.map +1 -0
  357. package/build/esm/integrations/hapi/hapi-types.js.map +1 -0
  358. package/build/esm/integrations/hapi/hapi-utils.js +191 -0
  359. package/build/esm/integrations/hapi/hapi-utils.js.map +1 -0
  360. package/build/esm/integrations/hapi/index.js +71 -0
  361. package/build/esm/integrations/hapi/index.js.map +1 -0
  362. package/build/esm/integrations/index.js +61 -0
  363. package/build/esm/integrations/index.js.map +1 -0
  364. package/build/esm/integrations/kafkajs/consumer.js.map +1 -0
  365. package/build/esm/integrations/kafkajs/index.js +68 -0
  366. package/build/esm/integrations/kafkajs/index.js.map +1 -0
  367. package/build/esm/integrations/kafkajs/semconv.js.map +1 -0
  368. package/build/esm/integrations/kafkajs/spans.js +114 -0
  369. package/build/esm/integrations/kafkajs/spans.js.map +1 -0
  370. package/build/esm/integrations/knex.js +213 -0
  371. package/build/esm/integrations/knex.js.map +1 -0
  372. package/build/esm/integrations/koa/index.js +159 -0
  373. package/build/esm/integrations/koa/index.js.map +1 -0
  374. package/build/esm/integrations/koa/koa-error-handler.js +30 -0
  375. package/build/esm/integrations/koa/koa-error-handler.js.map +1 -0
  376. package/build/esm/integrations/langchain.js +66 -0
  377. package/build/esm/integrations/langchain.js.map +1 -0
  378. package/build/esm/integrations/langgraph.js +85 -0
  379. package/build/esm/integrations/langgraph.js.map +1 -0
  380. package/build/esm/integrations/lru-memoizer.js +27 -0
  381. package/build/esm/integrations/lru-memoizer.js.map +1 -0
  382. package/build/esm/integrations/mongodb/index.js +102 -0
  383. package/build/esm/integrations/mongodb/index.js.map +1 -0
  384. package/build/esm/integrations/mongodb/mongodb-span.js +127 -0
  385. package/build/esm/integrations/mongodb/mongodb-span.js.map +1 -0
  386. package/build/esm/integrations/mongoose/index.js +107 -0
  387. package/build/esm/integrations/mongoose/index.js.map +1 -0
  388. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js +93 -0
  389. package/build/esm/integrations/mongoose/mongoose-dc-subscriber.js.map +1 -0
  390. package/build/esm/integrations/mongoose/mongoose-legacy-span.js +39 -0
  391. package/build/esm/integrations/mongoose/mongoose-legacy-span.js.map +1 -0
  392. package/build/esm/integrations/mysql.js +105 -0
  393. package/build/esm/integrations/mysql.js.map +1 -0
  394. package/build/esm/integrations/mysql2/index.js +89 -0
  395. package/build/esm/integrations/mysql2/index.js.map +1 -0
  396. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js +68 -0
  397. package/build/esm/integrations/mysql2/mysql2-dc-subscriber.js.map +1 -0
  398. package/build/esm/integrations/openai.js +80 -0
  399. package/build/esm/integrations/openai.js.map +1 -0
  400. package/build/esm/integrations/postgres-js.js +197 -0
  401. package/build/esm/integrations/postgres-js.js.map +1 -0
  402. package/build/esm/integrations/postgres.js +170 -0
  403. package/build/esm/integrations/postgres.js.map +1 -0
  404. package/build/esm/integrations/prisma/global.js.map +1 -0
  405. package/build/esm/integrations/prisma/index.js.map +1 -0
  406. package/build/esm/integrations/prisma/tracing-helper.js +232 -0
  407. package/build/esm/integrations/prisma/tracing-helper.js.map +1 -0
  408. package/build/esm/integrations/redis/index.js +221 -0
  409. package/build/esm/integrations/redis/index.js.map +1 -0
  410. package/build/esm/integrations/redis/ioredis-channel-subscriber.js +90 -0
  411. package/build/esm/integrations/redis/ioredis-channel-subscriber.js.map +1 -0
  412. package/build/esm/integrations/redis/redis-cache.js +125 -0
  413. package/build/esm/integrations/redis/redis-cache.js.map +1 -0
  414. package/build/esm/integrations/redis/redis-dc-subscriber.js +98 -0
  415. package/build/esm/integrations/redis/redis-dc-subscriber.js.map +1 -0
  416. package/build/esm/integrations/redis/redis-span-name.js +30 -0
  417. package/build/esm/integrations/redis/redis-span-name.js.map +1 -0
  418. package/build/esm/integrations/redis/redis-statement-serializer.js.map +1 -0
  419. package/build/esm/integrations/tedious.js +154 -0
  420. package/build/esm/integrations/tedious.js.map +1 -0
  421. package/build/esm/integrations/vercel-ai/index.js +30 -0
  422. package/build/esm/integrations/vercel-ai/index.js.map +1 -0
  423. package/build/esm/integrations/vercel-ai/util.js.map +1 -0
  424. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js +433 -0
  425. package/build/esm/integrations/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -0
  426. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js +397 -0
  427. package/build/esm/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  428. package/build/esm/opentelemetry.js +42 -0
  429. package/build/esm/opentelemetry.js.map +1 -0
  430. package/build/esm/orchestrion/bundler/bun.js +35 -0
  431. package/build/esm/orchestrion/bundler/bun.js.map +1 -0
  432. package/build/esm/orchestrion/bundler/esbuild.js +2 -2
  433. package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
  434. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js +19 -7
  435. package/build/esm/orchestrion/bundler/moduleInjectedTransform.js.map +1 -1
  436. package/build/esm/orchestrion/bundler/options.js +2 -2
  437. package/build/esm/orchestrion/bundler/options.js.map +1 -1
  438. package/build/esm/orchestrion/bundler/resolve.js +3 -1
  439. package/build/esm/orchestrion/bundler/resolve.js.map +1 -1
  440. package/build/esm/orchestrion/bundler/rollup.js +25 -9
  441. package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
  442. package/build/esm/orchestrion/bundler/vite.js +15 -9
  443. package/build/esm/orchestrion/bundler/vite.js.map +1 -1
  444. package/build/esm/orchestrion/bundler/webpack-loader.js.map +1 -1
  445. package/build/esm/orchestrion/bundler/webpack.js +6 -7
  446. package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
  447. package/build/esm/orchestrion/config/amqplib.js.map +1 -1
  448. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
  449. package/build/esm/orchestrion/config/channel-integration-definitions.js +23 -6
  450. package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -1
  451. package/build/esm/orchestrion/config/dataloader.js.map +1 -1
  452. package/build/esm/orchestrion/config/express.js.map +1 -1
  453. package/build/esm/orchestrion/config/firebase.js.map +1 -1
  454. package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
  455. package/build/esm/orchestrion/config/google-genai.js.map +1 -1
  456. package/build/esm/orchestrion/config/graphql.js +9 -9
  457. package/build/esm/orchestrion/config/graphql.js.map +1 -1
  458. package/build/esm/orchestrion/config/hapi.js +19 -1
  459. package/build/esm/orchestrion/config/hapi.js.map +1 -1
  460. package/build/esm/orchestrion/config/index.js +2 -1
  461. package/build/esm/orchestrion/config/index.js.map +1 -1
  462. package/build/esm/orchestrion/config/ioredis.js +2 -0
  463. package/build/esm/orchestrion/config/ioredis.js.map +1 -1
  464. package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
  465. package/build/esm/orchestrion/config/knex.js.map +1 -1
  466. package/build/esm/orchestrion/config/koa.js +13 -1
  467. package/build/esm/orchestrion/config/koa.js.map +1 -1
  468. package/build/esm/orchestrion/config/langchain.js.map +1 -1
  469. package/build/esm/orchestrion/config/langgraph.js.map +1 -1
  470. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
  471. package/build/esm/orchestrion/config/mongodb.js.map +1 -1
  472. package/build/esm/orchestrion/config/mongoose.js +2 -0
  473. package/build/esm/orchestrion/config/mongoose.js.map +1 -1
  474. package/build/esm/orchestrion/config/mysql.js.map +1 -1
  475. package/build/esm/orchestrion/config/mysql2.js +2 -0
  476. package/build/esm/orchestrion/config/mysql2.js.map +1 -1
  477. package/build/esm/orchestrion/config/nestjs.js +4 -4
  478. package/build/esm/orchestrion/config/nestjs.js.map +1 -1
  479. package/build/esm/orchestrion/config/openai.js +4 -4
  480. package/build/esm/orchestrion/config/openai.js.map +1 -1
  481. package/build/esm/orchestrion/config/pg.js.map +1 -1
  482. package/build/esm/orchestrion/config/postgres.js.map +1 -1
  483. package/build/esm/orchestrion/config/redis.js +2 -0
  484. package/build/esm/orchestrion/config/redis.js.map +1 -1
  485. package/build/esm/orchestrion/config/registration-only.js +12 -0
  486. package/build/esm/orchestrion/config/registration-only.js.map +1 -0
  487. package/build/esm/orchestrion/config/remix.js.map +1 -1
  488. package/build/esm/orchestrion/config/tedious.js.map +1 -1
  489. package/build/esm/orchestrion/config/vercel-ai.js +4 -0
  490. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
  491. package/build/esm/orchestrion/detect.js +5 -7
  492. package/build/esm/orchestrion/detect.js.map +1 -1
  493. package/build/esm/orchestrion/instrumentation.js +8 -8
  494. package/build/esm/orchestrion/instrumentation.js.map +1 -1
  495. package/build/esm/package.json +1 -1
  496. package/build/esm/tracing-channel.js +1 -1
  497. package/build/esm/tracing-channel.js.map +1 -1
  498. package/build/esm/utils/moduleInjected.js +16 -0
  499. package/build/esm/utils/moduleInjected.js.map +1 -0
  500. package/build/esm/utils/setHttpServerSpanRouteAttribute.js +3 -3
  501. package/build/esm/utils/setHttpServerSpanRouteAttribute.js.map +1 -1
  502. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js +63 -0
  503. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/bun.js.map +1 -0
  504. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js +2 -2
  505. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/core-dC9TN3Ev.js.map +1 -1
  506. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js +2 -2
  507. package/build/esm/vendored/@apm-js-collab/code-transformer-bundler-plugins/dist/esm/webpack-loader-factory.js.map +1 -1
  508. package/build/esm/vendored/module-details-from-path/index.js +2 -2
  509. package/build/types/ai/anthropic-ai/index.d.ts.map +1 -1
  510. package/build/types/ai/anthropic-ai/streaming.d.ts.map +1 -1
  511. package/build/types/ai/anthropic-ai/utils.d.ts.map +1 -1
  512. package/build/types/ai/core/gen-ai-attributes.d.ts +0 -12
  513. package/build/types/ai/core/gen-ai-attributes.d.ts.map +1 -1
  514. package/build/types/ai/core/utils.d.ts +1 -1
  515. package/build/types/ai/core/utils.d.ts.map +1 -1
  516. package/build/types/ai/google-genai/index.d.ts +14 -0
  517. package/build/types/ai/google-genai/index.d.ts.map +1 -1
  518. package/build/types/ai/index.d.ts +0 -1
  519. package/build/types/ai/index.d.ts.map +1 -1
  520. package/build/types/ai/langchain/embeddings.d.ts +0 -1
  521. package/build/types/ai/langchain/embeddings.d.ts.map +1 -1
  522. package/build/types/ai/langchain/index.d.ts.map +1 -1
  523. package/build/types/ai/langgraph/index.d.ts.map +1 -1
  524. package/build/types/ai/langgraph/utils.d.ts.map +1 -1
  525. package/build/types/ai/openai/index.d.ts.map +1 -1
  526. package/build/types/ai/vercel-ai/index.d.ts +2 -17
  527. package/build/types/ai/vercel-ai/index.d.ts.map +1 -1
  528. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts +1 -207
  529. package/build/types/ai/vercel-ai/vercel-ai-attributes.d.ts.map +1 -1
  530. package/build/types/ai/workers-ai/index.d.ts.map +1 -1
  531. package/build/types/ai/workers-ai/utils.d.ts +3 -1
  532. package/build/types/ai/workers-ai/utils.d.ts.map +1 -1
  533. package/build/types/exports.d.ts +1 -1
  534. package/build/types/exports.d.ts.map +1 -1
  535. package/build/types/index.d.ts +41 -16
  536. package/build/types/index.d.ts.map +1 -1
  537. package/build/types/integrations/amqplib.d.ts +20 -0
  538. package/build/types/integrations/amqplib.d.ts.map +1 -0
  539. package/build/types/integrations/anthropic.d.ts +9 -0
  540. package/build/types/integrations/anthropic.d.ts.map +1 -0
  541. package/build/types/integrations/aws-sdk/aws-sdk.types.d.ts.map +1 -0
  542. package/build/types/integrations/aws-sdk/constants.d.ts +16 -0
  543. package/build/types/integrations/aws-sdk/constants.d.ts.map +1 -0
  544. package/build/types/integrations/aws-sdk/index.d.ts +12 -0
  545. package/build/types/integrations/aws-sdk/index.d.ts.map +1 -0
  546. package/build/types/integrations/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
  547. package/build/types/integrations/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
  548. package/build/types/integrations/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
  549. package/build/types/integrations/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
  550. package/build/types/integrations/aws-sdk/services/dynamodb.d.ts.map +1 -0
  551. package/build/types/integrations/aws-sdk/services/index.d.ts.map +1 -0
  552. package/build/types/integrations/aws-sdk/services/kinesis.d.ts.map +1 -0
  553. package/build/types/integrations/aws-sdk/services/lambda.d.ts.map +1 -0
  554. package/build/types/integrations/aws-sdk/services/s3.d.ts.map +1 -0
  555. package/build/types/integrations/aws-sdk/services/secretsmanager.d.ts.map +1 -0
  556. package/build/types/integrations/aws-sdk/services/sns.d.ts.map +1 -0
  557. package/build/types/integrations/aws-sdk/services/sqs.d.ts.map +1 -0
  558. package/build/types/integrations/aws-sdk/services/stepfunctions.d.ts.map +1 -0
  559. package/build/types/integrations/aws-sdk/types.d.ts.map +1 -0
  560. package/build/types/integrations/aws-sdk/utils.d.ts.map +1 -0
  561. package/build/types/integrations/dataloader.d.ts +11 -0
  562. package/build/types/integrations/dataloader.d.ts.map +1 -0
  563. package/build/types/integrations/express/error-handled.d.ts +10 -0
  564. package/build/types/integrations/express/error-handled.d.ts.map +1 -0
  565. package/build/types/integrations/express/error-handler.d.ts +25 -0
  566. package/build/types/integrations/express/error-handler.d.ts.map +1 -0
  567. package/build/types/integrations/express/index.d.ts +17 -0
  568. package/build/types/integrations/express/index.d.ts.map +1 -0
  569. package/build/types/integrations/express/instrumentation.d.ts +23 -0
  570. package/build/types/integrations/express/instrumentation.d.ts.map +1 -0
  571. package/build/types/integrations/express/route.d.ts.map +1 -0
  572. package/build/types/integrations/express/types.d.ts +107 -0
  573. package/build/types/integrations/express/types.d.ts.map +1 -0
  574. package/build/types/integrations/express/utils.d.ts +8 -0
  575. package/build/types/integrations/express/utils.d.ts.map +1 -0
  576. package/build/types/integrations/fastify/errors.d.ts +17 -0
  577. package/build/types/integrations/fastify/errors.d.ts.map +1 -0
  578. package/build/types/integrations/fastify/index.d.ts +57 -0
  579. package/build/types/integrations/fastify/index.d.ts.map +1 -0
  580. package/build/types/integrations/fastify/instrumentation.d.ts +6 -0
  581. package/build/types/integrations/fastify/instrumentation.d.ts.map +1 -0
  582. package/build/types/integrations/fastify/types.d.ts +31 -0
  583. package/build/types/integrations/fastify/types.d.ts.map +1 -0
  584. package/build/types/integrations/fastify/utils.d.ts.map +1 -0
  585. package/build/types/integrations/firebase/firestore-types.d.ts.map +1 -0
  586. package/build/types/integrations/firebase/firestore.d.ts.map +1 -0
  587. package/build/types/integrations/firebase/functions.d.ts.map +1 -0
  588. package/build/types/integrations/firebase/index.d.ts +12 -0
  589. package/build/types/integrations/firebase/index.d.ts.map +1 -0
  590. package/build/types/integrations/firebase/instrumentation.d.ts.map +1 -0
  591. package/build/types/integrations/generic-pool.d.ts +10 -0
  592. package/build/types/integrations/generic-pool.d.ts.map +1 -0
  593. package/build/types/integrations/google-genai.d.ts +11 -0
  594. package/build/types/integrations/google-genai.d.ts.map +1 -0
  595. package/build/types/integrations/graphql/constants.d.ts +18 -0
  596. package/build/types/integrations/graphql/constants.d.ts.map +1 -0
  597. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts +98 -0
  598. package/build/types/integrations/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  599. package/build/types/integrations/graphql/graphql-types.d.ts.map +1 -0
  600. package/build/types/integrations/graphql/index.d.ts +9 -0
  601. package/build/types/integrations/graphql/index.d.ts.map +1 -0
  602. package/build/types/integrations/graphql/resolvers.d.ts.map +1 -0
  603. package/build/types/integrations/graphql/spans.d.ts.map +1 -0
  604. package/build/types/integrations/graphql/types.d.ts +41 -0
  605. package/build/types/integrations/graphql/types.d.ts.map +1 -0
  606. package/build/types/integrations/graphql/utils.d.ts +19 -0
  607. package/build/types/integrations/graphql/utils.d.ts.map +1 -0
  608. package/build/types/integrations/hapi/hapi-error-handler.d.ts +21 -0
  609. package/build/types/integrations/hapi/hapi-error-handler.d.ts.map +1 -0
  610. package/build/types/integrations/hapi/hapi-types.d.ts +99 -0
  611. package/build/types/integrations/hapi/hapi-types.d.ts.map +1 -0
  612. package/build/types/integrations/hapi/hapi-utils.d.ts +34 -0
  613. package/build/types/integrations/hapi/hapi-utils.d.ts.map +1 -0
  614. package/build/types/integrations/hapi/index.d.ts +35 -0
  615. package/build/types/integrations/hapi/index.d.ts.map +1 -0
  616. package/build/types/integrations/index.d.ts +6 -0
  617. package/build/types/integrations/index.d.ts.map +1 -0
  618. package/build/types/integrations/kafkajs/consumer.d.ts.map +1 -0
  619. package/build/types/integrations/kafkajs/index.d.ts +16 -0
  620. package/build/types/integrations/kafkajs/index.d.ts.map +1 -0
  621. package/build/types/integrations/kafkajs/semconv.d.ts.map +1 -0
  622. package/build/types/integrations/kafkajs/spans.d.ts +38 -0
  623. package/build/types/integrations/kafkajs/spans.d.ts.map +1 -0
  624. package/build/types/integrations/kafkajs/types.d.ts.map +1 -0
  625. package/build/types/integrations/knex.d.ts +11 -0
  626. package/build/types/integrations/knex.d.ts.map +1 -0
  627. package/build/types/integrations/koa/index.d.ts +14 -0
  628. package/build/types/integrations/koa/index.d.ts.map +1 -0
  629. package/build/types/integrations/koa/koa-error-handler.d.ts +33 -0
  630. package/build/types/integrations/koa/koa-error-handler.d.ts.map +1 -0
  631. package/build/types/integrations/langchain.d.ts +9 -0
  632. package/build/types/integrations/langchain.d.ts.map +1 -0
  633. package/build/types/integrations/langgraph.d.ts +9 -0
  634. package/build/types/integrations/langgraph.d.ts.map +1 -0
  635. package/build/types/integrations/lru-memoizer.d.ts +10 -0
  636. package/build/types/integrations/lru-memoizer.d.ts.map +1 -0
  637. package/build/types/integrations/mongodb/index.d.ts +12 -0
  638. package/build/types/integrations/mongodb/index.d.ts.map +1 -0
  639. package/build/types/integrations/mongodb/mongodb-span.d.ts +65 -0
  640. package/build/types/integrations/mongodb/mongodb-span.d.ts.map +1 -0
  641. package/build/types/integrations/mongoose/index.d.ts +15 -0
  642. package/build/types/integrations/mongoose/index.d.ts.map +1 -0
  643. package/build/types/integrations/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
  644. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts +30 -0
  645. package/build/types/integrations/mongoose/mongoose-legacy-span.d.ts.map +1 -0
  646. package/build/types/integrations/mysql.d.ts +12 -0
  647. package/build/types/integrations/mysql.d.ts.map +1 -0
  648. package/build/types/integrations/mysql2/index.d.ts +17 -0
  649. package/build/types/integrations/mysql2/index.d.ts.map +1 -0
  650. package/build/types/integrations/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  651. package/build/types/integrations/openai.d.ts +9 -0
  652. package/build/types/integrations/openai.d.ts.map +1 -0
  653. package/build/types/integrations/postgres-js.d.ts +27 -0
  654. package/build/types/integrations/postgres-js.d.ts.map +1 -0
  655. package/build/types/integrations/postgres.d.ts +15 -0
  656. package/build/types/integrations/postgres.d.ts.map +1 -0
  657. package/build/types/integrations/prisma/global.d.ts.map +1 -0
  658. package/build/types/integrations/prisma/index.d.ts.map +1 -0
  659. package/build/types/integrations/prisma/tracing-helper.d.ts.map +1 -0
  660. package/build/types/integrations/prisma/types.d.ts.map +1 -0
  661. package/build/types/integrations/redis/index.d.ts +25 -0
  662. package/build/types/integrations/redis/index.d.ts.map +1 -0
  663. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts +30 -0
  664. package/build/types/integrations/redis/ioredis-channel-subscriber.d.ts.map +1 -0
  665. package/build/types/integrations/redis/redis-cache.d.ts +45 -0
  666. package/build/types/integrations/redis/redis-cache.d.ts.map +1 -0
  667. package/build/types/integrations/redis/redis-dc-subscriber.d.ts +81 -0
  668. package/build/types/integrations/redis/redis-dc-subscriber.d.ts.map +1 -0
  669. package/build/types/integrations/redis/redis-span-name.d.ts +24 -0
  670. package/build/types/integrations/redis/redis-span-name.d.ts.map +1 -0
  671. package/build/types/integrations/redis/redis-statement-serializer.d.ts.map +1 -0
  672. package/build/types/integrations/tedious.d.ts +11 -0
  673. package/build/types/integrations/tedious.d.ts.map +1 -0
  674. package/build/types/integrations/vercel-ai/index.d.ts +12 -0
  675. package/build/types/integrations/vercel-ai/index.d.ts.map +1 -0
  676. package/build/types/integrations/vercel-ai/util.d.ts.map +1 -0
  677. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts +69 -0
  678. package/build/types/integrations/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -0
  679. package/build/types/integrations/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  680. package/build/types/opentelemetry.d.ts +49 -0
  681. package/build/types/opentelemetry.d.ts.map +1 -0
  682. package/build/types/orchestrion/bundler/bun.d.ts +21 -0
  683. package/build/types/orchestrion/bundler/bun.d.ts.map +1 -0
  684. package/build/types/orchestrion/bundler/esbuild.d.ts +1 -0
  685. package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
  686. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts +8 -4
  687. package/build/types/orchestrion/bundler/moduleInjectedTransform.d.ts.map +1 -1
  688. package/build/types/orchestrion/bundler/options.d.ts +10 -4
  689. package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
  690. package/build/types/orchestrion/bundler/resolve.d.ts +11 -0
  691. package/build/types/orchestrion/bundler/resolve.d.ts.map +1 -1
  692. package/build/types/orchestrion/bundler/rollup.d.ts +1 -0
  693. package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
  694. package/build/types/orchestrion/bundler/vite.d.ts +1 -0
  695. package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
  696. package/build/types/orchestrion/bundler/webpack-loader.d.ts +7 -7
  697. package/build/types/orchestrion/bundler/webpack.d.ts +1 -1
  698. package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
  699. package/build/types/orchestrion/channels.d.ts +3 -0
  700. package/build/types/orchestrion/channels.d.ts.map +1 -1
  701. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
  702. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
  703. package/build/types/orchestrion/config/channel-integration-definitions.d.ts +40 -22
  704. package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -1
  705. package/build/types/orchestrion/config/express.d.ts.map +1 -1
  706. package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
  707. package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
  708. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
  709. package/build/types/orchestrion/config/graphql.d.ts +2 -2
  710. package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
  711. package/build/types/orchestrion/config/hapi.d.ts +2 -0
  712. package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
  713. package/build/types/orchestrion/config/index.d.ts +9 -2
  714. package/build/types/orchestrion/config/index.d.ts.map +1 -1
  715. package/build/types/orchestrion/config/ioredis.d.ts +1 -1
  716. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
  717. package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
  718. package/build/types/orchestrion/config/knex.d.ts +1 -1
  719. package/build/types/orchestrion/config/knex.d.ts.map +1 -1
  720. package/build/types/orchestrion/config/koa.d.ts +1 -0
  721. package/build/types/orchestrion/config/koa.d.ts.map +1 -1
  722. package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
  723. package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
  724. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
  725. package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
  726. package/build/types/orchestrion/config/mongoose.d.ts +2 -23
  727. package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
  728. package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
  729. package/build/types/orchestrion/config/mysql2.d.ts +2 -13
  730. package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
  731. package/build/types/orchestrion/config/nestjs.d.ts +1 -1
  732. package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
  733. package/build/types/orchestrion/config/openai.d.ts.map +1 -1
  734. package/build/types/orchestrion/config/pg.d.ts +1 -1
  735. package/build/types/orchestrion/config/pg.d.ts.map +1 -1
  736. package/build/types/orchestrion/config/postgres.d.ts +1 -1
  737. package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
  738. package/build/types/orchestrion/config/redis.d.ts +2 -27
  739. package/build/types/orchestrion/config/redis.d.ts.map +1 -1
  740. package/build/types/orchestrion/config/registration-only.d.ts +22 -0
  741. package/build/types/orchestrion/config/registration-only.d.ts.map +1 -0
  742. package/build/types/orchestrion/config/remix.d.ts +1 -1
  743. package/build/types/orchestrion/config/remix.d.ts.map +1 -1
  744. package/build/types/orchestrion/config/tedious.d.ts +1 -1
  745. package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
  746. package/build/types/orchestrion/config/vercel-ai.d.ts +1 -1
  747. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
  748. package/build/types/orchestrion/detect.d.ts +5 -15
  749. package/build/types/orchestrion/detect.d.ts.map +1 -1
  750. package/build/types/utils/moduleInjected.d.ts +30 -0
  751. package/build/types/utils/moduleInjected.d.ts.map +1 -0
  752. package/build/types/utils/setHttpServerSpanRouteAttribute.d.ts.map +1 -1
  753. package/package.json +12 -26
  754. package/build/cjs/_virtual/node.js +0 -6
  755. package/build/cjs/_virtual/node.js.map +0 -1
  756. package/build/cjs/ai/vercel-ai/constants.js +0 -21
  757. package/build/cjs/ai/vercel-ai/constants.js.map +0 -1
  758. package/build/cjs/ai/vercel-ai/utils.js +0 -171
  759. package/build/cjs/ai/vercel-ai/utils.js.map +0 -1
  760. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js +0 -50
  761. package/build/cjs/ai/vercel-ai/vercel-ai-attributes.js.map +0 -1
  762. package/build/cjs/graphql/graphql-dc-subscriber.js +0 -123
  763. package/build/cjs/graphql/graphql-dc-subscriber.js.map +0 -1
  764. package/build/cjs/graphql/index.js +0 -36
  765. package/build/cjs/graphql/index.js.map +0 -1
  766. package/build/cjs/graphql/utils.js +0 -94
  767. package/build/cjs/graphql/utils.js.map +0 -1
  768. package/build/cjs/integrations/tracing-channel/amqplib.js +0 -431
  769. package/build/cjs/integrations/tracing-channel/amqplib.js.map +0 -1
  770. package/build/cjs/integrations/tracing-channel/anthropic.js +0 -111
  771. package/build/cjs/integrations/tracing-channel/anthropic.js.map +0 -1
  772. package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  773. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +0 -154
  774. package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  775. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -46
  776. package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  777. package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  778. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -423
  779. package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  780. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -129
  781. package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  782. package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  783. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -63
  784. package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  785. package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  786. package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  787. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +0 -62
  788. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  789. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -116
  790. package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  791. package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  792. package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  793. package/build/cjs/integrations/tracing-channel/dataloader.js +0 -126
  794. package/build/cjs/integrations/tracing-channel/dataloader.js.map +0 -1
  795. package/build/cjs/integrations/tracing-channel/express/index.js +0 -37
  796. package/build/cjs/integrations/tracing-channel/express/index.js.map +0 -1
  797. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +0 -163
  798. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  799. package/build/cjs/integrations/tracing-channel/express/route.js.map +0 -1
  800. package/build/cjs/integrations/tracing-channel/fastify/errors.js +0 -55
  801. package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +0 -1
  802. package/build/cjs/integrations/tracing-channel/fastify/index.js +0 -32
  803. package/build/cjs/integrations/tracing-channel/fastify/index.js.map +0 -1
  804. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +0 -294
  805. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  806. package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +0 -1
  807. package/build/cjs/integrations/tracing-channel/firebase/firestore.js +0 -91
  808. package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  809. package/build/cjs/integrations/tracing-channel/firebase/functions.js +0 -69
  810. package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +0 -1
  811. package/build/cjs/integrations/tracing-channel/firebase/index.js +0 -20
  812. package/build/cjs/integrations/tracing-channel/firebase/index.js.map +0 -1
  813. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +0 -69
  814. package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  815. package/build/cjs/integrations/tracing-channel/generic-pool.js +0 -49
  816. package/build/cjs/integrations/tracing-channel/generic-pool.js.map +0 -1
  817. package/build/cjs/integrations/tracing-channel/google-genai.js +0 -110
  818. package/build/cjs/integrations/tracing-channel/google-genai.js.map +0 -1
  819. package/build/cjs/integrations/tracing-channel/graphql/constants.js +0 -26
  820. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +0 -1
  821. package/build/cjs/integrations/tracing-channel/graphql/index.js +0 -70
  822. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +0 -1
  823. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +0 -168
  824. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  825. package/build/cjs/integrations/tracing-channel/graphql/spans.js +0 -102
  826. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +0 -1
  827. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +0 -1
  828. package/build/cjs/integrations/tracing-channel/hapi-utils.js +0 -169
  829. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +0 -1
  830. package/build/cjs/integrations/tracing-channel/hapi.js +0 -67
  831. package/build/cjs/integrations/tracing-channel/hapi.js.map +0 -1
  832. package/build/cjs/integrations/tracing-channel/ioredis.js +0 -110
  833. package/build/cjs/integrations/tracing-channel/ioredis.js.map +0 -1
  834. package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  835. package/build/cjs/integrations/tracing-channel/kafkajs/index.js +0 -83
  836. package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  837. package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  838. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +0 -120
  839. package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  840. package/build/cjs/integrations/tracing-channel/knex.js +0 -202
  841. package/build/cjs/integrations/tracing-channel/knex.js.map +0 -1
  842. package/build/cjs/integrations/tracing-channel/koa.js +0 -149
  843. package/build/cjs/integrations/tracing-channel/koa.js.map +0 -1
  844. package/build/cjs/integrations/tracing-channel/langchain.js +0 -82
  845. package/build/cjs/integrations/tracing-channel/langchain.js.map +0 -1
  846. package/build/cjs/integrations/tracing-channel/langgraph.js +0 -100
  847. package/build/cjs/integrations/tracing-channel/langgraph.js.map +0 -1
  848. package/build/cjs/integrations/tracing-channel/lru-memoizer.js +0 -42
  849. package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  850. package/build/cjs/integrations/tracing-channel/mongodb.js +0 -117
  851. package/build/cjs/integrations/tracing-channel/mongodb.js.map +0 -1
  852. package/build/cjs/integrations/tracing-channel/mongoose.js +0 -122
  853. package/build/cjs/integrations/tracing-channel/mongoose.js.map +0 -1
  854. package/build/cjs/integrations/tracing-channel/mysql.js +0 -119
  855. package/build/cjs/integrations/tracing-channel/mysql.js.map +0 -1
  856. package/build/cjs/integrations/tracing-channel/mysql2.js +0 -100
  857. package/build/cjs/integrations/tracing-channel/mysql2.js.map +0 -1
  858. package/build/cjs/integrations/tracing-channel/openai.js +0 -93
  859. package/build/cjs/integrations/tracing-channel/openai.js.map +0 -1
  860. package/build/cjs/integrations/tracing-channel/postgres-js.js +0 -203
  861. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +0 -1
  862. package/build/cjs/integrations/tracing-channel/postgres.js +0 -186
  863. package/build/cjs/integrations/tracing-channel/postgres.js.map +0 -1
  864. package/build/cjs/integrations/tracing-channel/redis.js +0 -239
  865. package/build/cjs/integrations/tracing-channel/redis.js.map +0 -1
  866. package/build/cjs/integrations/tracing-channel/tedious.js +0 -158
  867. package/build/cjs/integrations/tracing-channel/tedious.js.map +0 -1
  868. package/build/cjs/integrations/tracing-channel/vercel-ai.js +0 -38
  869. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +0 -1
  870. package/build/cjs/mongodb/mongodb-span.js +0 -130
  871. package/build/cjs/mongodb/mongodb-span.js.map +0 -1
  872. package/build/cjs/mongoose/index.js +0 -36
  873. package/build/cjs/mongoose/index.js.map +0 -1
  874. package/build/cjs/mongoose/mongoose-dc-subscriber.js +0 -97
  875. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +0 -1
  876. package/build/cjs/mongoose/mongoose-legacy-span.js +0 -41
  877. package/build/cjs/mongoose/mongoose-legacy-span.js.map +0 -1
  878. package/build/cjs/mysql2/index.js +0 -36
  879. package/build/cjs/mysql2/index.js.map +0 -1
  880. package/build/cjs/mysql2/mysql2-dc-subscriber.js +0 -68
  881. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +0 -1
  882. package/build/cjs/orchestrion/index.js +0 -95
  883. package/build/cjs/orchestrion/index.js.map +0 -1
  884. package/build/cjs/orchestrion/moduleInjected.js +0 -21
  885. package/build/cjs/orchestrion/moduleInjected.js.map +0 -1
  886. package/build/cjs/orchestrion/runtime/hook.js +0 -17
  887. package/build/cjs/orchestrion/runtime/hook.js.map +0 -1
  888. package/build/cjs/orchestrion/runtime/register.js +0 -80
  889. package/build/cjs/orchestrion/runtime/register.js.map +0 -1
  890. package/build/cjs/otlp.js +0 -45
  891. package/build/cjs/otlp.js.map +0 -1
  892. package/build/cjs/prisma/global.js.map +0 -1
  893. package/build/cjs/prisma/index.js.map +0 -1
  894. package/build/cjs/prisma/tracing-helper.js +0 -222
  895. package/build/cjs/prisma/tracing-helper.js.map +0 -1
  896. package/build/cjs/redis/index.js +0 -36
  897. package/build/cjs/redis/index.js.map +0 -1
  898. package/build/cjs/redis/redis-dc-subscriber.js +0 -103
  899. package/build/cjs/redis/redis-dc-subscriber.js.map +0 -1
  900. package/build/cjs/redis/redis-statement-serializer.js.map +0 -1
  901. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -166
  902. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  903. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js +0 -88
  904. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  905. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -15
  906. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  907. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -30
  908. package/build/cjs/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  909. package/build/cjs/vendored/debug/src/common.js +0 -178
  910. package/build/cjs/vendored/debug/src/common.js.map +0 -1
  911. package/build/cjs/vendored/debug/src/node.js +0 -186
  912. package/build/cjs/vendored/debug/src/node.js.map +0 -1
  913. package/build/cjs/vendored/has-flag/index.js +0 -11
  914. package/build/cjs/vendored/has-flag/index.js.map +0 -1
  915. package/build/cjs/vendored/ms/index.js +0 -115
  916. package/build/cjs/vendored/ms/index.js.map +0 -1
  917. package/build/cjs/vendored/supports-color/index.js +0 -104
  918. package/build/cjs/vendored/supports-color/index.js.map +0 -1
  919. package/build/cjs/vercel-ai/index.js +0 -36
  920. package/build/cjs/vercel-ai/index.js.map +0 -1
  921. package/build/cjs/vercel-ai/util.js.map +0 -1
  922. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +0 -434
  923. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  924. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -399
  925. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  926. package/build/esm/_virtual/node.js +0 -4
  927. package/build/esm/_virtual/node.js.map +0 -1
  928. package/build/esm/ai/vercel-ai/constants.js +0 -18
  929. package/build/esm/ai/vercel-ai/constants.js.map +0 -1
  930. package/build/esm/ai/vercel-ai/utils.js +0 -164
  931. package/build/esm/ai/vercel-ai/utils.js.map +0 -1
  932. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js +0 -26
  933. package/build/esm/ai/vercel-ai/vercel-ai-attributes.js.map +0 -1
  934. package/build/esm/graphql/graphql-dc-subscriber.js +0 -116
  935. package/build/esm/graphql/graphql-dc-subscriber.js.map +0 -1
  936. package/build/esm/graphql/index.js +0 -21
  937. package/build/esm/graphql/index.js.map +0 -1
  938. package/build/esm/graphql/utils.js +0 -89
  939. package/build/esm/graphql/utils.js.map +0 -1
  940. package/build/esm/integrations/tracing-channel/amqplib.js +0 -416
  941. package/build/esm/integrations/tracing-channel/amqplib.js.map +0 -1
  942. package/build/esm/integrations/tracing-channel/anthropic.js +0 -96
  943. package/build/esm/integrations/tracing-channel/anthropic.js.map +0 -1
  944. package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +0 -1
  945. package/build/esm/integrations/tracing-channel/aws-sdk/index.js +0 -139
  946. package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +0 -1
  947. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +0 -41
  948. package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +0 -1
  949. package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +0 -1
  950. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +0 -421
  951. package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +0 -1
  952. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +0 -127
  953. package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +0 -1
  954. package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +0 -1
  955. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +0 -61
  956. package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +0 -1
  957. package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +0 -1
  958. package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +0 -1
  959. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +0 -60
  960. package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +0 -1
  961. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +0 -114
  962. package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +0 -1
  963. package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +0 -1
  964. package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +0 -1
  965. package/build/esm/integrations/tracing-channel/dataloader.js +0 -111
  966. package/build/esm/integrations/tracing-channel/dataloader.js.map +0 -1
  967. package/build/esm/integrations/tracing-channel/express/index.js +0 -22
  968. package/build/esm/integrations/tracing-channel/express/index.js.map +0 -1
  969. package/build/esm/integrations/tracing-channel/express/instrumentation.js +0 -161
  970. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +0 -1
  971. package/build/esm/integrations/tracing-channel/express/route.js.map +0 -1
  972. package/build/esm/integrations/tracing-channel/fastify/errors.js +0 -39
  973. package/build/esm/integrations/tracing-channel/fastify/errors.js.map +0 -1
  974. package/build/esm/integrations/tracing-channel/fastify/index.js +0 -28
  975. package/build/esm/integrations/tracing-channel/fastify/index.js.map +0 -1
  976. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +0 -279
  977. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +0 -1
  978. package/build/esm/integrations/tracing-channel/fastify/utils.js.map +0 -1
  979. package/build/esm/integrations/tracing-channel/firebase/firestore.js +0 -75
  980. package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +0 -1
  981. package/build/esm/integrations/tracing-channel/firebase/functions.js +0 -67
  982. package/build/esm/integrations/tracing-channel/firebase/functions.js.map +0 -1
  983. package/build/esm/integrations/tracing-channel/firebase/index.js +0 -18
  984. package/build/esm/integrations/tracing-channel/firebase/index.js.map +0 -1
  985. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +0 -54
  986. package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +0 -1
  987. package/build/esm/integrations/tracing-channel/generic-pool.js +0 -34
  988. package/build/esm/integrations/tracing-channel/generic-pool.js.map +0 -1
  989. package/build/esm/integrations/tracing-channel/google-genai.js +0 -95
  990. package/build/esm/integrations/tracing-channel/google-genai.js.map +0 -1
  991. package/build/esm/integrations/tracing-channel/graphql/constants.js +0 -14
  992. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +0 -1
  993. package/build/esm/integrations/tracing-channel/graphql/index.js +0 -54
  994. package/build/esm/integrations/tracing-channel/graphql/index.js.map +0 -1
  995. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +0 -164
  996. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +0 -1
  997. package/build/esm/integrations/tracing-channel/graphql/spans.js +0 -96
  998. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +0 -1
  999. package/build/esm/integrations/tracing-channel/hapi-types.js.map +0 -1
  1000. package/build/esm/integrations/tracing-channel/hapi-utils.js +0 -164
  1001. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +0 -1
  1002. package/build/esm/integrations/tracing-channel/hapi.js +0 -52
  1003. package/build/esm/integrations/tracing-channel/hapi.js.map +0 -1
  1004. package/build/esm/integrations/tracing-channel/ioredis.js +0 -94
  1005. package/build/esm/integrations/tracing-channel/ioredis.js.map +0 -1
  1006. package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +0 -1
  1007. package/build/esm/integrations/tracing-channel/kafkajs/index.js +0 -68
  1008. package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +0 -1
  1009. package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +0 -1
  1010. package/build/esm/integrations/tracing-channel/kafkajs/spans.js +0 -113
  1011. package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +0 -1
  1012. package/build/esm/integrations/tracing-channel/knex.js +0 -187
  1013. package/build/esm/integrations/tracing-channel/knex.js.map +0 -1
  1014. package/build/esm/integrations/tracing-channel/koa.js +0 -134
  1015. package/build/esm/integrations/tracing-channel/koa.js.map +0 -1
  1016. package/build/esm/integrations/tracing-channel/langchain.js +0 -67
  1017. package/build/esm/integrations/tracing-channel/langchain.js.map +0 -1
  1018. package/build/esm/integrations/tracing-channel/langgraph.js +0 -85
  1019. package/build/esm/integrations/tracing-channel/langgraph.js.map +0 -1
  1020. package/build/esm/integrations/tracing-channel/lru-memoizer.js +0 -27
  1021. package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +0 -1
  1022. package/build/esm/integrations/tracing-channel/mongodb.js +0 -102
  1023. package/build/esm/integrations/tracing-channel/mongodb.js.map +0 -1
  1024. package/build/esm/integrations/tracing-channel/mongoose.js +0 -107
  1025. package/build/esm/integrations/tracing-channel/mongoose.js.map +0 -1
  1026. package/build/esm/integrations/tracing-channel/mysql.js +0 -104
  1027. package/build/esm/integrations/tracing-channel/mysql.js.map +0 -1
  1028. package/build/esm/integrations/tracing-channel/mysql2.js +0 -85
  1029. package/build/esm/integrations/tracing-channel/mysql2.js.map +0 -1
  1030. package/build/esm/integrations/tracing-channel/openai.js +0 -78
  1031. package/build/esm/integrations/tracing-channel/openai.js.map +0 -1
  1032. package/build/esm/integrations/tracing-channel/postgres-js.js +0 -188
  1033. package/build/esm/integrations/tracing-channel/postgres-js.js.map +0 -1
  1034. package/build/esm/integrations/tracing-channel/postgres.js +0 -171
  1035. package/build/esm/integrations/tracing-channel/postgres.js.map +0 -1
  1036. package/build/esm/integrations/tracing-channel/redis.js +0 -224
  1037. package/build/esm/integrations/tracing-channel/redis.js.map +0 -1
  1038. package/build/esm/integrations/tracing-channel/tedious.js +0 -143
  1039. package/build/esm/integrations/tracing-channel/tedious.js.map +0 -1
  1040. package/build/esm/integrations/tracing-channel/vercel-ai.js +0 -23
  1041. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +0 -1
  1042. package/build/esm/mongodb/mongodb-span.js +0 -123
  1043. package/build/esm/mongodb/mongodb-span.js.map +0 -1
  1044. package/build/esm/mongoose/index.js +0 -21
  1045. package/build/esm/mongoose/index.js.map +0 -1
  1046. package/build/esm/mongoose/mongoose-dc-subscriber.js +0 -89
  1047. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +0 -1
  1048. package/build/esm/mongoose/mongoose-legacy-span.js +0 -39
  1049. package/build/esm/mongoose/mongoose-legacy-span.js.map +0 -1
  1050. package/build/esm/mysql2/index.js +0 -21
  1051. package/build/esm/mysql2/index.js.map +0 -1
  1052. package/build/esm/mysql2/mysql2-dc-subscriber.js +0 -62
  1053. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +0 -1
  1054. package/build/esm/orchestrion/index.js +0 -61
  1055. package/build/esm/orchestrion/index.js.map +0 -1
  1056. package/build/esm/orchestrion/moduleInjected.js +0 -19
  1057. package/build/esm/orchestrion/moduleInjected.js.map +0 -1
  1058. package/build/esm/orchestrion/runtime/hook.js +0 -8
  1059. package/build/esm/orchestrion/runtime/hook.js.map +0 -1
  1060. package/build/esm/orchestrion/runtime/register.js +0 -65
  1061. package/build/esm/orchestrion/runtime/register.js.map +0 -1
  1062. package/build/esm/otlp.js +0 -42
  1063. package/build/esm/otlp.js.map +0 -1
  1064. package/build/esm/prisma/global.js.map +0 -1
  1065. package/build/esm/prisma/index.js.map +0 -1
  1066. package/build/esm/prisma/tracing-helper.js +0 -220
  1067. package/build/esm/prisma/tracing-helper.js.map +0 -1
  1068. package/build/esm/redis/index.js +0 -21
  1069. package/build/esm/redis/index.js.map +0 -1
  1070. package/build/esm/redis/redis-dc-subscriber.js +0 -96
  1071. package/build/esm/redis/redis-dc-subscriber.js.map +0 -1
  1072. package/build/esm/redis/redis-statement-serializer.js.map +0 -1
  1073. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js +0 -157
  1074. package/build/esm/vendored/@apm-js-collab/tracing-hooks/hook.js.map +0 -1
  1075. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js +0 -86
  1076. package/build/esm/vendored/@apm-js-collab/tracing-hooks/index.js.map +0 -1
  1077. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js +0 -13
  1078. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/diagnostics.js.map +0 -1
  1079. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js +0 -27
  1080. package/build/esm/vendored/@apm-js-collab/tracing-hooks/lib/get-package-version.js.map +0 -1
  1081. package/build/esm/vendored/debug/src/common.js +0 -176
  1082. package/build/esm/vendored/debug/src/common.js.map +0 -1
  1083. package/build/esm/vendored/debug/src/node.js +0 -183
  1084. package/build/esm/vendored/debug/src/node.js.map +0 -1
  1085. package/build/esm/vendored/has-flag/index.js +0 -9
  1086. package/build/esm/vendored/has-flag/index.js.map +0 -1
  1087. package/build/esm/vendored/ms/index.js +0 -113
  1088. package/build/esm/vendored/ms/index.js.map +0 -1
  1089. package/build/esm/vendored/supports-color/index.js +0 -102
  1090. package/build/esm/vendored/supports-color/index.js.map +0 -1
  1091. package/build/esm/vercel-ai/index.js +0 -21
  1092. package/build/esm/vercel-ai/index.js.map +0 -1
  1093. package/build/esm/vercel-ai/util.js.map +0 -1
  1094. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +0 -426
  1095. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +0 -1
  1096. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +0 -397
  1097. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +0 -1
  1098. package/build/orchestrion/import-hook.mjs +0 -19
  1099. package/build/types/ai/vercel-ai/constants.d.ts +0 -4
  1100. package/build/types/ai/vercel-ai/constants.d.ts.map +0 -1
  1101. package/build/types/ai/vercel-ai/types.d.ts +0 -5
  1102. package/build/types/ai/vercel-ai/types.d.ts.map +0 -1
  1103. package/build/types/ai/vercel-ai/utils.d.ts +0 -39
  1104. package/build/types/ai/vercel-ai/utils.d.ts.map +0 -1
  1105. package/build/types/graphql/graphql-dc-subscriber.d.ts +0 -94
  1106. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +0 -1
  1107. package/build/types/graphql/index.d.ts +0 -12
  1108. package/build/types/graphql/index.d.ts.map +0 -1
  1109. package/build/types/graphql/utils.d.ts +0 -34
  1110. package/build/types/graphql/utils.d.ts.map +0 -1
  1111. package/build/types/integrations/tracing-channel/amqplib.d.ts +0 -11
  1112. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +0 -1
  1113. package/build/types/integrations/tracing-channel/anthropic.d.ts +0 -9
  1114. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +0 -1
  1115. package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +0 -1
  1116. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +0 -16
  1117. package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +0 -1
  1118. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +0 -12
  1119. package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +0 -1
  1120. package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +0 -1
  1121. package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +0 -1
  1122. package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +0 -1
  1123. package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +0 -1
  1124. package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +0 -1
  1125. package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +0 -1
  1126. package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +0 -1
  1127. package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +0 -1
  1128. package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +0 -1
  1129. package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +0 -1
  1130. package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +0 -1
  1131. package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +0 -1
  1132. package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +0 -1
  1133. package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +0 -1
  1134. package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +0 -1
  1135. package/build/types/integrations/tracing-channel/dataloader.d.ts +0 -11
  1136. package/build/types/integrations/tracing-channel/dataloader.d.ts.map +0 -1
  1137. package/build/types/integrations/tracing-channel/express/index.d.ts +0 -17
  1138. package/build/types/integrations/tracing-channel/express/index.d.ts.map +0 -1
  1139. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +0 -4
  1140. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +0 -1
  1141. package/build/types/integrations/tracing-channel/express/route.d.ts.map +0 -1
  1142. package/build/types/integrations/tracing-channel/express/types.d.ts +0 -64
  1143. package/build/types/integrations/tracing-channel/express/types.d.ts.map +0 -1
  1144. package/build/types/integrations/tracing-channel/fastify/errors.d.ts +0 -12
  1145. package/build/types/integrations/tracing-channel/fastify/errors.d.ts.map +0 -1
  1146. package/build/types/integrations/tracing-channel/fastify/index.d.ts +0 -66
  1147. package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +0 -1
  1148. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts +0 -10
  1149. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +0 -1
  1150. package/build/types/integrations/tracing-channel/fastify/types.d.ts +0 -32
  1151. package/build/types/integrations/tracing-channel/fastify/types.d.ts.map +0 -1
  1152. package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +0 -1
  1153. package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +0 -1
  1154. package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +0 -1
  1155. package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +0 -1
  1156. package/build/types/integrations/tracing-channel/firebase/index.d.ts +0 -12
  1157. package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +0 -1
  1158. package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +0 -1
  1159. package/build/types/integrations/tracing-channel/generic-pool.d.ts +0 -10
  1160. package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +0 -1
  1161. package/build/types/integrations/tracing-channel/google-genai.d.ts +0 -11
  1162. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +0 -1
  1163. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +0 -12
  1164. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +0 -1
  1165. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +0 -1
  1166. package/build/types/integrations/tracing-channel/graphql/index.d.ts +0 -27
  1167. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +0 -1
  1168. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +0 -1
  1169. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +0 -1
  1170. package/build/types/integrations/tracing-channel/graphql/types.d.ts +0 -25
  1171. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +0 -1
  1172. package/build/types/integrations/tracing-channel/hapi-types.d.ts +0 -53
  1173. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +0 -1
  1174. package/build/types/integrations/tracing-channel/hapi-utils.d.ts +0 -25
  1175. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +0 -1
  1176. package/build/types/integrations/tracing-channel/hapi.d.ts +0 -9
  1177. package/build/types/integrations/tracing-channel/hapi.d.ts.map +0 -1
  1178. package/build/types/integrations/tracing-channel/ioredis.d.ts +0 -37
  1179. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +0 -1
  1180. package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +0 -1
  1181. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +0 -16
  1182. package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +0 -1
  1183. package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +0 -1
  1184. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +0 -38
  1185. package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +0 -1
  1186. package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +0 -1
  1187. package/build/types/integrations/tracing-channel/knex.d.ts +0 -11
  1188. package/build/types/integrations/tracing-channel/knex.d.ts.map +0 -1
  1189. package/build/types/integrations/tracing-channel/koa.d.ts +0 -14
  1190. package/build/types/integrations/tracing-channel/koa.d.ts.map +0 -1
  1191. package/build/types/integrations/tracing-channel/langchain.d.ts +0 -9
  1192. package/build/types/integrations/tracing-channel/langchain.d.ts.map +0 -1
  1193. package/build/types/integrations/tracing-channel/langgraph.d.ts +0 -9
  1194. package/build/types/integrations/tracing-channel/langgraph.d.ts.map +0 -1
  1195. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts +0 -10
  1196. package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +0 -1
  1197. package/build/types/integrations/tracing-channel/mongodb.d.ts +0 -12
  1198. package/build/types/integrations/tracing-channel/mongodb.d.ts.map +0 -1
  1199. package/build/types/integrations/tracing-channel/mongoose.d.ts +0 -15
  1200. package/build/types/integrations/tracing-channel/mongoose.d.ts.map +0 -1
  1201. package/build/types/integrations/tracing-channel/mysql.d.ts +0 -12
  1202. package/build/types/integrations/tracing-channel/mysql.d.ts.map +0 -1
  1203. package/build/types/integrations/tracing-channel/mysql2.d.ts +0 -17
  1204. package/build/types/integrations/tracing-channel/mysql2.d.ts.map +0 -1
  1205. package/build/types/integrations/tracing-channel/openai.d.ts +0 -9
  1206. package/build/types/integrations/tracing-channel/openai.d.ts.map +0 -1
  1207. package/build/types/integrations/tracing-channel/postgres-js.d.ts +0 -26
  1208. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +0 -1
  1209. package/build/types/integrations/tracing-channel/postgres.d.ts +0 -15
  1210. package/build/types/integrations/tracing-channel/postgres.d.ts.map +0 -1
  1211. package/build/types/integrations/tracing-channel/redis.d.ts +0 -16
  1212. package/build/types/integrations/tracing-channel/redis.d.ts.map +0 -1
  1213. package/build/types/integrations/tracing-channel/tedious.d.ts +0 -11
  1214. package/build/types/integrations/tracing-channel/tedious.d.ts.map +0 -1
  1215. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +0 -9
  1216. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +0 -1
  1217. package/build/types/mongodb/mongodb-span.d.ts +0 -66
  1218. package/build/types/mongodb/mongodb-span.d.ts.map +0 -1
  1219. package/build/types/mongoose/index.d.ts +0 -13
  1220. package/build/types/mongoose/index.d.ts.map +0 -1
  1221. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +0 -1
  1222. package/build/types/mongoose/mongoose-legacy-span.d.ts +0 -28
  1223. package/build/types/mongoose/mongoose-legacy-span.d.ts.map +0 -1
  1224. package/build/types/mysql2/index.d.ts +0 -11
  1225. package/build/types/mysql2/index.d.ts.map +0 -1
  1226. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +0 -1
  1227. package/build/types/orchestrion/index.d.ts +0 -130
  1228. package/build/types/orchestrion/index.d.ts.map +0 -1
  1229. package/build/types/orchestrion/moduleInjected.d.ts +0 -25
  1230. package/build/types/orchestrion/moduleInjected.d.ts.map +0 -1
  1231. package/build/types/orchestrion/runtime/register.d.ts +0 -14
  1232. package/build/types/orchestrion/runtime/register.d.ts.map +0 -1
  1233. package/build/types/otlp.d.ts +0 -49
  1234. package/build/types/otlp.d.ts.map +0 -1
  1235. package/build/types/prisma/global.d.ts.map +0 -1
  1236. package/build/types/prisma/index.d.ts.map +0 -1
  1237. package/build/types/prisma/tracing-helper.d.ts.map +0 -1
  1238. package/build/types/prisma/types.d.ts.map +0 -1
  1239. package/build/types/redis/index.d.ts +0 -18
  1240. package/build/types/redis/index.d.ts.map +0 -1
  1241. package/build/types/redis/redis-dc-subscriber.d.ts +0 -89
  1242. package/build/types/redis/redis-dc-subscriber.d.ts.map +0 -1
  1243. package/build/types/redis/redis-statement-serializer.d.ts.map +0 -1
  1244. package/build/types/vercel-ai/index.d.ts +0 -10
  1245. package/build/types/vercel-ai/index.d.ts.map +0 -1
  1246. package/build/types/vercel-ai/util.d.ts.map +0 -1
  1247. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +0 -69
  1248. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +0 -1
  1249. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +0 -1
  1250. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/constants.js +0 -0
  1251. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1252. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.js +0 -0
  1253. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.js +0 -0
  1254. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.js +0 -0
  1255. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.js +0 -0
  1256. /package/build/cjs/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1257. /package/build/cjs/integrations/{tracing-channel/express → express}/route.js +0 -0
  1258. /package/build/cjs/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1259. /package/build/cjs/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1260. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1261. /package/build/cjs/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1262. /package/build/cjs/{prisma → integrations/prisma}/global.js +0 -0
  1263. /package/build/cjs/{prisma → integrations/prisma}/index.js +0 -0
  1264. /package/build/cjs/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1265. /package/build/cjs/{vercel-ai → integrations/vercel-ai}/util.js +0 -0
  1266. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/constants.js +0 -0
  1267. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.js +0 -0
  1268. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.js +0 -0
  1269. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.js +0 -0
  1270. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.js +0 -0
  1271. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.js +0 -0
  1272. /package/build/esm/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.js +0 -0
  1273. /package/build/esm/integrations/{tracing-channel/express → express}/route.js +0 -0
  1274. /package/build/esm/integrations/{tracing-channel/fastify → fastify}/utils.js +0 -0
  1275. /package/build/esm/integrations/{tracing-channel → hapi}/hapi-types.js +0 -0
  1276. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.js +0 -0
  1277. /package/build/esm/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.js +0 -0
  1278. /package/build/esm/{prisma → integrations/prisma}/global.js +0 -0
  1279. /package/build/esm/{prisma → integrations/prisma}/index.js +0 -0
  1280. /package/build/esm/{redis → integrations/redis}/redis-statement-serializer.js +0 -0
  1281. /package/build/esm/{vercel-ai → integrations/vercel-ai}/util.js +0 -0
  1282. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/aws-sdk.types.d.ts +0 -0
  1283. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/MessageAttributes.d.ts +0 -0
  1284. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServiceExtension.d.ts +0 -0
  1285. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/ServicesExtensions.d.ts +0 -0
  1286. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/bedrock-runtime.d.ts +0 -0
  1287. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/dynamodb.d.ts +0 -0
  1288. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/index.d.ts +0 -0
  1289. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/kinesis.d.ts +0 -0
  1290. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/lambda.d.ts +0 -0
  1291. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/s3.d.ts +0 -0
  1292. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/secretsmanager.d.ts +0 -0
  1293. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sns.d.ts +0 -0
  1294. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/sqs.d.ts +0 -0
  1295. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/services/stepfunctions.d.ts +0 -0
  1296. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/types.d.ts +0 -0
  1297. /package/build/types/integrations/{tracing-channel/aws-sdk → aws-sdk}/utils.d.ts +0 -0
  1298. /package/build/types/integrations/{tracing-channel/express → express}/route.d.ts +0 -0
  1299. /package/build/types/integrations/{tracing-channel/fastify → fastify}/utils.d.ts +0 -0
  1300. /package/build/types/integrations/{tracing-channel/firebase → firebase}/firestore-types.d.ts +0 -0
  1301. /package/build/types/integrations/{tracing-channel/firebase → firebase}/firestore.d.ts +0 -0
  1302. /package/build/types/integrations/{tracing-channel/firebase → firebase}/functions.d.ts +0 -0
  1303. /package/build/types/integrations/{tracing-channel/firebase → firebase}/instrumentation.d.ts +0 -0
  1304. /package/build/types/integrations/{tracing-channel/graphql → graphql}/graphql-types.d.ts +0 -0
  1305. /package/build/types/integrations/{tracing-channel/graphql → graphql}/resolvers.d.ts +0 -0
  1306. /package/build/types/integrations/{tracing-channel/graphql → graphql}/spans.d.ts +0 -0
  1307. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/consumer.d.ts +0 -0
  1308. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/semconv.d.ts +0 -0
  1309. /package/build/types/integrations/{tracing-channel/kafkajs → kafkajs}/types.d.ts +0 -0
  1310. /package/build/types/{mongoose → integrations/mongoose}/mongoose-dc-subscriber.d.ts +0 -0
  1311. /package/build/types/{mysql2 → integrations/mysql2}/mysql2-dc-subscriber.d.ts +0 -0
  1312. /package/build/types/{prisma → integrations/prisma}/global.d.ts +0 -0
  1313. /package/build/types/{prisma → integrations/prisma}/index.d.ts +0 -0
  1314. /package/build/types/{prisma → integrations/prisma}/tracing-helper.d.ts +0 -0
  1315. /package/build/types/{prisma → integrations/prisma}/types.d.ts +0 -0
  1316. /package/build/types/{redis → integrations/redis}/redis-statement-serializer.d.ts +0 -0
  1317. /package/build/types/{vercel-ai → integrations/vercel-ai}/util.d.ts +0 -0
  1318. /package/build/types/{vercel-ai → integrations/vercel-ai}/vercel-ai-orchestrion-subscriber.d.ts +0 -0
@@ -1,94 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const attributes = require('@sentry/conventions/attributes');
4
- const core = require('@sentry/core');
5
-
6
- const ORIGINAL_DESCRIPTION_ATTRIBUTE = "original-description";
7
- const REDACTED_LITERAL_KINDS = /* @__PURE__ */ new Set(["Int", "Float", "String", "BlockString"]);
8
- function renameRootSpanWithOperation(span, operationType, operationName) {
9
- const rootSpan = core.getRootSpan(span);
10
- if (rootSpan === span) {
11
- return;
12
- }
13
- const rootSpanJson = core.spanToJSON(rootSpan);
14
- const newOperation = operationName ? `${operationType} ${operationName}` : operationType;
15
- const existingOperations = rootSpanJson.attributes[attributes.SENTRY_GRAPHQL_OPERATION];
16
- let operations;
17
- if (Array.isArray(existingOperations)) {
18
- operations = [...existingOperations, newOperation];
19
- } else if (typeof existingOperations === "string") {
20
- operations = [existingOperations, newOperation];
21
- } else {
22
- operations = newOperation;
23
- }
24
- rootSpan.setAttribute(attributes.SENTRY_GRAPHQL_OPERATION, operations);
25
- const originalDescription = rootSpanJson.attributes[ORIGINAL_DESCRIPTION_ATTRIBUTE] ?? rootSpanJson.name;
26
- if (!rootSpanJson.attributes[ORIGINAL_DESCRIPTION_ATTRIBUTE]) {
27
- rootSpan.setAttribute(ORIGINAL_DESCRIPTION_ATTRIBUTE, originalDescription);
28
- }
29
- const source = rootSpanJson.attributes[core.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];
30
- rootSpan.updateName(`${originalDescription} (${getGraphqlOperationNamesFromAttribute(operations)})`);
31
- rootSpan.setAttribute(core.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, source);
32
- }
33
- function getGraphqlOperationNamesFromAttribute(attr) {
34
- if (Array.isArray(attr)) {
35
- const sorted = attr.slice().sort();
36
- if (sorted.length <= 5) {
37
- return sorted.join(", ");
38
- }
39
- return `${sorted.slice(0, 5).join(", ")}, +${sorted.length - 5}`;
40
- }
41
- return attr;
42
- }
43
- function getOperationSpanName(operationType, operationName, fallbackName) {
44
- if (operationType && operationName) {
45
- return `${operationType} ${operationName}`;
46
- }
47
- if (operationType) {
48
- return operationType;
49
- }
50
- return fallbackName;
51
- }
52
- function hasResultErrors(result) {
53
- if (core.isObjectLike(result) && "errors" in result) {
54
- const errors = result.errors;
55
- return Array.isArray(errors) && errors.length > 0;
56
- }
57
- return false;
58
- }
59
- function redactGraphqlDocument(document) {
60
- const loc = document?.loc;
61
- const body = loc?.source?.body;
62
- if (typeof body !== "string" || !loc?.startToken) {
63
- return void 0;
64
- }
65
- try {
66
- const ranges = [];
67
- for (let token = loc.startToken; token; token = token.next) {
68
- if (REDACTED_LITERAL_KINDS.has(token.kind)) {
69
- ranges.push({ start: token.start, end: token.end, kind: token.kind });
70
- }
71
- }
72
- let out = body;
73
- for (let i = ranges.length - 1; i >= 0; i--) {
74
- const { start, end, kind } = ranges[i];
75
- const replacement = kind === "String" || kind === "BlockString" ? '"*"' : "*";
76
- out = out.slice(0, start) + replacement + out.slice(end);
77
- }
78
- return out;
79
- } catch {
80
- return void 0;
81
- }
82
- }
83
- function collectGraphqlDocument(document) {
84
- if (core.getClient()?.getDataCollectionOptions().graphQL.document !== true) {
85
- return void 0;
86
- }
87
- return redactGraphqlDocument(document);
88
- }
89
-
90
- exports.collectGraphqlDocument = collectGraphqlDocument;
91
- exports.getOperationSpanName = getOperationSpanName;
92
- exports.hasResultErrors = hasResultErrors;
93
- exports.renameRootSpanWithOperation = renameRootSpanWithOperation;
94
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/graphql/utils.ts"],"sourcesContent":["import { SENTRY_GRAPHQL_OPERATION } from '@sentry/conventions/attributes';\nimport type { Span, SpanAttributeValue } from '@sentry/core';\nimport { getClient, isObjectLike, getRootSpan, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';\n\n// Same key the OTel path uses, so renames stay consistent across both.\nconst ORIGINAL_DESCRIPTION_ATTRIBUTE = 'original-description';\n\n// graphql-js token kinds whose values may carry user data (literal arguments). We\n// replace them in the serialized document so raw inline values can never reach\n// `graphql.document`. Mirrors the legacy OTel instrumentation's redaction set.\nconst REDACTED_LITERAL_KINDS = new Set(['Int', 'Float', 'String', 'BlockString']);\n\n/** Minimal shape of a graphql-js lexer token, enough to locate literal spans for redaction. */\ninterface GraphqlToken {\n kind: string;\n start: number;\n end: number;\n next?: GraphqlToken | null;\n}\n\n/** Minimal shape of a parsed graphql-js `DocumentNode`, enough to read its source and tokens. */\nexport interface GraphqlDocumentNode {\n loc?: {\n startToken?: GraphqlToken;\n source?: { body?: string };\n };\n}\n\n/**\n * Rename the enclosing root span to include the operation name(s), e.g. `GET /graphql (query GetUser)`.\n */\nexport function renameRootSpanWithOperation(span: Span, operationType: string, operationName?: string): void {\n const rootSpan = getRootSpan(span);\n // Nothing to rename if the operation span is itself the root (graphql ran outside any span).\n if (rootSpan === span) {\n return;\n }\n\n const rootSpanJson = spanToJSON(rootSpan);\n\n const newOperation = operationName ? `${operationType} ${operationName}` : operationType;\n\n // A single operation is stored as a string, multiple as an array.\n const existingOperations = rootSpanJson.attributes[SENTRY_GRAPHQL_OPERATION];\n let operations: string | string[];\n if (Array.isArray(existingOperations)) {\n operations = [...(existingOperations as string[]), newOperation];\n } else if (typeof existingOperations === 'string') {\n operations = [existingOperations, newOperation];\n } else {\n operations = newOperation;\n }\n rootSpan.setAttribute(SENTRY_GRAPHQL_OPERATION, operations);\n\n // Keep the pre-rename name so repeated renames don't compound.\n const originalDescription =\n (rootSpanJson.attributes[ORIGINAL_DESCRIPTION_ATTRIBUTE] as string | undefined) ?? rootSpanJson.name;\n if (!rootSpanJson.attributes[ORIGINAL_DESCRIPTION_ATTRIBUTE]) {\n rootSpan.setAttribute(ORIGINAL_DESCRIPTION_ATTRIBUTE, originalDescription);\n }\n\n // `updateName` stamps `source: 'custom'`, so re-set the original source afterwards to preserve it.\n const source = rootSpanJson.attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n rootSpan.updateName(`${originalDescription} (${getGraphqlOperationNamesFromAttribute(operations)})`);\n rootSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, source as SpanAttributeValue);\n}\n\n/** Format the accumulated operations for the root span name: up to 5 sorted names, then `+N`. */\nfunction getGraphqlOperationNamesFromAttribute(attr: string | string[]): string {\n if (Array.isArray(attr)) {\n // oxlint-disable-next-line typescript/require-array-sort-compare\n const sorted = attr.slice().sort();\n if (sorted.length <= 5) {\n return sorted.join(', ');\n }\n\n return `${sorted.slice(0, 5).join(', ')}, +${sorted.length - 5}`;\n }\n\n return attr;\n}\n\n/**\n * Span name follows the GraphQL semantic conventions: `<operation.type> <operation.name>` when both\n * are available, `<operation.type>` when only the type is, otherwise a static fallback.\n */\nexport function getOperationSpanName(\n operationType: string | undefined,\n operationName: string | undefined,\n fallbackName: string,\n): string {\n if (operationType && operationName) {\n return `${operationType} ${operationName}`;\n }\n if (operationType) {\n return operationType;\n }\n\n return fallbackName;\n}\n\n/** Whether a graphql execution result carries GraphQL errors (returned on `result.errors`). */\nexport function hasResultErrors(result: unknown): boolean {\n if (isObjectLike(result) && 'errors' in result) {\n const errors = (result as { errors?: unknown }).errors;\n\n return Array.isArray(errors) && errors.length > 0;\n }\n\n return false;\n}\n\n/**\n * Serialize a parsed document into `graphql.document` while redacting every literal argument value:\n * the original source text is preserved verbatim except that string/number literal spans are\n * replaced (`\"foo\"` -> `\"*\"`, `42` -> `*`). graphql does not sanitize its channel payload, so this\n * prevents raw inline values (potential PII) from leaving the process. Variable values are never\n * included. Returns `undefined` (rather than throwing) on anything it cannot serialize.\n */\nfunction redactGraphqlDocument(document: GraphqlDocumentNode | undefined): string | undefined {\n const loc = document?.loc;\n const body = loc?.source?.body;\n if (typeof body !== 'string' || !loc?.startToken) {\n return undefined;\n }\n\n try {\n // Collect literal token spans, then splice them out back-to-front so earlier offsets stay valid.\n const ranges: Array<{ start: number; end: number; kind: string }> = [];\n for (let token: GraphqlToken | null | undefined = loc.startToken; token; token = token.next) {\n if (REDACTED_LITERAL_KINDS.has(token.kind)) {\n ranges.push({ start: token.start, end: token.end, kind: token.kind });\n }\n }\n\n let out = body;\n // Reverse index loop (not `for...of`) so we splice back-to-front; `i` is bounded by the loop, so\n // `ranges[i]` is always present and the `!` just satisfies `noUncheckedIndexedAccess`.\n for (let i = ranges.length - 1; i >= 0; i--) {\n const { start, end, kind } = ranges[i]!;\n const replacement = kind === 'String' || kind === 'BlockString' ? '\"*\"' : '*';\n out = out.slice(0, start) + replacement + out.slice(end);\n }\n\n return out;\n } catch {\n return undefined;\n }\n}\n\n/**\n * Returns the redacted document if `dataCollection.graphQL.document` is enabled, `undefined` otherwise.\n */\nexport function collectGraphqlDocument(document: GraphqlDocumentNode | undefined): string | undefined {\n if (getClient()?.getDataCollectionOptions().graphQL.document !== true) {\n return undefined;\n }\n return redactGraphqlDocument(document);\n}\n"],"names":["getRootSpan","spanToJSON","SENTRY_GRAPHQL_OPERATION","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","isObjectLike","getClient"],"mappings":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CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAuB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA+D;AACpG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAIC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,GAAU,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAyB,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM;AACrE,CAAA,CAAA,CAAA,CAAA,OAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CAAA,CACT;AACA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAsB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA;AACvC;;;;;"}
@@ -1,431 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const diagnosticsChannel = require('node:diagnostics_channel');
4
- const core = require('@sentry/core');
5
- const attributes = require('@sentry/conventions/attributes');
6
- const op = require('@sentry/conventions/op');
7
- const amqplib = require('../../orchestrion/config/amqplib.js');
8
- const instrumentation = require('../../orchestrion/instrumentation.js');
9
- const channels = require('../../orchestrion/channels.js');
10
- const tracingChannel = require('../../tracing-channel.js');
11
-
12
- function _interopNamespaceDefault(e) {
13
- const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
14
- if (e) {
15
- for (const k in e) {
16
- n[k] = e[k];
17
- }
18
- }
19
- n.default = e;
20
- return n;
21
- }
22
-
23
- const diagnosticsChannel__namespace = /*#__PURE__*/_interopNamespaceDefault(diagnosticsChannel);
24
-
25
- const INTEGRATION_NAME = "Amqplib";
26
- const PUBLISHER_ORIGIN = "auto.amqplib.publisher";
27
- const CONSUMER_ORIGIN = "auto.amqplib.consumer";
28
- const ATTR_MESSAGING_OPERATION = "messaging.operation";
29
- const ATTR_MESSAGING_DESTINATION = "messaging.destination";
30
- const ATTR_MESSAGING_DESTINATION_KIND = "messaging.destination_kind";
31
- const ATTR_MESSAGING_RABBITMQ_ROUTING_KEY = "messaging.rabbitmq.routing_key";
32
- const ATTR_MESSAGING_PROTOCOL = "messaging.protocol";
33
- const ATTR_MESSAGING_PROTOCOL_VERSION_LEGACY = "messaging.protocol_version";
34
- const ATTR_MESSAGING_URL = "messaging.url";
35
- const ATTR_MESSAGING_MESSAGE_ID = "messaging.message_id";
36
- const ATTR_MESSAGING_CONVERSATION_ID_LEGACY = "messaging.conversation_id";
37
- const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = "messaging.rabbitmq.destination.routing_key";
38
- const ATTR_MESSAGING_CONVERSATION_ID = "messaging.message.conversation_id";
39
- const MESSAGING_DESTINATION_KIND_VALUE_TOPIC = "topic";
40
- const MESSAGING_OPERATION_VALUE_PROCESS = "process";
41
- const MESSAGING_OPERATION_VALUE_SEND = "send";
42
- const CONSUME_TIMEOUT_MS = 1e3 * 60;
43
- const END_OP = {
44
- Ack: "ack",
45
- AckAll: "ackAll",
46
- Reject: "reject",
47
- Nack: "nack",
48
- NackAll: "nackAll",
49
- ChannelClosed: "channel closed",
50
- ChannelError: "channel error",
51
- InstrumentationTimeout: "instrumentation timeout"
52
- };
53
- const MESSAGE_STORED_SPAN = /* @__PURE__ */ Symbol("sentry.amqplib.message.stored-span");
54
- const CHANNEL_SPANS_NOT_ENDED = /* @__PURE__ */ Symbol("sentry.amqplib.channel.spans-not-ended");
55
- const CHANNEL_CONSUME_TIMEOUT_TIMER = /* @__PURE__ */ Symbol("sentry.amqplib.channel.consume-timeout-timer");
56
- const CHANNEL_CONSUMER_INFO = /* @__PURE__ */ Symbol("sentry.amqplib.channel.consumer-info");
57
- const CHANNEL_IS_CONFIRM_PUBLISHING = /* @__PURE__ */ Symbol("sentry.amqplib.channel.is-confirm-publishing");
58
- const CONNECTION_ATTRIBUTES = /* @__PURE__ */ Symbol("sentry.amqplib.connection.attributes");
59
- const NOOP = () => {
60
- };
61
- const _amqplibIntegration = (() => {
62
- return {
63
- name: INTEGRATION_NAME,
64
- setup(client) {
65
- instrumentation.invokeOrchestrionInstrumentation(client, amqplib.amqplibModuleNames, instrumentAmqplib, []);
66
- }
67
- };
68
- });
69
- function instrumentAmqplib() {
70
- subscribeConnect();
71
- subscribePublish();
72
- subscribeConfirmPublish();
73
- subscribeConsume();
74
- subscribeDispatch();
75
- subscribeSettle();
76
- }
77
- function subscribePublish() {
78
- tracingChannel.bindTracingChannelToSpan(diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_PUBLISH), (data) => {
79
- if (data.self?.[CHANNEL_IS_CONFIRM_PUBLISHING]) {
80
- return void 0;
81
- }
82
- return startPublishSpan(data);
83
- });
84
- }
85
- function subscribeConfirmPublish() {
86
- const channel = diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_CONFIRM_PUBLISH);
87
- tracingChannel.bindTracingChannelToSpan(channel, (data) => {
88
- if (data.self) {
89
- data.self[CHANNEL_IS_CONFIRM_PUBLISHING] = true;
90
- }
91
- return startPublishSpan(data);
92
- });
93
- channel.end.subscribe((message) => {
94
- const self = message.self;
95
- if (self) {
96
- self[CHANNEL_IS_CONFIRM_PUBLISHING] = false;
97
- }
98
- });
99
- }
100
- function subscribeConsume() {
101
- const channel = diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_CONSUME);
102
- channel.start.subscribe(NOOP);
103
- channel.asyncEnd.subscribe((message) => {
104
- const data = message;
105
- const consumerChannel = data.self;
106
- const result = data.result;
107
- const consumerTag = result?.consumerTag;
108
- if (!consumerChannel || !consumerTag) {
109
- return;
110
- }
111
- ensureChannelState(consumerChannel);
112
- const queueArg = data.arguments[0];
113
- const queue = typeof queueArg === "string" ? queueArg : "<unknown>";
114
- const options = data.arguments[2];
115
- consumerChannel[CHANNEL_CONSUMER_INFO]?.set(consumerTag, { noAck: !!options?.noAck, queue });
116
- });
117
- }
118
- function subscribeDispatch() {
119
- tracingChannel.bindTracingChannelToSpan(
120
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_DISPATCH),
121
- (data) => {
122
- const channel = data.self;
123
- const fields = data.arguments[0];
124
- const msg = data.arguments[1];
125
- if (!channel || !msg) {
126
- return void 0;
127
- }
128
- ensureChannelState(channel);
129
- const info = fields?.consumerTag ? channel[CHANNEL_CONSUMER_INFO]?.get(fields.consumerTag) : void 0;
130
- const queue = info?.queue ?? msg.fields?.routingKey ?? "<unknown>";
131
- const noAck = info?.noAck ?? false;
132
- const headers = msg.properties?.headers;
133
- const sentryTrace = getHeaderAsString(headers, "sentry-trace");
134
- const baggage = getHeaderAsString(headers, "baggage");
135
- const span = core.continueTrace({ sentryTrace, baggage }, () => startConsumeSpan(queue, msg, channel));
136
- if (!noAck) {
137
- channel[CHANNEL_SPANS_NOT_ENDED]?.push({ msg, timeOfConsume: core.timestampInSeconds() });
138
- msg[MESSAGE_STORED_SPAN] = span;
139
- }
140
- data._sentryNoAck = noAck;
141
- return span;
142
- },
143
- {
144
- // Manual-ack consumers: the span outlives the dispatch call and is ended by ack/nack/reject
145
- // (or timeout/close), so take ownership and don't let the helper end it here. noAck consumers
146
- // have no settle call, so let the helper end the span when dispatch returns.
147
- deferSpanEnd({ data }) {
148
- return !data._sentryNoAck;
149
- }
150
- }
151
- );
152
- }
153
- function subscribeSettle() {
154
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_ACK).start.subscribe((message) => handleAck(message, false, END_OP.Ack));
155
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_NACK).start.subscribe((message) => handleAck(message, true, END_OP.Nack));
156
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_REJECT).start.subscribe((message) => handleAck(message, true, END_OP.Reject));
157
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_ACK_ALL).start.subscribe((message) => {
158
- const data = message;
159
- if (data.self) {
160
- endAllSpansOnChannel(data.self, false, END_OP.AckAll, void 0);
161
- }
162
- });
163
- diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_NACK_ALL).start.subscribe((message) => {
164
- const data = message;
165
- if (data.self) {
166
- endAllSpansOnChannel(data.self, true, END_OP.NackAll, data.arguments[0]);
167
- }
168
- });
169
- }
170
- function subscribeConnect() {
171
- const channel = diagnosticsChannel__namespace.tracingChannel(channels.CHANNELS.AMQPLIB_CONNECT);
172
- channel.start.subscribe(NOOP);
173
- channel.asyncEnd.subscribe((message) => {
174
- const data = message;
175
- const conn = data.result;
176
- if (!conn || typeof conn !== "object") {
177
- return;
178
- }
179
- conn[CONNECTION_ATTRIBUTES] = {
180
- ...getConnectionAttributesFromUrl(data.arguments?.[0]),
181
- ...getConnectionAttributesFromServer(conn)
182
- };
183
- });
184
- }
185
- function handleAck(data, isRejected, endOperation) {
186
- const channel = data.self;
187
- if (!channel) {
188
- return;
189
- }
190
- const message = data.arguments[0];
191
- if (!message) {
192
- return;
193
- }
194
- const allUpToOrRequeue = data.arguments[1];
195
- const requeue = data.arguments[2];
196
- const requeueResolved = endOperation === END_OP.Reject ? allUpToOrRequeue : requeue;
197
- const spansNotEnded = channel[CHANNEL_SPANS_NOT_ENDED] ?? [];
198
- const msgIndex = spansNotEnded.findIndex((msgDetails) => msgDetails.msg === message);
199
- if (msgIndex < 0) {
200
- endConsumerSpan(message, isRejected, endOperation, requeueResolved);
201
- } else if (endOperation !== END_OP.Reject && allUpToOrRequeue) {
202
- for (let i = 0; i <= msgIndex; i++) {
203
- endConsumerSpan(spansNotEnded[i].msg, isRejected, endOperation, requeueResolved);
204
- }
205
- spansNotEnded.splice(0, msgIndex + 1);
206
- } else {
207
- endConsumerSpan(message, isRejected, endOperation, requeueResolved);
208
- spansNotEnded.splice(msgIndex, 1);
209
- }
210
- }
211
- function ensureChannelState(channel) {
212
- if (Object.prototype.hasOwnProperty.call(channel, CHANNEL_SPANS_NOT_ENDED)) {
213
- return;
214
- }
215
- channel[CHANNEL_SPANS_NOT_ENDED] = [];
216
- channel[CHANNEL_CONSUMER_INFO] = /* @__PURE__ */ new Map();
217
- const timer = setInterval(() => checkConsumeTimeoutOnChannel(channel), CONSUME_TIMEOUT_MS);
218
- timer.unref?.();
219
- channel[CHANNEL_CONSUME_TIMEOUT_TIMER] = timer;
220
- if (typeof channel.on === "function") {
221
- channel.on("close", () => {
222
- endAllSpansOnChannel(channel, true, END_OP.ChannelClosed, void 0);
223
- clearConsumeTimeoutTimer(channel);
224
- });
225
- channel.on("error", () => {
226
- endAllSpansOnChannel(channel, true, END_OP.ChannelError, void 0);
227
- clearConsumeTimeoutTimer(channel);
228
- });
229
- }
230
- }
231
- function clearConsumeTimeoutTimer(channel) {
232
- const activeTimer = channel[CHANNEL_CONSUME_TIMEOUT_TIMER];
233
- if (activeTimer) {
234
- clearInterval(activeTimer);
235
- channel[CHANNEL_CONSUME_TIMEOUT_TIMER] = void 0;
236
- }
237
- }
238
- function checkConsumeTimeoutOnChannel(channel) {
239
- const currentTime = core.timestampInSeconds();
240
- const spansNotEnded = channel[CHANNEL_SPANS_NOT_ENDED] ?? [];
241
- let i;
242
- for (i = 0; i < spansNotEnded.length; i++) {
243
- const currMessage = spansNotEnded[i];
244
- const timeFromConsumeMs = (currentTime - currMessage.timeOfConsume) * 1e3;
245
- if (timeFromConsumeMs < CONSUME_TIMEOUT_MS) {
246
- break;
247
- }
248
- endConsumerSpan(currMessage.msg, null, END_OP.InstrumentationTimeout, true);
249
- }
250
- spansNotEnded.splice(0, i);
251
- }
252
- function endAllSpansOnChannel(channel, isRejected, operation, requeue) {
253
- const spansNotEnded = channel[CHANNEL_SPANS_NOT_ENDED] ?? [];
254
- spansNotEnded.forEach((msgDetails) => {
255
- endConsumerSpan(msgDetails.msg, isRejected, operation, requeue);
256
- });
257
- channel[CHANNEL_SPANS_NOT_ENDED] = [];
258
- }
259
- function endConsumerSpan(message, isRejected, operation, requeue) {
260
- const storedSpan = message[MESSAGE_STORED_SPAN];
261
- if (!storedSpan) {
262
- return;
263
- }
264
- if (isRejected !== false) {
265
- storedSpan.setStatus({
266
- code: core.SPAN_STATUS_ERROR,
267
- message: operation !== END_OP.ChannelClosed && operation !== END_OP.ChannelError ? `${operation} called on message${requeue === true ? " with requeue" : requeue === false ? " without requeue" : ""}` : operation
268
- });
269
- }
270
- storedSpan.end();
271
- message[MESSAGE_STORED_SPAN] = void 0;
272
- }
273
- function startPublishSpan(data) {
274
- const exchangeArg = data.arguments[0];
275
- const routingKeyArg = data.arguments[1];
276
- const exchange = typeof exchangeArg === "string" ? exchangeArg : "";
277
- const routingKey = typeof routingKeyArg === "string" ? routingKeyArg : "";
278
- let options = data.arguments[3];
279
- const span = core.startInactiveSpan({
280
- name: `publish ${normalizeExchange(exchange)}`,
281
- attributes: {
282
- [attributes.SENTRY_OP]: op.MESSAGING_QUEUE_PUBLISH_SPAN_OP,
283
- [attributes.SENTRY_KIND]: "producer",
284
- ...getStoredConnectionAttributes(data.self),
285
- [ATTR_MESSAGING_DESTINATION]: exchange,
286
- // TODO(v11) remove this attribute
287
- [attributes.MESSAGING_DESTINATION_NAME]: exchange,
288
- [ATTR_MESSAGING_DESTINATION_KIND]: MESSAGING_DESTINATION_KIND_VALUE_TOPIC,
289
- // TODO(v11) remove this attribute
290
- [ATTR_MESSAGING_RABBITMQ_ROUTING_KEY]: routingKey,
291
- // TODO(v11) remove this attribute
292
- [ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY]: routingKey,
293
- [attributes.MESSAGING_OPERATION_TYPE]: MESSAGING_OPERATION_VALUE_SEND,
294
- [ATTR_MESSAGING_MESSAGE_ID]: options?.messageId,
295
- // todo(v11) remove this attribute
296
- [attributes.MESSAGING_MESSAGE_ID]: options?.messageId,
297
- [ATTR_MESSAGING_CONVERSATION_ID_LEGACY]: options?.correlationId,
298
- // todo(v11) remove this attribute
299
- [ATTR_MESSAGING_CONVERSATION_ID]: options?.correlationId,
300
- [core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: PUBLISHER_ORIGIN
301
- }
302
- });
303
- if (!options || typeof options !== "object") {
304
- options = {};
305
- data.arguments[3] = options;
306
- }
307
- const headers = options.headers && typeof options.headers === "object" ? options.headers : options.headers = {};
308
- const traceData = core.getTraceData({ span });
309
- if (traceData["sentry-trace"]) {
310
- headers["sentry-trace"] = traceData["sentry-trace"];
311
- }
312
- if (traceData.baggage) {
313
- headers["baggage"] = traceData.baggage;
314
- }
315
- return span;
316
- }
317
- function startConsumeSpan(queue, msg, channel) {
318
- return core.startInactiveSpan({
319
- name: `${queue} process`,
320
- attributes: {
321
- [attributes.SENTRY_OP]: op.MESSAGING_QUEUE_PROCESS_SPAN_OP,
322
- [attributes.SENTRY_KIND]: "consumer",
323
- [core.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: "component",
324
- ...getStoredConnectionAttributes(channel),
325
- [ATTR_MESSAGING_DESTINATION]: msg.fields?.exchange,
326
- // TODO(v11) remove this attribute
327
- [attributes.MESSAGING_DESTINATION_NAME]: msg.fields?.exchange,
328
- [ATTR_MESSAGING_DESTINATION_KIND]: MESSAGING_DESTINATION_KIND_VALUE_TOPIC,
329
- // TODO(v11) remove this attribute
330
- [ATTR_MESSAGING_RABBITMQ_ROUTING_KEY]: msg.fields?.routingKey,
331
- // TODO(v11) remove this attribute
332
- [ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY]: msg.fields?.routingKey,
333
- [ATTR_MESSAGING_OPERATION]: MESSAGING_OPERATION_VALUE_PROCESS,
334
- // TODO(v11) remove this attribute
335
- [attributes.MESSAGING_OPERATION_TYPE]: MESSAGING_OPERATION_VALUE_PROCESS,
336
- [ATTR_MESSAGING_MESSAGE_ID]: msg.properties?.messageId,
337
- // todo(v11) remove this attribute
338
- [attributes.MESSAGING_MESSAGE_ID]: msg.properties?.messageId,
339
- [ATTR_MESSAGING_CONVERSATION_ID_LEGACY]: msg.properties?.correlationId,
340
- // todo(v11) remove this attribute
341
- [ATTR_MESSAGING_CONVERSATION_ID]: msg.properties?.correlationId,
342
- [core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: CONSUMER_ORIGIN
343
- }
344
- });
345
- }
346
- function getStoredConnectionAttributes(channel) {
347
- const connection = channel?.connection;
348
- const stored = connection?.[CONNECTION_ATTRIBUTES];
349
- if (stored) {
350
- return stored;
351
- }
352
- const product = connection?.serverProperties?.product ?? connection?.connection?.serverProperties?.product;
353
- if (typeof product === "string" && product) {
354
- return { [attributes.MESSAGING_SYSTEM]: product.toLowerCase() };
355
- }
356
- return {};
357
- }
358
- function getConnectionAttributesFromServer(conn) {
359
- const product = conn.serverProperties?.product ?? conn.connection?.serverProperties?.product;
360
- if (typeof product === "string" && product) {
361
- return { [attributes.MESSAGING_SYSTEM]: product.toLowerCase() };
362
- }
363
- return {};
364
- }
365
- function getConnectionAttributesFromUrl(url) {
366
- const attributes$1 = {
367
- // The only protocol supported by the instrumented library.
368
- [ATTR_MESSAGING_PROTOCOL_VERSION_LEGACY]: "0.9.1",
369
- // TODO(v11): remove this attribute
370
- [attributes.NETWORK_PROTOCOL_VERSION]: "0.9.1"
371
- };
372
- const resolvedUrl = url || "amqp://localhost";
373
- if (typeof resolvedUrl === "object") {
374
- const connectOptions = resolvedUrl;
375
- const protocol = getProtocol(connectOptions.protocol);
376
- const hostname = getHostname(connectOptions.hostname);
377
- const port = getPort(connectOptions.port, protocol);
378
- attributes$1[ATTR_MESSAGING_PROTOCOL] = protocol;
379
- attributes$1[attributes.NETWORK_PROTOCOL_NAME] = protocol;
380
- attributes$1[attributes.SERVER_ADDRESS] = hostname;
381
- attributes$1[attributes.SERVER_PORT] = port;
382
- attributes$1[attributes.NET_PEER_NAME] = hostname;
383
- attributes$1[attributes.NET_PEER_PORT] = port;
384
- } else if (typeof resolvedUrl === "string") {
385
- const censoredUrl = censorPassword(resolvedUrl);
386
- attributes$1[ATTR_MESSAGING_URL] = censoredUrl;
387
- attributes$1[attributes.URL_FULL] = censoredUrl;
388
- try {
389
- const urlParts = new URL(censoredUrl);
390
- const protocol = getProtocol(urlParts.protocol);
391
- const hostname = getHostname(urlParts.hostname);
392
- const port = getPort(urlParts.port ? parseInt(urlParts.port, 10) : void 0, protocol);
393
- attributes$1[ATTR_MESSAGING_PROTOCOL] = protocol;
394
- attributes$1[attributes.NETWORK_PROTOCOL_NAME] = protocol;
395
- attributes$1[attributes.SERVER_ADDRESS] = hostname;
396
- attributes$1[attributes.SERVER_PORT] = port;
397
- attributes$1[attributes.NET_PEER_NAME] = hostname;
398
- attributes$1[attributes.NET_PEER_PORT] = port;
399
- } catch {
400
- }
401
- }
402
- return attributes$1;
403
- }
404
- function normalizeExchange(exchangeName) {
405
- return exchangeName !== "" ? exchangeName : "<default>";
406
- }
407
- function censorPassword(url) {
408
- return url.replace(/:[^:@/]*@/, ":***@");
409
- }
410
- function getPort(portFromUrl, resolvedProtocol) {
411
- return portFromUrl || (resolvedProtocol === "AMQP" ? 5672 : 5671);
412
- }
413
- function getProtocol(protocolFromUrl) {
414
- const resolvedProtocol = protocolFromUrl || "amqp";
415
- const noEndingColon = resolvedProtocol.endsWith(":") ? resolvedProtocol.substring(0, resolvedProtocol.length - 1) : resolvedProtocol;
416
- return noEndingColon.toUpperCase();
417
- }
418
- function getHostname(hostnameFromUrl) {
419
- return hostnameFromUrl || "localhost";
420
- }
421
- function getHeaderAsString(headers, key) {
422
- const value = headers?.[key];
423
- if (value == null) {
424
- return void 0;
425
- }
426
- return Array.isArray(value) ? String(value[0]) : String(value);
427
- }
428
- const amqplibIntegration = core.defineIntegration(_amqplibIntegration);
429
-
430
- exports.amqplibIntegration = amqplibIntegration;
431
- //# sourceMappingURL=amqplib.js.map