@sentry/server-utils 10.63.0 → 10.65.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 (398) hide show
  1. package/build/cjs/graphql/graphql-dc-subscriber.js +125 -0
  2. package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -0
  3. package/build/cjs/graphql/index.js +23 -0
  4. package/build/cjs/graphql/index.js.map +1 -0
  5. package/build/cjs/graphql/utils.js +86 -0
  6. package/build/cjs/graphql/utils.js.map +1 -0
  7. package/build/cjs/index.js +12 -9
  8. package/build/cjs/index.js.map +1 -1
  9. package/build/cjs/integrations/tracing-channel/amqplib.js +420 -0
  10. package/build/cjs/integrations/tracing-channel/amqplib.js.map +1 -0
  11. package/build/cjs/integrations/tracing-channel/anthropic.js +101 -0
  12. package/build/cjs/integrations/tracing-channel/anthropic.js.map +1 -0
  13. package/build/cjs/integrations/tracing-channel/express/index.js +24 -0
  14. package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -0
  15. package/build/cjs/integrations/tracing-channel/express/instrumentation.js +173 -0
  16. package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -0
  17. package/build/cjs/integrations/tracing-channel/express/route.js +76 -0
  18. package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -0
  19. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +1 -1
  20. package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  21. package/build/cjs/integrations/tracing-channel/google-genai.js +96 -0
  22. package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -0
  23. package/build/cjs/integrations/tracing-channel/graphql/constants.js +26 -0
  24. package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -0
  25. package/build/cjs/integrations/tracing-channel/graphql/index.js +66 -0
  26. package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -0
  27. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +168 -0
  28. package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
  29. package/build/cjs/integrations/tracing-channel/graphql/spans.js +102 -0
  30. package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -0
  31. package/build/cjs/integrations/tracing-channel/hapi-types.js +30 -0
  32. package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -0
  33. package/build/cjs/integrations/tracing-channel/hapi-utils.js +177 -0
  34. package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -0
  35. package/build/cjs/integrations/tracing-channel/hapi.js +52 -0
  36. package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -0
  37. package/build/cjs/integrations/tracing-channel/ioredis.js +96 -0
  38. package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -0
  39. package/build/cjs/integrations/tracing-channel/mysql.js +2 -1
  40. package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
  41. package/build/cjs/integrations/tracing-channel/openai.js +83 -0
  42. package/build/cjs/integrations/tracing-channel/openai.js.map +1 -0
  43. package/build/cjs/integrations/tracing-channel/postgres-js.js +191 -0
  44. package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -0
  45. package/build/cjs/integrations/tracing-channel/postgres.js +170 -0
  46. package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -0
  47. package/build/cjs/integrations/tracing-channel/redis.js +227 -0
  48. package/build/cjs/integrations/tracing-channel/redis.js.map +1 -0
  49. package/build/cjs/integrations/tracing-channel/vercel-ai.js +25 -0
  50. package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -0
  51. package/build/cjs/mongoose/index.js +23 -0
  52. package/build/cjs/mongoose/index.js.map +1 -0
  53. package/build/cjs/mongoose/mongoose-dc-subscriber.js +97 -0
  54. package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -0
  55. package/build/cjs/mysql2/index.js +23 -0
  56. package/build/cjs/mysql2/index.js.map +1 -0
  57. package/build/cjs/mysql2/mysql2-dc-subscriber.js +68 -0
  58. package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -0
  59. package/build/cjs/orchestrion/bundler/vite.js +3 -3
  60. package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
  61. package/build/cjs/orchestrion/channels.js +29 -2
  62. package/build/cjs/orchestrion/channels.js.map +1 -1
  63. package/build/cjs/orchestrion/config/amqplib.js +81 -0
  64. package/build/cjs/orchestrion/config/amqplib.js.map +1 -0
  65. package/build/cjs/orchestrion/config/anthropic-ai.js +43 -0
  66. package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -0
  67. package/build/cjs/orchestrion/config/express.js +76 -0
  68. package/build/cjs/orchestrion/config/express.js.map +1 -0
  69. package/build/cjs/orchestrion/config/google-genai.js +38 -0
  70. package/build/cjs/orchestrion/config/google-genai.js.map +1 -0
  71. package/build/cjs/orchestrion/config/graphql.js +28 -0
  72. package/build/cjs/orchestrion/config/graphql.js.map +1 -0
  73. package/build/cjs/orchestrion/config/hapi.js +26 -0
  74. package/build/cjs/orchestrion/config/hapi.js.map +1 -0
  75. package/build/cjs/orchestrion/config/index.js +48 -0
  76. package/build/cjs/orchestrion/config/index.js.map +1 -0
  77. package/build/cjs/orchestrion/config/ioredis.js +35 -0
  78. package/build/cjs/orchestrion/config/ioredis.js.map +1 -0
  79. package/build/cjs/orchestrion/config/lru-memoizer.js +17 -0
  80. package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -0
  81. package/build/cjs/orchestrion/config/mysql.js +16 -0
  82. package/build/cjs/orchestrion/config/mysql.js.map +1 -0
  83. package/build/cjs/orchestrion/config/openai.js +40 -0
  84. package/build/cjs/orchestrion/config/openai.js.map +1 -0
  85. package/build/cjs/orchestrion/config/pg.js +51 -0
  86. package/build/cjs/orchestrion/config/pg.js.map +1 -0
  87. package/build/cjs/orchestrion/config/postgres.js +50 -0
  88. package/build/cjs/orchestrion/config/postgres.js.map +1 -0
  89. package/build/cjs/orchestrion/config/redis.js +76 -0
  90. package/build/cjs/orchestrion/config/redis.js.map +1 -0
  91. package/build/cjs/orchestrion/config/vercel-ai.js +48 -0
  92. package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -0
  93. package/build/cjs/orchestrion/detect.js +6 -1
  94. package/build/cjs/orchestrion/detect.js.map +1 -1
  95. package/build/cjs/orchestrion/index.js +44 -5
  96. package/build/cjs/orchestrion/index.js.map +1 -1
  97. package/build/cjs/orchestrion/runtime/register.js +10 -7
  98. package/build/cjs/orchestrion/runtime/register.js.map +1 -1
  99. package/build/cjs/redis/index.js +23 -0
  100. package/build/cjs/redis/index.js.map +1 -0
  101. package/build/cjs/redis/redis-dc-subscriber.js +23 -35
  102. package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
  103. package/build/cjs/redis/redis-statement-serializer.js +34 -0
  104. package/build/cjs/redis/redis-statement-serializer.js.map +1 -0
  105. package/build/cjs/tracing-channel.js +8 -7
  106. package/build/cjs/tracing-channel.js.map +1 -1
  107. package/build/cjs/vercel-ai/util.js +123 -0
  108. package/build/cjs/vercel-ai/util.js.map +1 -0
  109. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +147 -76
  110. package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  111. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +386 -0
  112. package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  113. package/build/esm/graphql/graphql-dc-subscriber.js +118 -0
  114. package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -0
  115. package/build/esm/graphql/index.js +21 -0
  116. package/build/esm/graphql/index.js.map +1 -0
  117. package/build/esm/graphql/utils.js +81 -0
  118. package/build/esm/graphql/utils.js.map +1 -0
  119. package/build/esm/index.js +5 -1
  120. package/build/esm/index.js.map +1 -1
  121. package/build/esm/integrations/tracing-channel/amqplib.js +418 -0
  122. package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -0
  123. package/build/esm/integrations/tracing-channel/anthropic.js +99 -0
  124. package/build/esm/integrations/tracing-channel/anthropic.js.map +1 -0
  125. package/build/esm/integrations/tracing-channel/express/index.js +22 -0
  126. package/build/esm/integrations/tracing-channel/express/index.js.map +1 -0
  127. package/build/esm/integrations/tracing-channel/express/instrumentation.js +171 -0
  128. package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -0
  129. package/build/esm/integrations/tracing-channel/express/route.js +68 -0
  130. package/build/esm/integrations/tracing-channel/express/route.js.map +1 -0
  131. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +2 -2
  132. package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -1
  133. package/build/esm/integrations/tracing-channel/google-genai.js +94 -0
  134. package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -0
  135. package/build/esm/integrations/tracing-channel/graphql/constants.js +14 -0
  136. package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -0
  137. package/build/esm/integrations/tracing-channel/graphql/index.js +63 -0
  138. package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -0
  139. package/build/esm/integrations/tracing-channel/graphql/resolvers.js +164 -0
  140. package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
  141. package/build/esm/integrations/tracing-channel/graphql/spans.js +96 -0
  142. package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -0
  143. package/build/esm/integrations/tracing-channel/hapi-types.js +25 -0
  144. package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -0
  145. package/build/esm/integrations/tracing-channel/hapi-utils.js +172 -0
  146. package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -0
  147. package/build/esm/integrations/tracing-channel/hapi.js +50 -0
  148. package/build/esm/integrations/tracing-channel/hapi.js.map +1 -0
  149. package/build/esm/integrations/tracing-channel/ioredis.js +94 -0
  150. package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -0
  151. package/build/esm/integrations/tracing-channel/mysql.js +3 -2
  152. package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
  153. package/build/esm/integrations/tracing-channel/openai.js +81 -0
  154. package/build/esm/integrations/tracing-channel/openai.js.map +1 -0
  155. package/build/esm/integrations/tracing-channel/postgres-js.js +189 -0
  156. package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -0
  157. package/build/esm/integrations/tracing-channel/postgres.js +168 -0
  158. package/build/esm/integrations/tracing-channel/postgres.js.map +1 -0
  159. package/build/esm/integrations/tracing-channel/redis.js +225 -0
  160. package/build/esm/integrations/tracing-channel/redis.js.map +1 -0
  161. package/build/esm/integrations/tracing-channel/vercel-ai.js +23 -0
  162. package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -0
  163. package/build/esm/mongoose/index.js +21 -0
  164. package/build/esm/mongoose/index.js.map +1 -0
  165. package/build/esm/mongoose/mongoose-dc-subscriber.js +89 -0
  166. package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -0
  167. package/build/esm/mysql2/index.js +21 -0
  168. package/build/esm/mysql2/index.js.map +1 -0
  169. package/build/esm/mysql2/mysql2-dc-subscriber.js +62 -0
  170. package/build/esm/mysql2/mysql2-dc-subscriber.js.map +1 -0
  171. package/build/esm/orchestrion/bundler/vite.js +1 -1
  172. package/build/esm/orchestrion/channels.js +29 -2
  173. package/build/esm/orchestrion/channels.js.map +1 -1
  174. package/build/esm/orchestrion/config/amqplib.js +78 -0
  175. package/build/esm/orchestrion/config/amqplib.js.map +1 -0
  176. package/build/esm/orchestrion/config/anthropic-ai.js +40 -0
  177. package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -0
  178. package/build/esm/orchestrion/config/express.js +73 -0
  179. package/build/esm/orchestrion/config/express.js.map +1 -0
  180. package/build/esm/orchestrion/config/google-genai.js +35 -0
  181. package/build/esm/orchestrion/config/google-genai.js.map +1 -0
  182. package/build/esm/orchestrion/config/graphql.js +25 -0
  183. package/build/esm/orchestrion/config/graphql.js.map +1 -0
  184. package/build/esm/orchestrion/config/hapi.js +23 -0
  185. package/build/esm/orchestrion/config/hapi.js.map +1 -0
  186. package/build/esm/orchestrion/config/index.js +44 -0
  187. package/build/esm/orchestrion/config/index.js.map +1 -0
  188. package/build/esm/orchestrion/config/ioredis.js +32 -0
  189. package/build/esm/orchestrion/config/ioredis.js.map +1 -0
  190. package/build/esm/orchestrion/config/lru-memoizer.js +14 -0
  191. package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -0
  192. package/build/esm/orchestrion/config/mysql.js +13 -0
  193. package/build/esm/orchestrion/config/mysql.js.map +1 -0
  194. package/build/esm/orchestrion/config/openai.js +37 -0
  195. package/build/esm/orchestrion/config/openai.js.map +1 -0
  196. package/build/esm/orchestrion/config/pg.js +48 -0
  197. package/build/esm/orchestrion/config/pg.js.map +1 -0
  198. package/build/esm/orchestrion/config/postgres.js +47 -0
  199. package/build/esm/orchestrion/config/postgres.js.map +1 -0
  200. package/build/esm/orchestrion/config/redis.js +73 -0
  201. package/build/esm/orchestrion/config/redis.js.map +1 -0
  202. package/build/esm/orchestrion/config/vercel-ai.js +45 -0
  203. package/build/esm/orchestrion/config/vercel-ai.js.map +1 -0
  204. package/build/esm/orchestrion/detect.js +6 -2
  205. package/build/esm/orchestrion/detect.js.map +1 -1
  206. package/build/esm/orchestrion/index.js +33 -3
  207. package/build/esm/orchestrion/index.js.map +1 -1
  208. package/build/esm/orchestrion/runtime/register.js +8 -4
  209. package/build/esm/orchestrion/runtime/register.js.map +1 -1
  210. package/build/esm/package.json +1 -1
  211. package/build/esm/redis/index.js +21 -0
  212. package/build/esm/redis/index.js.map +1 -0
  213. package/build/esm/redis/redis-dc-subscriber.js +24 -36
  214. package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
  215. package/build/esm/redis/redis-statement-serializer.js +32 -0
  216. package/build/esm/redis/redis-statement-serializer.js.map +1 -0
  217. package/build/esm/tracing-channel.js +9 -8
  218. package/build/esm/tracing-channel.js.map +1 -1
  219. package/build/esm/vercel-ai/util.js +116 -0
  220. package/build/esm/vercel-ai/util.js.map +1 -0
  221. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +122 -54
  222. package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
  223. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +384 -0
  224. package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
  225. package/build/types/graphql/graphql-dc-subscriber.d.ts +94 -0
  226. package/build/types/graphql/graphql-dc-subscriber.d.ts.map +1 -0
  227. package/build/types/graphql/index.d.ts +12 -0
  228. package/build/types/graphql/index.d.ts.map +1 -0
  229. package/build/types/graphql/utils.d.ts +40 -0
  230. package/build/types/graphql/utils.d.ts.map +1 -0
  231. package/build/types/index.d.ts +6 -2
  232. package/build/types/index.d.ts.map +1 -1
  233. package/build/types/integrations/tracing-channel/amqplib.d.ts +11 -0
  234. package/build/types/integrations/tracing-channel/amqplib.d.ts.map +1 -0
  235. package/build/types/integrations/tracing-channel/anthropic.d.ts +10 -0
  236. package/build/types/integrations/tracing-channel/anthropic.d.ts.map +1 -0
  237. package/build/types/integrations/tracing-channel/express/index.d.ts +18 -0
  238. package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -0
  239. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
  240. package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -0
  241. package/build/types/integrations/tracing-channel/express/route.d.ts +28 -0
  242. package/build/types/integrations/tracing-channel/express/route.d.ts.map +1 -0
  243. package/build/types/integrations/tracing-channel/express/types.d.ts +64 -0
  244. package/build/types/integrations/tracing-channel/express/types.d.ts.map +1 -0
  245. package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -1
  246. package/build/types/integrations/tracing-channel/google-genai.d.ts +12 -0
  247. package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -0
  248. package/build/types/integrations/tracing-channel/graphql/constants.d.ts +12 -0
  249. package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +1 -0
  250. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
  251. package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +1 -0
  252. package/build/types/integrations/tracing-channel/graphql/index.d.ts +28 -0
  253. package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -0
  254. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
  255. package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +1 -0
  256. package/build/types/integrations/tracing-channel/graphql/spans.d.ts +17 -0
  257. package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +1 -0
  258. package/build/types/integrations/tracing-channel/graphql/types.d.ts +25 -0
  259. package/build/types/integrations/tracing-channel/graphql/types.d.ts.map +1 -0
  260. package/build/types/integrations/tracing-channel/hapi-types.d.ts +53 -0
  261. package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +1 -0
  262. package/build/types/integrations/tracing-channel/hapi-utils.d.ts +25 -0
  263. package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +1 -0
  264. package/build/types/integrations/tracing-channel/hapi.d.ts +9 -0
  265. package/build/types/integrations/tracing-channel/hapi.d.ts.map +1 -0
  266. package/build/types/integrations/tracing-channel/ioredis.d.ts +17 -0
  267. package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -0
  268. package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
  269. package/build/types/integrations/tracing-channel/openai.d.ts +10 -0
  270. package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -0
  271. package/build/types/integrations/tracing-channel/postgres-js.d.ts +26 -0
  272. package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -0
  273. package/build/types/integrations/tracing-channel/postgres.d.ts +15 -0
  274. package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -0
  275. package/build/types/integrations/tracing-channel/redis.d.ts +16 -0
  276. package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -0
  277. package/build/types/integrations/tracing-channel/vercel-ai.d.ts +13 -0
  278. package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -0
  279. package/build/types/mongoose/index.d.ts +11 -0
  280. package/build/types/mongoose/index.d.ts.map +1 -0
  281. package/build/types/mongoose/mongoose-dc-subscriber.d.ts +63 -0
  282. package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
  283. package/build/types/mysql2/index.d.ts +11 -0
  284. package/build/types/mysql2/index.d.ts.map +1 -0
  285. package/build/types/mysql2/mysql2-dc-subscriber.d.ts +59 -0
  286. package/build/types/mysql2/mysql2-dc-subscriber.d.ts.map +1 -0
  287. package/build/types/orchestrion/channels.d.ts +55 -1
  288. package/build/types/orchestrion/channels.d.ts.map +1 -1
  289. package/build/types/orchestrion/config/amqplib.d.ts +66 -0
  290. package/build/types/orchestrion/config/amqplib.d.ts.map +1 -0
  291. package/build/types/orchestrion/config/anthropic-ai.d.ts +31 -0
  292. package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -0
  293. package/build/types/orchestrion/config/express.d.ts +32 -0
  294. package/build/types/orchestrion/config/express.d.ts.map +1 -0
  295. package/build/types/orchestrion/config/google-genai.d.ts +30 -0
  296. package/build/types/orchestrion/config/google-genai.d.ts.map +1 -0
  297. package/build/types/orchestrion/config/graphql.d.ts +29 -0
  298. package/build/types/orchestrion/config/graphql.d.ts.map +1 -0
  299. package/build/types/orchestrion/config/hapi.d.ts +17 -0
  300. package/build/types/orchestrion/config/hapi.d.ts.map +1 -0
  301. package/build/types/orchestrion/{config.d.ts → config/index.d.ts} +1 -12
  302. package/build/types/orchestrion/config/index.d.ts.map +1 -0
  303. package/build/types/orchestrion/config/ioredis.d.ts +7 -0
  304. package/build/types/orchestrion/config/ioredis.d.ts.map +1 -0
  305. package/build/types/orchestrion/config/lru-memoizer.d.ts +16 -0
  306. package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -0
  307. package/build/types/orchestrion/config/mysql.d.ts +16 -0
  308. package/build/types/orchestrion/config/mysql.d.ts.map +1 -0
  309. package/build/types/orchestrion/config/openai.d.ts +20 -0
  310. package/build/types/orchestrion/config/openai.d.ts.map +1 -0
  311. package/build/types/orchestrion/config/pg.d.ts +33 -0
  312. package/build/types/orchestrion/config/pg.d.ts.map +1 -0
  313. package/build/types/orchestrion/config/postgres.d.ts +9 -0
  314. package/build/types/orchestrion/config/postgres.d.ts.map +1 -0
  315. package/build/types/orchestrion/config/redis.d.ts +37 -0
  316. package/build/types/orchestrion/config/redis.d.ts.map +1 -0
  317. package/build/types/orchestrion/config/vercel-ai.d.ts +12 -0
  318. package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -0
  319. package/build/types/orchestrion/detect.d.ts +10 -0
  320. package/build/types/orchestrion/detect.d.ts.map +1 -1
  321. package/build/types/orchestrion/index.d.ts +80 -3
  322. package/build/types/orchestrion/index.d.ts.map +1 -1
  323. package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
  324. package/build/types/redis/index.d.ts +18 -0
  325. package/build/types/redis/index.d.ts.map +1 -0
  326. package/build/types/redis/redis-dc-subscriber.d.ts +0 -5
  327. package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
  328. package/build/types/redis/redis-statement-serializer.d.ts +6 -0
  329. package/build/types/redis/redis-statement-serializer.d.ts.map +1 -0
  330. package/build/types/tracing-channel.d.ts +5 -0
  331. package/build/types/tracing-channel.d.ts.map +1 -1
  332. package/build/types/vercel-ai/util.d.ts +32 -0
  333. package/build/types/vercel-ai/util.d.ts.map +1 -0
  334. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +15 -5
  335. package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
  336. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +12 -0
  337. package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
  338. package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +94 -0
  339. package/build/types-ts3.8/graphql/index.d.ts +12 -0
  340. package/build/types-ts3.8/graphql/utils.d.ts +40 -0
  341. package/build/types-ts3.8/index.d.ts +6 -2
  342. package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +11 -0
  343. package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +10 -0
  344. package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +18 -0
  345. package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
  346. package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +28 -0
  347. package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +64 -0
  348. package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +12 -0
  349. package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +12 -0
  350. package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
  351. package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +30 -0
  352. package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
  353. package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +17 -0
  354. package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +25 -0
  355. package/build/types-ts3.8/integrations/tracing-channel/hapi-types.d.ts +65 -0
  356. package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +25 -0
  357. package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +9 -0
  358. package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +17 -0
  359. package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +10 -0
  360. package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +26 -0
  361. package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +15 -0
  362. package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +16 -0
  363. package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +13 -0
  364. package/build/types-ts3.8/mongoose/index.d.ts +11 -0
  365. package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +63 -0
  366. package/build/types-ts3.8/mysql2/index.d.ts +11 -0
  367. package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +59 -0
  368. package/build/types-ts3.8/orchestrion/channels.d.ts +55 -1
  369. package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +66 -0
  370. package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +31 -0
  371. package/build/types-ts3.8/orchestrion/config/express.d.ts +32 -0
  372. package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +30 -0
  373. package/build/types-ts3.8/orchestrion/config/graphql.d.ts +29 -0
  374. package/build/types-ts3.8/orchestrion/config/hapi.d.ts +17 -0
  375. package/build/types-ts3.8/orchestrion/{config.d.ts → config/index.d.ts} +1 -12
  376. package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +7 -0
  377. package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +16 -0
  378. package/build/types-ts3.8/orchestrion/config/mysql.d.ts +16 -0
  379. package/build/types-ts3.8/orchestrion/config/openai.d.ts +20 -0
  380. package/build/types-ts3.8/orchestrion/config/pg.d.ts +33 -0
  381. package/build/types-ts3.8/orchestrion/config/postgres.d.ts +9 -0
  382. package/build/types-ts3.8/orchestrion/config/redis.d.ts +37 -0
  383. package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +12 -0
  384. package/build/types-ts3.8/orchestrion/detect.d.ts +10 -0
  385. package/build/types-ts3.8/orchestrion/index.d.ts +82 -3
  386. package/build/types-ts3.8/redis/index.d.ts +18 -0
  387. package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -5
  388. package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +6 -0
  389. package/build/types-ts3.8/tracing-channel.d.ts +5 -0
  390. package/build/types-ts3.8/vercel-ai/util.d.ts +32 -0
  391. package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +15 -5
  392. package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +12 -0
  393. package/package.json +9 -9
  394. package/build/cjs/orchestrion/config.js +0 -44
  395. package/build/cjs/orchestrion/config.js.map +0 -1
  396. package/build/esm/orchestrion/config.js +0 -40
  397. package/build/esm/orchestrion/config.js.map +0 -1
  398. package/build/types/orchestrion/config.d.ts.map +0 -1
