@sentry/node 10.62.0 → 10.64.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 (497) hide show
  1. package/build/cjs/index.js +15 -14
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/integrations/featureFlagShims/launchDarkly.js.map +1 -1
  4. package/build/cjs/integrations/featureFlagShims/openFeature.js.map +1 -1
  5. package/build/cjs/integrations/featureFlagShims/statsig.js.map +1 -1
  6. package/build/cjs/integrations/featureFlagShims/unleash.js.map +1 -1
  7. package/build/cjs/integrations/fs/index.js.map +1 -1
  8. package/build/cjs/integrations/http.js.map +1 -1
  9. package/build/cjs/integrations/node-fetch.js +24 -0
  10. package/build/cjs/integrations/node-fetch.js.map +1 -0
  11. package/build/cjs/integrations/tracing/amqplib/index.js.map +1 -1
  12. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js +0 -6
  13. package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js.map +1 -1
  14. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js +11 -10
  15. package/build/cjs/integrations/tracing/amqplib/vendored/utils.js.map +1 -1
  16. package/build/cjs/integrations/tracing/connect/index.js.map +1 -1
  17. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js +2 -2
  18. package/build/cjs/integrations/tracing/connect/vendored/instrumentation.js.map +1 -1
  19. package/build/cjs/integrations/tracing/dataloader/index.js.map +1 -1
  20. package/build/cjs/integrations/tracing/express.js.map +1 -1
  21. package/build/cjs/integrations/tracing/fastify/index.js +7 -103
  22. package/build/cjs/integrations/tracing/fastify/index.js.map +1 -1
  23. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js +4 -5
  24. package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js.map +1 -1
  25. package/build/cjs/integrations/tracing/firebase/firebase.js.map +1 -1
  26. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js +9 -9
  27. package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js.map +1 -1
  28. package/build/cjs/integrations/tracing/genericPool/index.js.map +1 -1
  29. package/build/cjs/integrations/tracing/graphql/index.js.map +1 -1
  30. package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
  31. package/build/cjs/integrations/tracing/hapi/vendored/utils.js +8 -9
  32. package/build/cjs/integrations/tracing/hapi/vendored/utils.js.map +1 -1
  33. package/build/cjs/integrations/tracing/hono/index.js +7 -7
  34. package/build/cjs/integrations/tracing/hono/index.js.map +1 -1
  35. package/build/cjs/integrations/tracing/index.js +0 -1
  36. package/build/cjs/integrations/tracing/index.js.map +1 -1
  37. package/build/cjs/integrations/tracing/kafka/index.js.map +1 -1
  38. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js +2 -1
  39. package/build/cjs/integrations/tracing/kafka/vendored/instrumentation.js.map +1 -1
  40. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js +0 -12
  41. package/build/cjs/integrations/tracing/kafka/vendored/semconv.js.map +1 -1
  42. package/build/cjs/integrations/tracing/kafka/vendored/utils.js +12 -11
  43. package/build/cjs/integrations/tracing/kafka/vendored/utils.js.map +1 -1
  44. package/build/cjs/integrations/tracing/knex/index.js.map +1 -1
  45. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js +11 -10
  46. package/build/cjs/integrations/tracing/knex/vendored/instrumentation.js.map +1 -1
  47. package/build/cjs/integrations/tracing/knex/vendored/semconv.js +0 -16
  48. package/build/cjs/integrations/tracing/knex/vendored/semconv.js.map +1 -1
  49. package/build/cjs/integrations/tracing/koa/index.js.map +1 -1
  50. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js +2 -2
  51. package/build/cjs/integrations/tracing/koa/vendored/instrumentation.js.map +1 -1
  52. package/build/cjs/integrations/tracing/koa/vendored/utils.js +2 -2
  53. package/build/cjs/integrations/tracing/koa/vendored/utils.js.map +1 -1
  54. package/build/cjs/integrations/tracing/lrumemoizer/index.js.map +1 -1
  55. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js +4 -2
  56. package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +1 -1
  57. package/build/cjs/integrations/tracing/mongo/index.js.map +1 -1
  58. package/build/cjs/integrations/tracing/mongo/vendored/semconv.js +0 -12
  59. package/build/cjs/integrations/tracing/mongo/vendored/semconv.js.map +1 -1
  60. package/build/cjs/integrations/tracing/mongo/vendored/utils.js +12 -11
  61. package/build/cjs/integrations/tracing/mongo/vendored/utils.js.map +1 -1
  62. package/build/cjs/integrations/tracing/mongoose/index.js +3 -2
  63. package/build/cjs/integrations/tracing/mongoose/index.js.map +1 -1
  64. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js +11 -8
  65. package/build/cjs/integrations/tracing/mongoose/vendored/mongoose.js.map +1 -1
  66. package/build/cjs/integrations/tracing/mongoose/vendored/semconv.js +0 -12
  67. package/build/cjs/integrations/tracing/mongoose/vendored/semconv.js.map +1 -1
  68. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js +9 -9
  69. package/build/cjs/integrations/tracing/mongoose/vendored/utils.js.map +1 -1
  70. package/build/cjs/integrations/tracing/mysql/index.js.map +1 -1
  71. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js +36 -129
  72. package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js.map +1 -1
  73. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js +0 -14
  74. package/build/cjs/integrations/tracing/mysql/vendored/semconv.js.map +1 -1
  75. package/build/cjs/integrations/tracing/mysql/vendored/utils.js +2 -27
  76. package/build/cjs/integrations/tracing/mysql/vendored/utils.js.map +1 -1
  77. package/build/cjs/integrations/tracing/mysql2/index.js.map +1 -1
  78. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js +7 -4
  79. package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js.map +1 -1
  80. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js +0 -12
  81. package/build/cjs/integrations/tracing/mysql2/vendored/semconv.js.map +1 -1
  82. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js +7 -4
  83. package/build/cjs/integrations/tracing/mysql2/vendored/utils.js.map +1 -1
  84. package/build/cjs/integrations/tracing/postgres/index.js.map +1 -1
  85. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js +0 -12
  86. package/build/cjs/integrations/tracing/postgres/vendored/semconv.js.map +1 -1
  87. package/build/cjs/integrations/tracing/postgres/vendored/utils.js +12 -11
  88. package/build/cjs/integrations/tracing/postgres/vendored/utils.js.map +1 -1
  89. package/build/cjs/integrations/tracing/postgresjs.js +8 -7
  90. package/build/cjs/integrations/tracing/postgresjs.js.map +1 -1
  91. package/build/cjs/integrations/tracing/prisma/index.js +48 -62
  92. package/build/cjs/integrations/tracing/prisma/index.js.map +1 -1
  93. package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js +83 -57
  94. package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +1 -1
  95. package/build/cjs/integrations/tracing/prisma/vendored/constants.js.map +1 -1
  96. package/build/cjs/integrations/tracing/prisma/vendored/global.js +2 -2
  97. package/build/cjs/integrations/tracing/prisma/vendored/global.js.map +1 -1
  98. package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js +1 -6
  99. package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js.map +1 -1
  100. package/build/cjs/integrations/tracing/redis/cache.js +41 -0
  101. package/build/cjs/integrations/tracing/redis/cache.js.map +1 -0
  102. package/build/cjs/integrations/tracing/redis/index.js +16 -38
  103. package/build/cjs/integrations/tracing/redis/index.js.map +1 -1
  104. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js +22 -13
  105. package/build/cjs/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +1 -1
  106. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js +21 -15
  107. package/build/cjs/integrations/tracing/redis/vendored/redis-instrumentation.js.map +1 -1
  108. package/build/cjs/integrations/tracing/redis/vendored/semconv.js +0 -8
  109. package/build/cjs/integrations/tracing/redis/vendored/semconv.js.map +1 -1
  110. package/build/cjs/integrations/tracing/tedious/index.js.map +1 -1
  111. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js +9 -8
  112. package/build/cjs/integrations/tracing/tedious/vendored/instrumentation.js.map +1 -1
  113. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js +0 -12
  114. package/build/cjs/integrations/tracing/tedious/vendored/semconv.js.map +1 -1
  115. package/build/cjs/integrations/tracing/vercelai/constants.js.map +1 -1
  116. package/build/cjs/integrations/tracing/vercelai/index.js +2 -4
  117. package/build/cjs/integrations/tracing/vercelai/index.js.map +1 -1
  118. package/build/cjs/sdk/diagnosticsChannelInjection.js.map +1 -1
  119. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js +18 -6
  120. package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
  121. package/build/cjs/sdk/index.js +2 -2
  122. package/build/cjs/sdk/index.js.map +1 -1
  123. package/build/cjs/sdk/initOtel.js +36 -0
  124. package/build/cjs/sdk/initOtel.js.map +1 -1
  125. package/build/esm/index.js +2 -2
  126. package/build/esm/integrations/featureFlagShims/launchDarkly.js.map +1 -1
  127. package/build/esm/integrations/featureFlagShims/openFeature.js.map +1 -1
  128. package/build/esm/integrations/featureFlagShims/statsig.js.map +1 -1
  129. package/build/esm/integrations/featureFlagShims/unleash.js.map +1 -1
  130. package/build/esm/integrations/fs/index.js.map +1 -1
  131. package/build/esm/integrations/http.js.map +1 -1
  132. package/build/esm/integrations/node-fetch.js +22 -0
  133. package/build/esm/integrations/node-fetch.js.map +1 -0
  134. package/build/esm/integrations/tracing/amqplib/index.js.map +1 -1
  135. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js +1 -4
  136. package/build/esm/integrations/tracing/amqplib/vendored/semconv.js.map +1 -1
  137. package/build/esm/integrations/tracing/amqplib/vendored/utils.js +7 -6
  138. package/build/esm/integrations/tracing/amqplib/vendored/utils.js.map +1 -1
  139. package/build/esm/integrations/tracing/connect/index.js.map +1 -1
  140. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js +2 -2
  141. package/build/esm/integrations/tracing/connect/vendored/instrumentation.js.map +1 -1
  142. package/build/esm/integrations/tracing/dataloader/index.js.map +1 -1
  143. package/build/esm/integrations/tracing/express.js.map +1 -1
  144. package/build/esm/integrations/tracing/fastify/index.js +8 -103
  145. package/build/esm/integrations/tracing/fastify/index.js.map +1 -1
  146. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js +5 -6
  147. package/build/esm/integrations/tracing/fastify/v3/instrumentation.js.map +1 -1
  148. package/build/esm/integrations/tracing/firebase/firebase.js.map +1 -1
  149. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js +7 -7
  150. package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js.map +1 -1
  151. package/build/esm/integrations/tracing/genericPool/index.js.map +1 -1
  152. package/build/esm/integrations/tracing/graphql/index.js.map +1 -1
  153. package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
  154. package/build/esm/integrations/tracing/hapi/vendored/utils.js +3 -4
  155. package/build/esm/integrations/tracing/hapi/vendored/utils.js.map +1 -1
  156. package/build/esm/integrations/tracing/hono/index.js +3 -3
  157. package/build/esm/integrations/tracing/hono/index.js.map +1 -1
  158. package/build/esm/integrations/tracing/index.js +1 -2
  159. package/build/esm/integrations/tracing/index.js.map +1 -1
  160. package/build/esm/integrations/tracing/kafka/index.js.map +1 -1
  161. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js +3 -2
  162. package/build/esm/integrations/tracing/kafka/vendored/instrumentation.js.map +1 -1
  163. package/build/esm/integrations/tracing/kafka/vendored/semconv.js +1 -7
  164. package/build/esm/integrations/tracing/kafka/vendored/semconv.js.map +1 -1
  165. package/build/esm/integrations/tracing/kafka/vendored/utils.js +11 -10
  166. package/build/esm/integrations/tracing/kafka/vendored/utils.js.map +1 -1
  167. package/build/esm/integrations/tracing/knex/index.js.map +1 -1
  168. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js +10 -9
  169. package/build/esm/integrations/tracing/knex/vendored/instrumentation.js.map +1 -1
  170. package/build/esm/integrations/tracing/knex/vendored/semconv.js +1 -9
  171. package/build/esm/integrations/tracing/knex/vendored/semconv.js.map +1 -1
  172. package/build/esm/integrations/tracing/koa/index.js.map +1 -1
  173. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js +2 -2
  174. package/build/esm/integrations/tracing/koa/vendored/instrumentation.js.map +1 -1
  175. package/build/esm/integrations/tracing/koa/vendored/utils.js +2 -2
  176. package/build/esm/integrations/tracing/koa/vendored/utils.js.map +1 -1
  177. package/build/esm/integrations/tracing/lrumemoizer/index.js.map +1 -1
  178. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js +5 -3
  179. package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +1 -1
  180. package/build/esm/integrations/tracing/mongo/index.js.map +1 -1
  181. package/build/esm/integrations/tracing/mongo/vendored/semconv.js +1 -7
  182. package/build/esm/integrations/tracing/mongo/vendored/semconv.js.map +1 -1
  183. package/build/esm/integrations/tracing/mongo/vendored/utils.js +9 -8
  184. package/build/esm/integrations/tracing/mongo/vendored/utils.js.map +1 -1
  185. package/build/esm/integrations/tracing/mongoose/index.js +4 -3
  186. package/build/esm/integrations/tracing/mongoose/index.js.map +1 -1
  187. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js +9 -6
  188. package/build/esm/integrations/tracing/mongoose/vendored/mongoose.js.map +1 -1
  189. package/build/esm/integrations/tracing/mongoose/vendored/semconv.js +1 -7
  190. package/build/esm/integrations/tracing/mongoose/vendored/semconv.js.map +1 -1
  191. package/build/esm/integrations/tracing/mongoose/vendored/utils.js +10 -10
  192. package/build/esm/integrations/tracing/mongoose/vendored/utils.js.map +1 -1
  193. package/build/esm/integrations/tracing/mysql/index.js.map +1 -1
  194. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js +38 -131
  195. package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js.map +1 -1
  196. package/build/esm/integrations/tracing/mysql/vendored/semconv.js +1 -8
  197. package/build/esm/integrations/tracing/mysql/vendored/semconv.js.map +1 -1
  198. package/build/esm/integrations/tracing/mysql/vendored/utils.js +3 -25
  199. package/build/esm/integrations/tracing/mysql/vendored/utils.js.map +1 -1
  200. package/build/esm/integrations/tracing/mysql2/index.js.map +1 -1
  201. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js +6 -3
  202. package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js.map +1 -1
  203. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js +1 -7
  204. package/build/esm/integrations/tracing/mysql2/vendored/semconv.js.map +1 -1
  205. package/build/esm/integrations/tracing/mysql2/vendored/utils.js +8 -5
  206. package/build/esm/integrations/tracing/mysql2/vendored/utils.js.map +1 -1
  207. package/build/esm/integrations/tracing/postgres/index.js.map +1 -1
  208. package/build/esm/integrations/tracing/postgres/vendored/semconv.js +1 -7
  209. package/build/esm/integrations/tracing/postgres/vendored/semconv.js.map +1 -1
  210. package/build/esm/integrations/tracing/postgres/vendored/utils.js +13 -12
  211. package/build/esm/integrations/tracing/postgres/vendored/utils.js.map +1 -1
  212. package/build/esm/integrations/tracing/postgresjs.js +7 -6
  213. package/build/esm/integrations/tracing/postgresjs.js.map +1 -1
  214. package/build/esm/integrations/tracing/prisma/index.js +49 -63
  215. package/build/esm/integrations/tracing/prisma/index.js.map +1 -1
  216. package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js +83 -57
  217. package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +1 -1
  218. package/build/esm/integrations/tracing/prisma/vendored/constants.js.map +1 -1
  219. package/build/esm/integrations/tracing/prisma/vendored/global.js +2 -2
  220. package/build/esm/integrations/tracing/prisma/vendored/global.js.map +1 -1
  221. package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js +1 -6
  222. package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js.map +1 -1
  223. package/build/esm/integrations/tracing/redis/cache.js +38 -0
  224. package/build/esm/integrations/tracing/redis/cache.js.map +1 -0
  225. package/build/esm/integrations/tracing/redis/index.js +12 -37
  226. package/build/esm/integrations/tracing/redis/index.js.map +1 -1
  227. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js +19 -10
  228. package/build/esm/integrations/tracing/redis/vendored/ioredis-instrumentation.js.map +1 -1
  229. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js +16 -10
  230. package/build/esm/integrations/tracing/redis/vendored/redis-instrumentation.js.map +1 -1
  231. package/build/esm/integrations/tracing/redis/vendored/semconv.js +1 -5
  232. package/build/esm/integrations/tracing/redis/vendored/semconv.js.map +1 -1
  233. package/build/esm/integrations/tracing/tedious/index.js.map +1 -1
  234. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js +8 -7
  235. package/build/esm/integrations/tracing/tedious/vendored/instrumentation.js.map +1 -1
  236. package/build/esm/integrations/tracing/tedious/vendored/semconv.js +1 -7
  237. package/build/esm/integrations/tracing/tedious/vendored/semconv.js.map +1 -1
  238. package/build/esm/integrations/tracing/vercelai/constants.js.map +1 -1
  239. package/build/esm/integrations/tracing/vercelai/index.js +3 -5
  240. package/build/esm/integrations/tracing/vercelai/index.js.map +1 -1
  241. package/build/esm/package.json +1 -1
  242. package/build/esm/sdk/diagnosticsChannelInjection.js.map +1 -1
  243. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js +19 -8
  244. package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
  245. package/build/esm/sdk/index.js +1 -1
  246. package/build/esm/sdk/initOtel.js +38 -2
  247. package/build/esm/sdk/initOtel.js.map +1 -1
  248. package/build/types/index.d.ts +1 -1
  249. package/build/types/index.d.ts.map +1 -1
  250. package/build/types/integrations/featureFlagShims/launchDarkly.d.ts +3 -1
  251. package/build/types/integrations/featureFlagShims/launchDarkly.d.ts.map +1 -1
  252. package/build/types/integrations/featureFlagShims/openFeature.d.ts +3 -1
  253. package/build/types/integrations/featureFlagShims/openFeature.d.ts.map +1 -1
  254. package/build/types/integrations/featureFlagShims/statsig.d.ts +3 -1
  255. package/build/types/integrations/featureFlagShims/statsig.d.ts.map +1 -1
  256. package/build/types/integrations/featureFlagShims/unleash.d.ts +3 -1
  257. package/build/types/integrations/featureFlagShims/unleash.d.ts.map +1 -1
  258. package/build/types/integrations/fs/index.d.ts +3 -1
  259. package/build/types/integrations/fs/index.d.ts.map +1 -1
  260. package/build/types/integrations/http.d.ts +3 -1
  261. package/build/types/integrations/http.d.ts.map +1 -1
  262. package/build/types/integrations/node-fetch.d.ts +9 -0
  263. package/build/types/integrations/node-fetch.d.ts.map +1 -0
  264. package/build/types/integrations/tracing/amqplib/index.d.ts +3 -1
  265. package/build/types/integrations/tracing/amqplib/index.d.ts.map +1 -1
  266. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -6
  267. package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts.map +1 -1
  268. package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts.map +1 -1
  269. package/build/types/integrations/tracing/anthropic-ai/index.d.ts +3 -1
  270. package/build/types/integrations/tracing/anthropic-ai/index.d.ts.map +1 -1
  271. package/build/types/integrations/tracing/connect/index.d.ts +3 -1
  272. package/build/types/integrations/tracing/connect/index.d.ts.map +1 -1
  273. package/build/types/integrations/tracing/dataloader/index.d.ts +3 -1
  274. package/build/types/integrations/tracing/dataloader/index.d.ts.map +1 -1
  275. package/build/types/integrations/tracing/express.d.ts +3 -1
  276. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  277. package/build/types/integrations/tracing/fastify/index.d.ts +6 -6
  278. package/build/types/integrations/tracing/fastify/index.d.ts.map +1 -1
  279. package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts.map +1 -1
  280. package/build/types/integrations/tracing/firebase/firebase.d.ts +3 -1
  281. package/build/types/integrations/tracing/firebase/firebase.d.ts.map +1 -1
  282. package/build/types/integrations/tracing/genericPool/index.d.ts +3 -1
  283. package/build/types/integrations/tracing/genericPool/index.d.ts.map +1 -1
  284. package/build/types/integrations/tracing/google-genai/index.d.ts +3 -1
  285. package/build/types/integrations/tracing/google-genai/index.d.ts.map +1 -1
  286. package/build/types/integrations/tracing/graphql/index.d.ts +3 -1
  287. package/build/types/integrations/tracing/graphql/index.d.ts.map +1 -1
  288. package/build/types/integrations/tracing/hapi/index.d.ts +3 -1
  289. package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  290. package/build/types/integrations/tracing/hapi/vendored/utils.d.ts.map +1 -1
  291. package/build/types/integrations/tracing/hono/index.d.ts +3 -1
  292. package/build/types/integrations/tracing/hono/index.d.ts.map +1 -1
  293. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  294. package/build/types/integrations/tracing/kafka/index.d.ts +3 -1
  295. package/build/types/integrations/tracing/kafka/index.d.ts.map +1 -1
  296. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts +5 -63
  297. package/build/types/integrations/tracing/kafka/vendored/semconv.d.ts.map +1 -1
  298. package/build/types/integrations/tracing/kafka/vendored/utils.d.ts.map +1 -1
  299. package/build/types/integrations/tracing/knex/index.d.ts +3 -1
  300. package/build/types/integrations/tracing/knex/index.d.ts.map +1 -1
  301. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts +0 -32
  302. package/build/types/integrations/tracing/knex/vendored/semconv.d.ts.map +1 -1
  303. package/build/types/integrations/tracing/koa/index.d.ts +3 -1
  304. package/build/types/integrations/tracing/koa/index.d.ts.map +1 -1
  305. package/build/types/integrations/tracing/langchain/index.d.ts +3 -1
  306. package/build/types/integrations/tracing/langchain/index.d.ts.map +1 -1
  307. package/build/types/integrations/tracing/langgraph/index.d.ts +3 -1
  308. package/build/types/integrations/tracing/langgraph/index.d.ts.map +1 -1
  309. package/build/types/integrations/tracing/lrumemoizer/index.d.ts +3 -1
  310. package/build/types/integrations/tracing/lrumemoizer/index.d.ts.map +1 -1
  311. package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts.map +1 -1
  312. package/build/types/integrations/tracing/mongo/index.d.ts +3 -1
  313. package/build/types/integrations/tracing/mongo/index.d.ts.map +1 -1
  314. package/build/types/integrations/tracing/mongo/vendored/semconv.d.ts +1 -37
  315. package/build/types/integrations/tracing/mongo/vendored/semconv.d.ts.map +1 -1
  316. package/build/types/integrations/tracing/mongo/vendored/utils.d.ts.map +1 -1
  317. package/build/types/integrations/tracing/mongoose/index.d.ts +3 -1
  318. package/build/types/integrations/tracing/mongoose/index.d.ts.map +1 -1
  319. package/build/types/integrations/tracing/mongoose/vendored/mongoose.d.ts.map +1 -1
  320. package/build/types/integrations/tracing/mongoose/vendored/semconv.d.ts +0 -48
  321. package/build/types/integrations/tracing/mongoose/vendored/semconv.d.ts.map +1 -1
  322. package/build/types/integrations/tracing/mongoose/vendored/utils.d.ts.map +1 -1
  323. package/build/types/integrations/tracing/mysql/index.d.ts +3 -1
  324. package/build/types/integrations/tracing/mysql/index.d.ts.map +1 -1
  325. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts +3 -17
  326. package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts.map +1 -1
  327. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts +16 -16
  328. package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts.map +1 -1
  329. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts +1 -70
  330. package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts.map +1 -1
  331. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts +6 -9
  332. package/build/types/integrations/tracing/mysql/vendored/utils.d.ts.map +1 -1
  333. package/build/types/integrations/tracing/mysql2/index.d.ts +3 -1
  334. package/build/types/integrations/tracing/mysql2/index.d.ts.map +1 -1
  335. package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts.map +1 -1
  336. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -6
  337. package/build/types/integrations/tracing/mysql2/vendored/semconv.d.ts.map +1 -1
  338. package/build/types/integrations/tracing/mysql2/vendored/utils.d.ts.map +1 -1
  339. package/build/types/integrations/tracing/openai/index.d.ts +3 -1
  340. package/build/types/integrations/tracing/openai/index.d.ts.map +1 -1
  341. package/build/types/integrations/tracing/postgres/index.d.ts +3 -1
  342. package/build/types/integrations/tracing/postgres/index.d.ts.map +1 -1
  343. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts +1 -50
  344. package/build/types/integrations/tracing/postgres/vendored/semconv.d.ts.map +1 -1
  345. package/build/types/integrations/tracing/postgres/vendored/utils.d.ts.map +1 -1
  346. package/build/types/integrations/tracing/postgresjs.d.ts +3 -1
  347. package/build/types/integrations/tracing/postgresjs.d.ts.map +1 -1
  348. package/build/types/integrations/tracing/prisma/index.d.ts +5 -21
  349. package/build/types/integrations/tracing/prisma/index.d.ts.map +1 -1
  350. package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +5 -7
  351. package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts.map +1 -1
  352. package/build/types/integrations/tracing/prisma/vendored/constants.d.ts.map +1 -1
  353. package/build/types/integrations/tracing/prisma/vendored/global.d.ts.map +1 -1
  354. package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts +2 -4
  355. package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts.map +1 -1
  356. package/build/types/integrations/tracing/prisma/vendored/types.d.ts +5 -23
  357. package/build/types/integrations/tracing/prisma/vendored/types.d.ts.map +1 -1
  358. package/build/types/integrations/tracing/redis/cache.d.ts +22 -0
  359. package/build/types/integrations/tracing/redis/cache.d.ts.map +1 -0
  360. package/build/types/integrations/tracing/redis/index.d.ts +6 -22
  361. package/build/types/integrations/tracing/redis/index.d.ts.map +1 -1
  362. package/build/types/integrations/tracing/redis/vendored/ioredis-instrumentation.d.ts.map +1 -1
  363. package/build/types/integrations/tracing/redis/vendored/redis-instrumentation.d.ts.map +1 -1
  364. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  365. package/build/types/integrations/tracing/redis/vendored/semconv.d.ts.map +1 -1
  366. package/build/types/integrations/tracing/tedious/index.d.ts +3 -1
  367. package/build/types/integrations/tracing/tedious/index.d.ts.map +1 -1
  368. package/build/types/integrations/tracing/tedious/vendored/instrumentation.d.ts.map +1 -1
  369. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts +1 -62
  370. package/build/types/integrations/tracing/tedious/vendored/semconv.d.ts.map +1 -1
  371. package/build/types/integrations/tracing/vercelai/constants.d.ts +1 -1
  372. package/build/types/integrations/tracing/vercelai/constants.d.ts.map +1 -1
  373. package/build/types/integrations/tracing/vercelai/index.d.ts +3 -1
  374. package/build/types/integrations/tracing/vercelai/index.d.ts.map +1 -1
  375. package/build/types/sdk/diagnosticsChannelInjection.d.ts +1 -1
  376. package/build/types/sdk/diagnosticsChannelInjection.d.ts.map +1 -1
  377. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +2 -0
  378. package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts.map +1 -1
  379. package/build/types/sdk/initOtel.d.ts +2 -3
  380. package/build/types/sdk/initOtel.d.ts.map +1 -1
  381. package/build/types-ts3.8/index.d.ts +1 -1
  382. package/build/types-ts3.8/integrations/featureFlagShims/launchDarkly.d.ts +3 -1
  383. package/build/types-ts3.8/integrations/featureFlagShims/openFeature.d.ts +3 -1
  384. package/build/types-ts3.8/integrations/featureFlagShims/statsig.d.ts +3 -1
  385. package/build/types-ts3.8/integrations/featureFlagShims/unleash.d.ts +3 -1
  386. package/build/types-ts3.8/integrations/fs/index.d.ts +3 -1
  387. package/build/types-ts3.8/integrations/http.d.ts +3 -1
  388. package/build/types-ts3.8/integrations/node-fetch.d.ts +9 -0
  389. package/build/types-ts3.8/integrations/tracing/amqplib/index.d.ts +3 -1
  390. package/build/types-ts3.8/integrations/tracing/amqplib/vendored/semconv.d.ts +0 -6
  391. package/build/types-ts3.8/integrations/tracing/anthropic-ai/index.d.ts +3 -1
  392. package/build/types-ts3.8/integrations/tracing/connect/index.d.ts +3 -1
  393. package/build/types-ts3.8/integrations/tracing/dataloader/index.d.ts +3 -1
  394. package/build/types-ts3.8/integrations/tracing/express.d.ts +3 -1
  395. package/build/types-ts3.8/integrations/tracing/fastify/index.d.ts +6 -6
  396. package/build/types-ts3.8/integrations/tracing/firebase/firebase.d.ts +3 -1
  397. package/build/types-ts3.8/integrations/tracing/genericPool/index.d.ts +3 -1
  398. package/build/types-ts3.8/integrations/tracing/google-genai/index.d.ts +3 -1
  399. package/build/types-ts3.8/integrations/tracing/graphql/index.d.ts +3 -1
  400. package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +3 -1
  401. package/build/types-ts3.8/integrations/tracing/hono/index.d.ts +3 -1
  402. package/build/types-ts3.8/integrations/tracing/kafka/index.d.ts +3 -1
  403. package/build/types-ts3.8/integrations/tracing/kafka/vendored/semconv.d.ts +5 -63
  404. package/build/types-ts3.8/integrations/tracing/knex/index.d.ts +3 -1
  405. package/build/types-ts3.8/integrations/tracing/knex/vendored/semconv.d.ts +0 -32
  406. package/build/types-ts3.8/integrations/tracing/koa/index.d.ts +3 -1
  407. package/build/types-ts3.8/integrations/tracing/langchain/index.d.ts +3 -1
  408. package/build/types-ts3.8/integrations/tracing/langgraph/index.d.ts +3 -1
  409. package/build/types-ts3.8/integrations/tracing/lrumemoizer/index.d.ts +3 -1
  410. package/build/types-ts3.8/integrations/tracing/mongo/index.d.ts +3 -1
  411. package/build/types-ts3.8/integrations/tracing/mongo/vendored/semconv.d.ts +1 -37
  412. package/build/types-ts3.8/integrations/tracing/mongoose/index.d.ts +3 -1
  413. package/build/types-ts3.8/integrations/tracing/mongoose/vendored/semconv.d.ts +0 -48
  414. package/build/types-ts3.8/integrations/tracing/mysql/index.d.ts +3 -1
  415. package/build/types-ts3.8/integrations/tracing/mysql/vendored/instrumentation.d.ts +3 -17
  416. package/build/types-ts3.8/integrations/tracing/mysql/vendored/mysql-types.d.ts +16 -16
  417. package/build/types-ts3.8/integrations/tracing/mysql/vendored/semconv.d.ts +1 -70
  418. package/build/types-ts3.8/integrations/tracing/mysql/vendored/utils.d.ts +6 -9
  419. package/build/types-ts3.8/integrations/tracing/mysql2/index.d.ts +3 -1
  420. package/build/types-ts3.8/integrations/tracing/mysql2/vendored/semconv.d.ts +0 -6
  421. package/build/types-ts3.8/integrations/tracing/openai/index.d.ts +3 -1
  422. package/build/types-ts3.8/integrations/tracing/postgres/index.d.ts +3 -1
  423. package/build/types-ts3.8/integrations/tracing/postgres/vendored/semconv.d.ts +1 -50
  424. package/build/types-ts3.8/integrations/tracing/postgresjs.d.ts +3 -1
  425. package/build/types-ts3.8/integrations/tracing/prisma/index.d.ts +5 -21
  426. package/build/types-ts3.8/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +5 -7
  427. package/build/types-ts3.8/integrations/tracing/prisma/vendored/instrumentation.d.ts +2 -4
  428. package/build/types-ts3.8/integrations/tracing/prisma/vendored/types.d.ts +5 -23
  429. package/build/types-ts3.8/integrations/tracing/redis/cache.d.ts +22 -0
  430. package/build/types-ts3.8/integrations/tracing/redis/index.d.ts +6 -22
  431. package/build/types-ts3.8/integrations/tracing/redis/vendored/semconv.d.ts +0 -4
  432. package/build/types-ts3.8/integrations/tracing/tedious/index.d.ts +3 -1
  433. package/build/types-ts3.8/integrations/tracing/tedious/vendored/semconv.d.ts +1 -62
  434. package/build/types-ts3.8/integrations/tracing/vercelai/constants.d.ts +1 -1
  435. package/build/types-ts3.8/integrations/tracing/vercelai/index.d.ts +3 -1
  436. package/build/types-ts3.8/sdk/diagnosticsChannelInjection.d.ts +1 -1
  437. package/build/types-ts3.8/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +2 -0
  438. package/build/types-ts3.8/sdk/initOtel.d.ts +3 -4
  439. package/package.json +8 -8
  440. package/build/cjs/integrations/node-fetch/index.js +0 -80
  441. package/build/cjs/integrations/node-fetch/index.js.map +0 -1
  442. package/build/cjs/integrations/node-fetch/vendored/semconv.js +0 -28
  443. package/build/cjs/integrations/node-fetch/vendored/semconv.js.map +0 -1
  444. package/build/cjs/integrations/node-fetch/vendored/undici.js +0 -302
  445. package/build/cjs/integrations/node-fetch/vendored/undici.js.map +0 -1
  446. package/build/cjs/integrations/tracing/fastify/vendored/instrumentation.js +0 -387
  447. package/build/cjs/integrations/tracing/fastify/vendored/instrumentation.js.map +0 -1
  448. package/build/cjs/integrations/tracing/hapi/vendored/semconv.js +0 -6
  449. package/build/cjs/integrations/tracing/hapi/vendored/semconv.js.map +0 -1
  450. package/build/cjs/integrations/tracing/mysql/vendored/AttributeNames.js +0 -9
  451. package/build/cjs/integrations/tracing/mysql/vendored/AttributeNames.js.map +0 -1
  452. package/build/cjs/integrations/tracing/redis/vendored/redis-common.js +0 -34
  453. package/build/cjs/integrations/tracing/redis/vendored/redis-common.js.map +0 -1
  454. package/build/esm/integrations/node-fetch/index.js +0 -77
  455. package/build/esm/integrations/node-fetch/index.js.map +0 -1
  456. package/build/esm/integrations/node-fetch/vendored/semconv.js +0 -15
  457. package/build/esm/integrations/node-fetch/vendored/semconv.js.map +0 -1
  458. package/build/esm/integrations/node-fetch/vendored/undici.js +0 -300
  459. package/build/esm/integrations/node-fetch/vendored/undici.js.map +0 -1
  460. package/build/esm/integrations/tracing/fastify/vendored/instrumentation.js +0 -385
  461. package/build/esm/integrations/tracing/fastify/vendored/instrumentation.js.map +0 -1
  462. package/build/esm/integrations/tracing/hapi/vendored/semconv.js +0 -4
  463. package/build/esm/integrations/tracing/hapi/vendored/semconv.js.map +0 -1
  464. package/build/esm/integrations/tracing/mysql/vendored/AttributeNames.js +0 -7
  465. package/build/esm/integrations/tracing/mysql/vendored/AttributeNames.js.map +0 -1
  466. package/build/esm/integrations/tracing/redis/vendored/redis-common.js +0 -32
  467. package/build/esm/integrations/tracing/redis/vendored/redis-common.js.map +0 -1
  468. package/build/types/integrations/node-fetch/index.d.ts +0 -36
  469. package/build/types/integrations/node-fetch/index.d.ts.map +0 -1
  470. package/build/types/integrations/node-fetch/vendored/internal-types.d.ts +0 -25
  471. package/build/types/integrations/node-fetch/vendored/internal-types.d.ts.map +0 -1
  472. package/build/types/integrations/node-fetch/vendored/semconv.d.ts +0 -13
  473. package/build/types/integrations/node-fetch/vendored/semconv.d.ts.map +0 -1
  474. package/build/types/integrations/node-fetch/vendored/types.d.ts +0 -60
  475. package/build/types/integrations/node-fetch/vendored/types.d.ts.map +0 -1
  476. package/build/types/integrations/node-fetch/vendored/undici.d.ts +0 -21
  477. package/build/types/integrations/node-fetch/vendored/undici.d.ts.map +0 -1
  478. package/build/types/integrations/tracing/fastify/vendored/instrumentation.d.ts +0 -27
  479. package/build/types/integrations/tracing/fastify/vendored/instrumentation.d.ts.map +0 -1
  480. package/build/types/integrations/tracing/hapi/vendored/semconv.d.ts +0 -13
  481. package/build/types/integrations/tracing/hapi/vendored/semconv.d.ts.map +0 -1
  482. package/build/types/integrations/tracing/mysql/vendored/AttributeNames.d.ts +0 -4
  483. package/build/types/integrations/tracing/mysql/vendored/AttributeNames.d.ts.map +0 -1
  484. package/build/types/integrations/tracing/mysql/vendored/types.d.ts +0 -9
  485. package/build/types/integrations/tracing/mysql/vendored/types.d.ts.map +0 -1
  486. package/build/types/integrations/tracing/redis/vendored/redis-common.d.ts +0 -6
  487. package/build/types/integrations/tracing/redis/vendored/redis-common.d.ts.map +0 -1
  488. package/build/types-ts3.8/integrations/node-fetch/index.d.ts +0 -36
  489. package/build/types-ts3.8/integrations/node-fetch/vendored/internal-types.d.ts +0 -25
  490. package/build/types-ts3.8/integrations/node-fetch/vendored/semconv.d.ts +0 -13
  491. package/build/types-ts3.8/integrations/node-fetch/vendored/types.d.ts +0 -60
  492. package/build/types-ts3.8/integrations/node-fetch/vendored/undici.d.ts +0 -21
  493. package/build/types-ts3.8/integrations/tracing/fastify/vendored/instrumentation.d.ts +0 -27
  494. package/build/types-ts3.8/integrations/tracing/hapi/vendored/semconv.d.ts +0 -13
  495. package/build/types-ts3.8/integrations/tracing/mysql/vendored/AttributeNames.d.ts +0 -4
  496. package/build/types-ts3.8/integrations/tracing/mysql/vendored/types.d.ts +0 -9
  497. package/build/types-ts3.8/integrations/tracing/redis/vendored/redis-common.d.ts +0 -6