@@ -0,0 +1,63 @@
1
+ import { TracingChannel } from 'node:diagnostics_channel';
2
+ export declare const MONGOOSE_DC_CHANNEL_QUERY = "mongoose:query";
3
+ export declare const MONGOOSE_DC_CHANNEL_AGGREGATE = "mongoose:aggregate";
4
+ export declare const MONGOOSE_DC_CHANNEL_MODEL_SAVE = "mongoose:model:save";
5
+ export declare const MONGOOSE_DC_CHANNEL_MODEL_INSERT_MANY = "mongoose:model:insertMany";
6
+ export declare const MONGOOSE_DC_CHANNEL_MODEL_BULK_WRITE = "mongoose:model:bulkWrite";
7
+ export declare const MONGOOSE_DC_CHANNEL_CURSOR_NEXT = "mongoose:cursor:next";
8
+ /**
9
+ * Shape of the context object mongoose >= 9.7.0 publishes on its tracing
10
+ * channels (mongoose's `TracingContext`, see `types/tracing.d.ts`).
11
+ *
12
+ * Node's `tracePromise` mutates this same object with `result`/`error` once the
13
+ * operation settles, which `bindTracingChannelToSpan` reads in its lifecycle
14
+ * handlers — hence both are declared optional here.
15
+ *
16
+ * Unlike redis/ioredis, mongoose does NOT pre-sanitize the payload, so `args`
17
+ * carries the raw user query. We redact it before emitting `db.query.text`.
18
+ */
19
+ export interface MongooseTracingData {
20
+ operation: string;
21
+ /** Absent for connection-level `aggregate()` calls, which have no model/collection. */
22
+ collection?: string;
23
+ database?: string;
24
+ serverAddress?: string;
25
+ serverPort?: number;
26
+ /** Cursor channels only: the cursor's fetch batch size and tailable flag. */
27
+ batchSize?: number;
28
+ tailable?: boolean;
29
+ /**
30
+ * Operation-specific arguments. `filter` (queries/cursors) and `pipeline`
31
+ * (aggregations) carry the query shape; `docs`/`ops` carry batch payloads.
32
+ */
33
+ args?: {
34
+ filter?: unknown;
35
+ pipeline?: unknown;
36
+ docs?: unknown;
37
+ ops?: unknown;
38
+ [key: string]: unknown;
39
+ };
40
+ result?: unknown;
41
+ error?: Error;
42
+ }
43
+ /**
44
+ * Platform-provided factory that creates a native tracing channel for the given name. The
45
+ * subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
46
+ * which propagates the active span through the runtime's async context.
47
+ *
48
+ * Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
49
+ */
50
+ export type MongooseTracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
51
+ /**
52
+ * Subscribe Sentry span handlers to mongoose's diagnostics-channel events
53
+ * (`mongoose:query`, `:aggregate`, `:model:save`, `:model:insertMany`,
54
+ * `:model:bulkWrite`, `:cursor:next`), published by mongoose >= 9.7.0.
55
+ *
56
+ * On older mongoose versions the channels are never published to, so the
57
+ * subscribers are inert — there is no double-instrumentation against the
58
+ * IITM-based vendored patcher, which is gated to `< 9.7.0`.
59
+ *
60
+ * Idempotent: subsequent calls are a no-op.
61
+ */
62
+ export declare function subscribeMongooseDiagnosticChannels(tracingChannel: MongooseTracingChannelFactory): void;
63
+ //# sourceMappingURL=mongoose-dc-subscriber.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Auto-instrument the [mysql2](https://www.npmjs.com/package/mysql2) library via its native
3
+ * `node:diagnostics_channel` tracing channels (mysql2 >= 3.20.0).
4
+ *
5
+ * On older mysql2 versions the channels are never published to, so this integration is inert and
6
+ * the vendored OTel instrumentation (gated to `< 3.20.0`) handles instrumentation instead.
7
+ */
8
+ export declare const mysql2Integration: () => import("@sentry/core").Integration & {
9
+ name: string;
10
+ };
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,59 @@
1
+ import { TracingChannel } from 'node:diagnostics_channel';
2
+ export declare const MYSQL2_DC_CHANNEL_QUERY = "mysql2:query";
3
+ export declare const MYSQL2_DC_CHANNEL_EXECUTE = "mysql2:execute";
4
+ export declare const MYSQL2_DC_CHANNEL_CONNECT = "mysql2:connect";
5
+ export declare const MYSQL2_DC_CHANNEL_POOL_CONNECT = "mysql2:pool:connect";
6
+ /**
7
+ * Shape of the context object mysql2 >= 3.20.0 publishes on its query/execute
8
+ * tracing channels (see mysql2 `lib/base/connection.js`).
9
+ *
10
+ * Node's `traceCallback`/`tracePromise` mutate this same object with
11
+ * `result`/`error` once the operation settles, which `bindTracingChannelToSpan`
12
+ * reads in its lifecycle handlers — hence both are declared optional here.
13
+ *
14
+ * `query` is the SQL statement. On the `query` channel mysql2 has already
15
+ * inlined `values` into it (`Connection.format`), so it carries raw user data;
16
+ * on the `execute` channel it keeps `?` placeholders. Either way we sanitize it
17
+ * before emitting `db.query.text` and never attach `values`.
18
+ */
19
+ export interface MySQL2QueryData {
20
+ query?: string;
21
+ values?: unknown;
22
+ database?: string;
23
+ serverAddress?: string;
24
+ /** Absent for unix-socket connections, where `serverAddress` is the socket path. */
25
+ serverPort?: number;
26
+ result?: unknown;
27
+ error?: Error;
28
+ }
29
+ /**
30
+ * Shape of the context object mysql2 >= 3.20.0 publishes on its
31
+ * `connect`/`pool:connect` channels.
32
+ */
33
+ export interface MySQL2ConnectData {
34
+ database?: string;
35
+ serverAddress?: string;
36
+ serverPort?: number;
37
+ user?: string;
38
+ result?: unknown;
39
+ error?: Error;
40
+ }
41
+ /**
42
+ * Platform-provided factory that creates a native tracing channel for the given name. The
43
+ * subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
44
+ * which propagates the active span through the runtime's async context.
45
+ *
46
+ * Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
47
+ */
48
+ export type MySQL2TracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
49
+ /**
50
+ * Subscribe Sentry span handlers to mysql2's diagnostics-channel events
51
+ * (`mysql2:query`, `:execute`, `:connect`, `:pool:connect`), published by
52
+ * mysql2 >= 3.20.0.
53
+ *
54
+ * On older mysql2 versions the channels are never published to, so the
55
+ * subscribers are inert — there is no double-instrumentation against the
56
+ * vendored OTel patcher, which is gated to `< 3.20.0`.
57
+ */
58
+ export declare function subscribeMysql2DiagnosticChannels(tracingChannel: MySQL2TracingChannelFactory): void;
59
+ //# sourceMappingURL=mysql2-dc-subscriber.d.ts.map
@@ -12,8 +12,62 @@
12
12
  * they don't drift apart and silently stop firing.
13
13
  */
14
14
  export declare const CHANNELS: {
15
- readonly MYSQL_QUERY: "orchestrion:mysql:query";
15
+ readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
16
+ readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
17
+ readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
18
+ readonly EXPRESS_HANDLE: "orchestrion:express:handle";
19
+ readonly ROUTER_HANDLE: "orchestrion:router:handle";
20
+ readonly EXPRESS_ROUTE: "orchestrion:express:route";
21
+ readonly EXPRESS_USE: "orchestrion:express:use";
22
+ readonly ROUTER_ROUTE: "orchestrion:router:route";
23
+ readonly ROUTER_USE: "orchestrion:router:use";
24
+ readonly REDIS_COMMAND: "orchestrion:redis:command";
25
+ readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
26
+ readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
27
+ readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
28
+ readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
29
+ readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
30
+ readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
31
+ readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
32
+ readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
33
+ readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
34
+ readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
35
+ readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
36
+ readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
37
+ readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
38
+ readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
39
+ readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
40
+ readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
41
+ readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
42
+ readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
43
+ readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
44
+ readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
45
+ readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
46
+ readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
47
+ readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
48
+ readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
49
+ readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
50
+ readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
51
+ readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
52
+ readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
53
+ readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
54
+ readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
55
+ readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
56
+ readonly OPENAI_CHAT: "orchestrion:openai:chat";
57
+ readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
58
+ readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
59
+ readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
60
+ readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
61
+ readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
62
+ readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
63
+ readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
64
+ readonly PG_QUERY: "orchestrion:pg:query";
65
+ readonly PG_CONNECT: "orchestrion:pg:connect";
66
+ readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
67
+ readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
68
+ readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
16
69
  readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
70
+ readonly MYSQL_QUERY: "orchestrion:mysql:query";
17
71
  };