@@ -1,27 +1,3 @@
1
- /**
2
- * The number of messages sent, received, or processed in the scope of the batching operation.
3
- *
4
- * @example 0
5
- * @example 1
6
- * @example 2
7
- *
8
- * @note Instrumentations **SHOULD NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD NOT** use it for single-message APIs.
9
- *
10
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
11
- */
12
- export declare const ATTR_MESSAGING_BATCH_MESSAGE_COUNT: "messaging.batch.message_count";
13
- /**
14
- * The message destination name
15
- *
16
- * @example MyQueue
17
- * @example MyTopic
18
- *
19
- * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If
20
- * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker.
21
- *
22
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
23
- */
24
- export declare const ATTR_MESSAGING_DESTINATION_NAME: "messaging.destination.name";
25
1
  /**
26
2
  * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`.
27
3
  *
@@ -55,57 +31,23 @@ export declare const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE: "messaging.kafka.me
55
31
  */
56
32
  export declare const ATTR_MESSAGING_KAFKA_OFFSET: "messaging.kafka.offset";
57
33
  /**
58
- * The system-specific name of the messaging operation.
59
- *
60
- * @example ack
61
- * @example nack
62
- * @example send
63
- *
64
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
65
- */
66
- export declare const ATTR_MESSAGING_OPERATION_NAME: "messaging.operation.name";
67
- /**
68
- * A string identifying the type of the messaging operation.
69
- *
70
- * @note If a custom value is used, it **MUST** be of low cardinality.
71
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
72
- */
73
- export declare const ATTR_MESSAGING_OPERATION_TYPE: "messaging.operation.type";
74
- /**
75
- * The messaging system as identified by the client instrumentation.
76
- *
77
- * @note The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system` is set to `kafka` based on the instrumentation's best knowledge.
78
- *
79
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
80
- */
81
- export declare const ATTR_MESSAGING_SYSTEM: "messaging.system";
82
- /**
83
- * Enum value "process" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}.
34
+ * Enum value "process" for attribute `messaging.operation.type`.
84
35
  */