18
72
  export type ChannelName = (typeof CHANNELS)[keyof typeof CHANNELS];
19
73
  //# sourceMappingURL=channels.d.ts.map
@@ -0,0 +1,66 @@
1
+ export declare const amqplibConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ filePath: string;
5
+ name: "amqplib";
6
+ versionRange: ">=0.5.5 <2";
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Sync";
12
+ functionName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ filePath: string;
18
+ name: "amqplib";
19
+ versionRange: ">=0.5.5 <2";
20
+ };
21
+ functionQuery: {
22
+ className: string;
23
+ methodName: string;
24
+ kind: "Callback";
25
+ functionName?: undefined;
26
+ };
27
+ } | {
28
+ channelName: string;
29
+ module: {
30
+ filePath: string;
31
+ name: "amqplib";
32
+ versionRange: ">=0.5.5 <2";
33
+ };
34
+ functionQuery: {
35
+ className: string;
36
+ methodName: string;
37
+ kind: "Async";
38
+ functionName?: undefined;
39
+ };
40
+ } | {
41
+ channelName: string;
42
+ module: {
43
+ filePath: string;
44
+ name: "amqplib";
45
+ versionRange: ">=0.5.5 <2";
46
+ };
47
+ functionQuery: {
48
+ functionName: string;
49
+ kind: "Callback";
50
+ className?: undefined;
51
+ methodName?: undefined;
52
+ };
53
+ })[];
54
+ export declare const amqplibChannels: {
55
+ readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
56
+ readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
57
+ readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
58
+ readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
59
+ readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
60
+ readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
61
+ readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
62
+ readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
63
+ readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
64
+ readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
65
+ };
66
+ //# sourceMappingURL=amqplib.d.ts.map
@@ -0,0 +1,31 @@
1
+ export declare const anthropicAiConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Auto";
12
+ };
13
+ } | {
14
+ channelName: string;
15
+ module: {
16
+ name: string;
17
+ versionRange: string;
18
+ filePath: string;
19
+ };
20
+ functionQuery: {
21
+ className: string;
22
+ methodName: string;
23
+ kind: "Sync";
24
+ };
25
+ })[];
26
+ export declare const anthropicAiChannels: {
27
+ readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
28
+ readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
29
+ readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
30
+ };
31
+ //# sourceMappingURL=anthropic-ai.d.ts.map
@@ -0,0 +1,32 @@
1
+ export declare const expressConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Callback";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ expressionName: string;
21
+ kind: "Sync";
22
+ };
23
+ })[];
24
+ export declare const expressChannels: {
25
+ readonly EXPRESS_HANDLE: "orchestrion:express:handle";
26
+ readonly ROUTER_HANDLE: "orchestrion:router:handle";
27
+ readonly EXPRESS_ROUTE: "orchestrion:express:route";
28
+ readonly EXPRESS_USE: "orchestrion:express:use";
29
+ readonly ROUTER_ROUTE: "orchestrion:router:route";
30
+ readonly ROUTER_USE: "orchestrion:router:use";
31
+ };
32
+ //# sourceMappingURL=express.d.ts.map
@@ -0,0 +1,30 @@
1
+ export declare const googleGenAiConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: "generateContent" | "generateContentStream";
10
+ kind: "Auto";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ className: string;
21
+ methodName: string;
22
+ kind: "Auto";
23
+ };
24
+ })[];
25
+ export declare const googleGenAiChannels: {
26
+ readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
27
+ readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
28
+ readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
29
+ };
30
+ //# sourceMappingURL=google-genai.d.ts.map
@@ -0,0 +1,29 @@
1
+ export declare const graphqlConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ functionName: string;
10
+ kind: "Sync";
11
+ };
12
+ } | {
13
+ channelName: string;
14
+ module: {
15
+ name: string;
16
+ versionRange: string;
17
+ filePath: string;
18
+ };
19
+ functionQuery: {
20
+ functionName: string;
21
+ kind: "Auto";
22
+ };
23
+ })[];
24
+ export declare const graphqlChannels: {
25
+ readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
26
+ readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
27
+ readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
28
+ };
29
+ //# sourceMappingURL=graphql.d.ts.map
@@ -0,0 +1,17 @@
1
+ export declare const hapiConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ methodName: string;
10
+ kind: "Sync";
11
+ };
12
+ }[];
13
+ export declare const hapiChannels: {
14
+ readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
15
+ readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
16
+ };
17
+ //# sourceMappingURL=hapi.d.ts.map
@@ -1,15 +1,4 @@
1
1
  import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