85
36
  export declare const MESSAGING_OPERATION_TYPE_VALUE_PROCESS: "process";
86
37
  /**
87
- * Enum value "receive" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}.
38
+ * Enum value "receive" for attribute `messaging.operation.type`.
88
39
  */
89
40
  export declare const MESSAGING_OPERATION_TYPE_VALUE_RECEIVE: "receive";
90
41
  /**
91
- * Enum value "send" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}.
42
+ * Enum value "send" for attribute `messaging.operation.type`.
92
43
  */
93
44
  export declare const MESSAGING_OPERATION_TYPE_VALUE_SEND: "send";
94
45
  /**
95
- * Enum value "kafka" for attribute {@link ATTR_MESSAGING_SYSTEM}.
46
+ * Enum value "kafka" for attribute `messaging.system`.
96
47
  */
97
48
  export declare const MESSAGING_SYSTEM_VALUE_KAFKA: "kafka";
98
49
  /**
99
- * Describes a class of error the operation ended with.
100
- *
101
- * @example timeout
102
- * @example java.net.UnknownHostException
103
- * @example server_certificate_invalid
104
- * @example 500
105
- */
106
- export declare const ATTR_ERROR_TYPE: "error.type";
107
- /**
108
- * Enum value "_OTHER" for attribute {@link ATTR_ERROR_TYPE}. A fallback error value to be used when
50
+ * Enum value "_OTHER" for attribute `error.type`. A fallback error value to be used when
109
51
  * the instrumentation doesn't define a custom value.
110
52
  */
111
53
  export declare const ERROR_TYPE_VALUE_OTHER: "_OTHER";
@@ -1 +1 @@
1
- {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/kafka/vendored/semconv.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kCAAkC,EAAG,+BAAwC,CAAC;AAE3F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+BAA+B,EAAG,4BAAqC,CAAC;AAErF;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,EAAG,oCAA6C,CAAC;AAErG;;;;;;;;GAQG;AACH,eAAO,MAAM,gCAAgC,EAAG,6BAAsC,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,EAAG,mCAA4C,CAAC;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,EAAG,0BAAmC,CAAC;AAEjF;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAG,0BAAmC,CAAC;AAEjF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAG,kBAA2B,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAG,SAAkB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAG,SAAkB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAG,MAAe,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAG,OAAgB,CAAC;AAE7D;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAG,YAAqB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAG,QAAiB,CAAC"}
1
+ {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/kafka/vendored/semconv.ts"],"names":[],"mappings":"AAgBA;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,EAAG,oCAA6C,CAAC;AAErG;;;;;;;;GAQG;AACH,eAAO,MAAM,gCAAgC,EAAG,6BAAsC,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,EAAG,mCAA4C,CAAC;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAG,SAAkB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAG,SAAkB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAG,MAAe,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAG,OAAgB,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAG,QAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/kafka/vendored/utils.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AASnE,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAoB7D,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,cAAc,CAAC;IAC3B,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,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;AAED,oGAAoG;AACpG,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,mBAAmB,GAAG,IAAI,CAwBjH;AAED,0FAA0F;AAC1F,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CA4BvE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAyBvF"}
@@ -16,5 +16,7 @@ export declare const instrumentKnex: ((options?: unknown) => KnexInstrumentation
16
16
  * });
17
17
  * ```
18
18
  */
19
- export declare const knexIntegration: () => import("@sentry/core").Integration;
19
+ export declare const knexIntegration: () => import("@sentry/core").Integration & {
20
+ name: "Knex";
21
+ };
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/knex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAOjE,eAAO,MAAM,cAAc;;CAA4E,CAAC;AAWxG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,0CAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/knex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAOjE,eAAO,MAAM,cAAc;;CAA4E,CAAC;AAWxG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe;;CAAsC,CAAC"}
@@ -1,39 +1,7 @@
1
- /**
2
- * @deprecated Replaced by `db.namespace`.
3
- */
4
- export declare const ATTR_DB_NAME: "db.name";
5
- /**
6
- * @deprecated Replaced by `db.operation.name`.
7
- */
8
- export declare const ATTR_DB_OPERATION: "db.operation";
9
1
  /**
10
2
  * @deprecated Replaced by `db.collection.name`.
11
3
  */
12
4
  export declare const ATTR_DB_SQL_TABLE: "db.sql.table";
13
- /**
14
- * @deprecated Replaced by `db.query.text`.
15
- */
16
- export declare const ATTR_DB_STATEMENT: "db.statement";
17
- /**
18
- * @deprecated Replaced by `db.system.name`.
19
- */
20
- export declare const ATTR_DB_SYSTEM: "db.system";
21
- /**
22
- * @deprecated Removed, no replacement at this time.
23
- */
24
- export declare const ATTR_DB_USER: "db.user";
25
- /**
26
- * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans.
27
- */
28
- export declare const ATTR_NET_PEER_NAME: "net.peer.name";
29
- /**
30
- * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans.
31
- */
32
- export declare const ATTR_NET_PEER_PORT: "net.peer.port";
33
- /**
34
- * @deprecated Replaced by `network.transport`.
35
- */
36
- export declare const ATTR_NET_TRANSPORT: "net.transport";
37
5
  export declare const DB_SYSTEM_NAME_VALUE_SQLITE: "sqlite";
38
6
  export declare const DB_SYSTEM_NAME_VALUE_POSTGRESQL: "postgresql";
39
7
  //# sourceMappingURL=semconv.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/knex/vendored/semconv.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,YAAY,EAAG,SAAkB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAG,WAAoB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAG,SAAkB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D,eAAO,MAAM,2BAA2B,EAAG,QAAiB,CAAC;AAE7D,eAAO,MAAM,+BAA+B,EAAG,YAAqB,CAAC"}
1
+ {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/knex/vendored/semconv.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD,eAAO,MAAM,2BAA2B,EAAG,QAAiB,CAAC;AAE7D,eAAO,MAAM,+BAA+B,EAAG,YAAqB,CAAC"}
@@ -40,7 +40,9 @@ export declare const instrumentKoa: ((options: KoaOptions | undefined) => KoaIns
40
40
  * })
41
41
  * ```
42
42
  */
43
- export declare const koaIntegration: (options?: KoaOptions | undefined) => import("@sentry/core").Integration;
43
+ export declare const koaIntegration: (options?: KoaOptions | undefined) => import("@sentry/core").Integration & {
44
+ name: "Koa";
45
+ };
44
46
  /**
45
47
  * Add an Koa error handler to capture errors to Sentry.
46
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/koa/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAKhE,UAAU,UAAU;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,QAAQ,CAAC,CAAC;CACnD;AAID,eAAO,MAAM,aAAa;;CAQzB,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,cAAc,0EAAqC,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,oBAAoB,GAAI,KAAK;IAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,CAAA;CAAE,KAAG,IAgB3G,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/koa/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAKhE,UAAU,UAAU;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,QAAQ,CAAC,CAAC;CACnD;AAID,eAAO,MAAM,aAAa;;CAQzB,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,cAAc;;CAAqC,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,oBAAoB,GAAI,KAAK;IAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,CAAA;CAAE,KAAG,IAgB3G,CAAC"}
@@ -95,5 +95,7 @@ export declare const instrumentLangChain: ((options?: LangChainOptions | undefin
95
95
  * - Embeddings: embedQuery, embedDocuments (via direct method wrapping)
96
96
  *
97
97
  */
98
- export declare const langChainIntegration: (options?: LangChainOptions | undefined) => import("@sentry/core").Integration;
98
+ export declare const langChainIntegration: (options?: LangChainOptions | undefined) => import("@sentry/core").Integration & {
99
+ name: "LangChain";
100
+ };
99
101
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/langchain/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKpE,eAAO,MAAM,mBAAmB;;CAG/B,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,eAAO,MAAM,oBAAoB,gFAA2C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/langchain/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKpE,eAAO,MAAM,mBAAmB;;CAG/B,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,eAAO,MAAM,oBAAoB;;CAA2C,CAAC"}
@@ -71,5 +71,7 @@ export declare const instrumentLangGraph: ((options?: LangGraphOptions | undefin
71
71
  * - Available tools configured in the graph
72
72
  *
73
73
  */
74
- export declare const langGraphIntegration: (options?: LangGraphOptions | undefined) => import("@sentry/core").Integration;
74
+ export declare const langGraphIntegration: (options?: LangGraphOptions | undefined) => import("@sentry/core").Integration & {
75
+ name: "LangGraph";
76
+ };
75
77
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/langgraph/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKpE,eAAO,MAAM,mBAAmB;;CAG/B,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,eAAO,MAAM,oBAAoB,gFAA2C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/langgraph/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKpE,eAAO,MAAM,mBAAmB;;CAG/B,CAAC;AAWF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,eAAO,MAAM,oBAAoB;;CAA2C,CAAC"}
@@ -15,5 +15,7 @@ export declare const instrumentLruMemoizer: ((options?: unknown) => LruMemoizerI
15
15
  * integrations: [Sentry.lruMemoizerIntegration()],
16
16
  * });
17
17
  */
18
- export declare const lruMemoizerIntegration: () => import("@sentry/core").Integration;
18
+ export declare const lruMemoizerIntegration: () => import("@sentry/core").Integration & {
19
+ name: "LruMemoizer";
20
+ };
19
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/lrumemoizer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAOxE,eAAO,MAAM,qBAAqB;;CAAmF,CAAC;AAWtH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,0CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/lrumemoizer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAOxE,eAAO,MAAM,qBAAqB;;CAAmF,CAAC;AAWtH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB;;CAA6C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/lrumemoizer/vendored/instrumentation.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAQ1G,qBAAa,0BAA2B,SAAQ,mBAAmB;;IAKjE,IAAI,IAAI,mCAAmC,EAAE;CA8B9C"}
1
+ {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/lrumemoizer/vendored/instrumentation.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,mBAAmB,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAQ1G,qBAAa,0BAA2B,SAAQ,mBAAmB;;IAKjE,IAAI,IAAI,mCAAmC,EAAE;CAmC9C"}
@@ -16,5 +16,7 @@ export declare const instrumentMongo: ((options?: unknown) => MongoDBInstrumenta
16
16
  * });
17
17
  * ```
18
18
  */
19
- export declare const mongoIntegration: () => import("@sentry/core").Integration;
19
+ export declare const mongoIntegration: () => import("@sentry/core").Integration & {
20
+ name: "Mongo";
21
+ };
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mongo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAOpE,eAAO,MAAM,eAAe;;CAA+E,CAAC;AAW5G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,0CAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mongo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAOpE,eAAO,MAAM,eAAe;;CAA+E,CAAC;AAW5G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;CAAuC,CAAC"}
@@ -11,43 +11,7 @@ export declare const ATTR_DB_CONNECTION_STRING: "db.connection_string";
11
11
  */
12
12
  export declare const ATTR_DB_MONGODB_COLLECTION: "db.mongodb.collection";
13
13
  /**
14
- * Deprecated, use `db.namespace` instead.
15
- *
16
- * @deprecated Replaced by `db.namespace`.
17
- */
18
- export declare const ATTR_DB_NAME: "db.name";
19
- /**
20
- * Deprecated, use `db.operation.name` instead.
21
- *
22
- * @deprecated Replaced by `db.operation.name`.
23
- */
24
- export declare const ATTR_DB_OPERATION: "db.operation";
25
- /**
26
- * The database statement being executed.
27
- *
28
- * @deprecated Replaced by `db.query.text`.
29
- */
30
- export declare const ATTR_DB_STATEMENT: "db.statement";
31
- /**
32
- * Deprecated, use `db.system.name` instead.
33
- *
34
- * @deprecated Replaced by `db.system.name`.
35
- */
36
- export declare const ATTR_DB_SYSTEM: "db.system";
37
- /**
38
- * Deprecated, use `server.address` on client spans and `client.address` on server spans.
39
- *
40
- * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans.
41
- */
42
- export declare const ATTR_NET_PEER_NAME: "net.peer.name";
43
- /**
44
- * Deprecated, use `server.port` on client spans and `client.port` on server spans.
45
- *
46
- * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans.
47
- */
48
- export declare const ATTR_NET_PEER_PORT: "net.peer.port";
49
- /**
50
- * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM}.
14
+ * Enum value "mongodb" for attribute `db.system`.
51
15
  */
52
16
  export declare const DB_SYSTEM_VALUE_MONGODB: "mongodb";
53
17
  //# sourceMappingURL=semconv.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongo/vendored/semconv.ts"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAAG,sBAA+B,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAG,uBAAgC,CAAC;AAE3E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAG,SAAkB,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAG,WAAoB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAG,SAAkB,CAAC"}
1
+ {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongo/vendored/semconv.ts"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAAG,sBAA+B,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAG,uBAAgC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAG,SAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongo/vendored/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAoBzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AA4CtD;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,oBAAoB,GAAG,kBAAkB,CAchF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,EAClB,EAAE,EAAE,gBAAgB,EACpB,OAAO,CAAC,EAAE,GAAG,EACb,SAAS,CAAC,EAAE,MAAM,GACjB,cAAc,CAmBhB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,oBAAoB,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAC7B,cAAc,CAwBhB;AA8CD,wBAAgB,cAAc,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI,CAO/D;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,aAAa,EAAE,QAAQ,GAAG,QAAQ,CAkBlF;AAID,wBAAgB,yBAAyB,IAAI,OAAO,CAEnD"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongo/vendored/utils.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAkBzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AA4CtD;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,oBAAoB,GAAG,kBAAkB,CAchF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,EAClB,EAAE,EAAE,gBAAgB,EACpB,OAAO,CAAC,EAAE,GAAG,EACb,SAAS,CAAC,EAAE,MAAM,GACjB,cAAc,CAmBhB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,oBAAoB,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAC7B,cAAc,CAwBhB;AA8CD,wBAAgB,cAAc,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI,CAO/D;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,aAAa,EAAE,QAAQ,GAAG,QAAQ,CAkBlF;AAID,wBAAgB,yBAAyB,IAAI,OAAO,CAEnD"}
@@ -16,5 +16,7 @@ export declare const instrumentMongoose: ((options?: unknown) => MongooseInstrum
16
16
  * });
17
17
  * ```
18
18
  */
19
- export declare const mongooseIntegration: () => import("@sentry/core").Integration;
19
+ export declare const mongooseIntegration: () => import("@sentry/core").Integration & {
20
+ name: "Mongoose";
21
+ };
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mongoose/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAO9D,eAAO,MAAM,kBAAkB;;CAAgF,CAAC;AAWhH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,0CAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mongoose/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAQ9D,eAAO,MAAM,kBAAkB;;CAAgF,CAAC;AAahH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB;;CAA0C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/mongoose.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,KAAK,+BAA+B,EAErC,MAAM,gCAAgC,CAAC;AA8ExC,eAAO,MAAM,mBAAmB,EAAE,OAAO,MAAqC,CAAC;AAI/E,eAAO,MAAM,qBAAqB,EAAE,OAAO,MAAuC,CAAC;AAEnF,qBAAa,uBAAwB,SAAQ,mBAAmB,CAAC,qBAAqB,CAAC;gBACzE,MAAM,GAAE,qBAA0B;IAI9C,SAAS,CAAC,IAAI,IAAI,+BAA+B;IAUjD,OAAO,CAAC,KAAK;IAqCb,OAAO,CAAC,OAAO;IA+Bf,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,cAAc;IAiBtB,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,2BAA2B;IA0BnC,OAAO,CAAC,gBAAgB;IAoBxB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,UAAU;IAkBlB,OAAO,CAAC,eAAe;CAaxB"}
1
+ {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/mongoose.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,KAAK,+BAA+B,EAErC,MAAM,gCAAgC,CAAC;AA8ExC,eAAO,MAAM,mBAAmB,EAAE,OAAO,MAAqC,CAAC;AAI/E,eAAO,MAAM,qBAAqB,EAAE,OAAO,MAAuC,CAAC;AAEnF,qBAAa,uBAAwB,SAAQ,mBAAmB,CAAC,qBAAqB,CAAC;gBACzE,MAAM,GAAE,qBAA0B;IAI9C,SAAS,CAAC,IAAI,IAAI,+BAA+B;IAajD,OAAO,CAAC,KAAK;IAqCb,OAAO,CAAC,OAAO;IA+Bf,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,cAAc;IAiBtB,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,2BAA2B;IA0BnC,OAAO,CAAC,gBAAgB;IAoBxB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,UAAU;IAkBlB,OAAO,CAAC,eAAe;CAaxB"}
@@ -6,52 +6,4 @@
6
6
  * @deprecated Replaced by `db.collection.name`.
7
7
  */
8
8
  export declare const ATTR_DB_MONGODB_COLLECTION: "db.mongodb.collection";
9
- /**
10
- * Deprecated, use `db.namespace` instead.
11
- *
12
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
13
- *
14
- * @deprecated Replaced by `db.namespace`.
15
- */
16
- export declare const ATTR_DB_NAME: "db.name";
17
- /**
18
- * Deprecated, use `db.operation.name` instead.
19
- *
20
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
21
- *
22
- * @deprecated Replaced by `db.operation.name`.
23
- */
24
- export declare const ATTR_DB_OPERATION: "db.operation";
25
- /**
26
- * Deprecated, use `db.system.name` instead.
27
- *
28
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
29
- *
30
- * @deprecated Replaced by `db.system.name`.
31
- */
32
- export declare const ATTR_DB_SYSTEM: "db.system";
33
- /**
34
- * Deprecated, no replacement at this time.
35
- *
36
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
37
- *
38
- * @deprecated Removed, no replacement at this time.
39
- */
40
- export declare const ATTR_DB_USER: "db.user";
41
- /**
42
- * Deprecated, use `server.address` on client spans and `client.address` on server spans.
43
- *
44
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
45
- *
46
- * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans.
47
- */
48
- export declare const ATTR_NET_PEER_NAME: "net.peer.name";
49
- /**
50
- * Deprecated, use `server.port` on client spans and `client.port` on server spans.
51
- *
52
- * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
53
- *
54
- * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans.
55
- */
56
- export declare const ATTR_NET_PEER_PORT: "net.peer.port";
57
9
  //# sourceMappingURL=semconv.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/semconv.ts"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,EAAG,uBAAgC,CAAC;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAG,SAAkB,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAG,cAAuB,CAAC;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAG,WAAoB,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAG,SAAkB,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAG,eAAwB,CAAC"}
1
+ {"version":3,"file":"semconv.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/semconv.ts"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,EAAG,uBAAgC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/utils.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,kBAAkB,CAAC;AASlE,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,UAAU,GAAG,cAAc,CAalF;AASD,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,GAAG,CAYxE;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EAAE,GAAG,EACjB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,UAAU,OAmBjB"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mongoose/vendored/utils.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,kBAAkB,CAAC;AAGlE,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,UAAU,GAAG,cAAc,CAYlF;AASD,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,GAAG,CAYxE;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EAAE,GAAG,EACjB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,UAAU,OAmBjB"}
@@ -16,5 +16,7 @@ export declare const instrumentMysql: ((options?: unknown) => MySQLInstrumentati
16
16
  * });
17
17
  * ```
18
18
  */
19
- export declare const mysqlIntegration: () => import("@sentry/core").Integration;
19
+ export declare const mysqlIntegration: () => import("@sentry/core").Integration & {
20
+ name: "Mysql";
21
+ };
20
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mysql/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOlE,eAAO,MAAM,eAAe;;CAA+E,CAAC;AAW5G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,0CAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/mysql/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOlE,eAAO,MAAM,eAAe;;CAA+E,CAAC;AAW5G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;CAAuC,CAAC"}
@@ -1,28 +1,14 @@
1
+ import type { InstrumentationConfig } from '@opentelemetry/instrumentation';
1
2
  import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
2
- import { MySQLInstrumentationConfig } from './types';
3
- export declare class MySQLInstrumentation extends InstrumentationBase<MySQLInstrumentationConfig> {
4
- private _netSemconvStability;
5
- private _dbSemconvStability;
6
- private _connectionsUsageOld;
7
- constructor(config?: MySQLInstrumentationConfig);
8
- private _setSemconvStabilityFromEnv;
9
- protected _updateMetricInstruments(): void;
10
- /**
11
- * Convenience function for updating the `db.client.connections.usage` metric.
12
- * The name "count" comes from the eventually replacement for this metric per
13
- * https://opentelemetry.io/docs/specs/semconv/non-normative/db-migration/#database-client-connection-count
14
- */
15
- private _connCountAdd;
3
+ export declare class MySQLInstrumentation extends InstrumentationBase<InstrumentationConfig> {
4
+ constructor(config?: InstrumentationConfig);
16
5
  protected init(): InstrumentationNodeModuleDefinition[];
17
6
  private _patchCreateConnection;
18
7
  private _patchCreatePool;
19
- private _patchPoolEnd;
20
8
  private _patchCreatePoolCluster;
21
- private _patchAdd;
22
9
  private _patchGetConnection;
23
10
  private _getConnectionCallbackPatchFn;
24
11
  private _patchQuery;
25
12
  private _patchCallbackQuery;
26
- private _setPoolCallbacks;
27
13
  }
28
14
  //# sourceMappingURL=instrumentation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mysql/vendored/instrumentation.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,mBAAmB,EACnB,mCAAmC,EAIpC,MAAM,gCAAgC,CAAC;AAsBxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AASrD,qBAAa,oBAAqB,SAAQ,mBAAmB,CAAC,0BAA0B,CAAC;IACvF,OAAO,CAAC,oBAAoB,CAAoB;IAChD,OAAO,CAAC,mBAAmB,CAAoB;IAC/C,QAAgB,oBAAoB,CAAgB;gBAExC,MAAM,GAAE,0BAA+B;IAMnD,OAAO,CAAC,2BAA2B;cAKhB,wBAAwB;IAO3C;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAIrB,SAAS,CAAC,IAAI;IAkCd,OAAO,CAAC,sBAAsB;IAgB9B,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,aAAa;IAgBrB,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,SAAS;IAsBjB,OAAO,CAAC,mBAAmB;IA6B3B,OAAO,CAAC,6BAA6B;IAiBrC,OAAO,CAAC,WAAW;IA0FnB,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,iBAAiB;CAiB1B"}
1
+ {"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mysql/vendored/instrumentation.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,mCAAmC,EAAa,MAAM,gCAAgC,CAAC;AA8BrH,qBAAa,oBAAqB,SAAQ,mBAAmB,CAAC,qBAAqB,CAAC;gBAC/D,MAAM,GAAE,qBAA0B;IAIrD,SAAS,CAAC,IAAI;IAqCd,OAAO,CAAC,sBAAsB;IAkB9B,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,uBAAuB;IAgB/B,OAAO,CAAC,mBAAmB;IA8B3B,OAAO,CAAC,6BAA6B;IAmBrC,OAAO,CAAC,WAAW;IAqEnB,OAAO,CAAC,mBAAmB;CAc5B"}
@@ -5,7 +5,7 @@ export interface MysqlError extends Error {
5
5
  sql?: string;
6
6
  sqlState?: string;
7
7
  sqlMessage?: string;
8
- [key: string]: any;
8
+ [key: string]: unknown;
9
9
  }
10
10
  export interface ConnectionConfig {
11
11
  host?: string;
@@ -13,16 +13,16 @@ export interface ConnectionConfig {
13
13
  database?: string;
14
14
  user?: string;
15
15
  password?: string;
16
- [key: string]: any;
16
+ [key: string]: unknown;
17
17
  }
18
18
  export interface PoolConfig extends ConnectionConfig {
19
19
  connectionConfig?: ConnectionConfig;
20
- [key: string]: any;
20
+ [key: string]: unknown;
21
21
  }
22
22
  export interface QueryOptions {
23
23
  sql: string;
24
- values?: any;
25
- [key: string]: any;
24
+ values?: unknown;
25
+ [key: string]: unknown;
26
26
  }
27
27
  export interface FieldInfo {
28
28
  catalog: string;
@@ -34,35 +34,35 @@ export interface FieldInfo {
34
34
  charsetNr: number;
35
35
  length: number;
36
36
  type: number;
37
- [key: string]: any;
37
+ [key: string]: unknown;
38
38
  }
39
- export type queryCallback = (err: MysqlError | null, results?: any, fields?: FieldInfo[]) => void;
39
+ export type queryCallback = (err: MysqlError | null, results?: unknown, fields?: FieldInfo[]) => void;
40
40
  export interface Query {
41
41
  sql: string;
42
- values?: any;
43
- on(event: string, listener: (...args: any[]) => void): this;
44
- [key: string]: any;
42
+ values?: unknown;
43
+ on(event: string, listener: (...args: unknown[]) => void): this;
44
+ [key: string]: unknown;
45
45
  }
46
46
  export type QueryFunction = {
47
47
  (query: string | QueryOptions, callback?: queryCallback): Query;
48
- (query: string | QueryOptions, values?: any, callback?: queryCallback): Query;
48
+ (query: string | QueryOptions, values?: unknown, callback?: queryCallback): Query;
49
49
  };
50
50
  export interface Connection {
51
51
  config: ConnectionConfig;
52
52
  query: QueryFunction;
53
- [key: string]: any;
53
+ [key: string]: unknown;
54
54
  }
55
55
  export interface PoolConnection extends Connection {
56
56
  release(): void;
57
- [key: string]: any;
57
+ [key: string]: unknown;
58
58
  }
59
59
  export interface Pool {
60
60
  config: PoolConfig;
61
61
  query: QueryFunction;
62
62
  getConnection(callback: (err: MysqlError, connection: PoolConnection) => void): void;
63
63
  end(callback?: (err?: MysqlError) => void): void;
64
- on(event: string, listener: (...args: any[]) => void): this;
65
- [key: string]: any;
64
+ on(event: string, listener: (...args: unknown[]) => void): this;
65
+ [key: string]: unknown;
66
66
  }
67
67
  export interface PoolCluster {
68
68
  getConnection(callback: (err: MysqlError, connection: PoolConnection) => void): void;
@@ -70,7 +70,7 @@ export interface PoolCluster {
70
70
  getConnection(pattern: string, selector: string, callback: (err: MysqlError, connection: PoolConnection) => void): void;
71
71
  add(config: PoolConfig): void;
72
72
  add(id: string, config: PoolConfig): void;
73
- [key: string]: any;
73
+ [key: string]: unknown;
74
74
  }
75
75
  export declare function createConnection(connectionUri: string | ConnectionConfig): Connection;
76
76
  export declare function createPool(config: string | PoolConfig): Pool;
@@ -1 +1 @@
1
- {"version":3,"file":"mysql-types.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/mysql/vendored/mysql-types.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,UAAW,SAAQ,KAAK;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAClD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE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