- /**
3
- * The central list of channel injections orchestrion should perform.
4
- *
5
- * This module has NO side effects — it's the only thing both the runtime hook
6
- * (`runtime/import-hook.mjs`) and the bundler plugins (`bundler/vite.ts`, …)
7
- * import from. Adding a new instrumented method is one entry here plus one
8
- * subscriber in `integrations/<lib>/tracing-channel.ts`.
9
- *
10
- * `channelName` here is the unprefixed suffix; the actual diagnostics_channel
11
- * name is `orchestrion:${module.name}:${channelName}` (see `channels.ts`).
12
- */
13
2
  export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
14
3
  /**
15
4
  * The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
@@ -32,4 +21,4 @@ export declare const INSTRUMENTED_MODULE_NAMES: string[];
32
21
  * `INSTRUMENTED_MODULE_NAMES` directly rather than this helper.)
33
22
  */
34
23
  export declare function withoutInstrumentedExternals(external: readonly string[] | undefined): string[] | undefined;
35
- //# sourceMappingURL=config.d.ts.map
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,7 @@
1
+ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ export declare const ioredisConfig: InstrumentationConfig[];
3
+ export declare const ioredisChannels: {
4
+ readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
5
+ readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
6
+ };
7
+ //# sourceMappingURL=ioredis.d.ts.map
@@ -0,0 +1,16 @@
1
+ export declare const lruMemoizerConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ functionName: string;
10
+ kind: "Callback";
11
+ };
12
+ }[];
13
+ export declare const lruMemoizerChannels: {
14
+ readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
15
+ };
16
+ //# sourceMappingURL=lru-memoizer.d.ts.map
@@ -0,0 +1,16 @@
1
+ export declare const mysqlConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Auto";
11
+ };
12
+ }[];
13
+ export declare const mysqlChannels: {
14
+ readonly MYSQL_QUERY: "orchestrion:mysql:query";
15
+ };
16
+ //# sourceMappingURL=mysql.d.ts.map
@@ -0,0 +1,20 @@
1
+ export declare const openaiConfig: {
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Auto";
12
+ };
13
+ }[];
14
+ export declare const openaiChannels: {
15
+ readonly OPENAI_CHAT: "orchestrion:openai:chat";
16
+ readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
17
+ readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
18
+ readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
19
+ };
20
+ //# sourceMappingURL=openai.d.ts.map
@@ -0,0 +1,33 @@
1
+ export declare const pgConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ className: string;
10
+ methodName: string;
11
+ kind: "Auto";
12
+ expressionName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ name: string;
18
+ versionRange: string;
19
+ filePath: string;
20
+ };
21
+ functionQuery: {
22
+ expressionName: string;
23
+ kind: "Auto";
24
+ className?: undefined;
25
+ methodName?: undefined;
26
+ };
27
+ })[];
28
+ export declare const pgChannels: {
29
+ readonly PG_QUERY: "orchestrion:pg:query";
30
+ readonly PG_CONNECT: "orchestrion:pg:connect";
31
+ readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
32
+ };
33
+ //# sourceMappingURL=pg.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ export declare const postgresJsConfig: InstrumentationConfig[];
3
+ export declare const postgresJsChannels: {
4
+ readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
5
+ readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
6
+ readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
7
+ readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
8
+ };
9
+ //# sourceMappingURL=postgres.d.ts.map
@@ -0,0 +1,37 @@
1
+ export declare const redisConfig: ({
2
+ channelName: string;
3
+ module: {
4
+ name: string;
5
+ versionRange: string;
6
+ filePath: string;
7
+ };
8
+ functionQuery: {
9
+ expressionName: string;
10
+ kind: "Sync";
11
+ className?: undefined;
12
+ methodName?: undefined;
13
+ };
14
+ } | {
15
+ channelName: string;
16
+ module: {
17
+ name: string;
18
+ versionRange: string;
19
+ filePath: string;
20
+ };
21
+ functionQuery: {
22
+ className: string;
23
+ methodName: string;
24
+ kind: "Async";
25
+ expressionName?: undefined;
26
+ };
27
+ })[];
28
+ export declare const redisChannels: {
29
+ readonly REDIS_COMMAND: "orchestrion:redis:command";
30
+ readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
31
+ readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
32
+ readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
33
+ readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
34
+ readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
35
+ readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
36
+ };
37
+ //# sourceMappingURL=redis.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
2
+ export declare const vercelAiConfig: InstrumentationConfig[];
3
+ export declare const vercelAiChannels: {
4
+ readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
5
+ readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
6
+ readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
7
+ readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
8
+ readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
9
+ readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
10
+ readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
11
+ };
12
+ //# sourceMappingURL=vercel-ai.d.ts.map
@@ -4,6 +4,16 @@ declare global {
4
4
  bundler?: boolean;
5
5
  } | undefined;
6
6
  }
7
+ /**
8
+ * Whether orchestrion has injected the diagnostics channels into this process,
9
+ * either by the runtime `--import` hook / init-time registration (`runtime`)
10
+ * or a bundler plugin (`bundler`). Both injectors set a flag on the
11
+ * `globalThis.__SENTRY_ORCHESTRION__` marker.
12
+ *
13
+ * Use this to avoid wiring up channel-subscriber integrations when nothing
14
+ * will ever publish to those channels.
15
+ */
16
+ export declare function isOrchestrionInjected(): boolean;
7
17
  /**
8
18
  * Verifies that the diagnostics channels have been injected either by the
9
19
  * runtime `--import` hook (or init-time registration), a bundler plugin, or