@sentry/node 8.37.1 → 8.39.0-dev.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 (165) hide show
  1. package/build/cjs/index.js +4 -0
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/integrations/anr/index.js +16 -2
  4. package/build/cjs/integrations/anr/index.js.map +1 -1
  5. package/build/cjs/integrations/local-variables/local-variables-async.js +1 -1
  6. package/build/cjs/integrations/local-variables/local-variables-async.js.map +1 -1
  7. package/build/cjs/integrations/tracing/amqplib.js +14 -0
  8. package/build/cjs/integrations/tracing/amqplib.js.map +1 -1
  9. package/build/cjs/integrations/tracing/connect.js +35 -0
  10. package/build/cjs/integrations/tracing/connect.js.map +1 -1
  11. package/build/cjs/integrations/tracing/dataloader.js +11 -2
  12. package/build/cjs/integrations/tracing/dataloader.js.map +1 -1
  13. package/build/cjs/integrations/tracing/express.js +34 -4
  14. package/build/cjs/integrations/tracing/express.js.map +1 -1
  15. package/build/cjs/integrations/tracing/fastify.js +30 -3
  16. package/build/cjs/integrations/tracing/fastify.js.map +1 -1
  17. package/build/cjs/integrations/tracing/genericPool.js +11 -2
  18. package/build/cjs/integrations/tracing/genericPool.js.map +1 -1
  19. package/build/cjs/integrations/tracing/graphql.js +12 -2
  20. package/build/cjs/integrations/tracing/graphql.js.map +1 -1
  21. package/build/cjs/integrations/tracing/hapi/index.js +30 -2
  22. package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
  23. package/build/cjs/integrations/tracing/index.js +3 -0
  24. package/build/cjs/integrations/tracing/index.js.map +1 -1
  25. package/build/cjs/integrations/tracing/kafka.js +10 -2
  26. package/build/cjs/integrations/tracing/kafka.js.map +1 -1
  27. package/build/cjs/integrations/tracing/knex.js +52 -0
  28. package/build/cjs/integrations/tracing/knex.js.map +1 -0
  29. package/build/cjs/integrations/tracing/koa.js +38 -0
  30. package/build/cjs/integrations/tracing/koa.js.map +1 -1
  31. package/build/cjs/integrations/tracing/lrumemoizer.js +10 -2
  32. package/build/cjs/integrations/tracing/lrumemoizer.js.map +1 -1
  33. package/build/cjs/integrations/tracing/mongo.js +11 -2
  34. package/build/cjs/integrations/tracing/mongo.js.map +1 -1
  35. package/build/cjs/integrations/tracing/mongoose.js +11 -2
  36. package/build/cjs/integrations/tracing/mongoose.js.map +1 -1
  37. package/build/cjs/integrations/tracing/mysql.js +11 -2
  38. package/build/cjs/integrations/tracing/mysql.js.map +1 -1
  39. package/build/cjs/integrations/tracing/mysql2.js +11 -2
  40. package/build/cjs/integrations/tracing/mysql2.js.map +1 -1
  41. package/build/cjs/integrations/tracing/postgres.js +11 -2
  42. package/build/cjs/integrations/tracing/postgres.js.map +1 -1
  43. package/build/cjs/integrations/tracing/prisma.js +24 -6
  44. package/build/cjs/integrations/tracing/prisma.js.map +1 -1
  45. package/build/cjs/integrations/tracing/redis.js +12 -2
  46. package/build/cjs/integrations/tracing/redis.js.map +1 -1
  47. package/build/cjs/integrations/tracing/tedious.js +66 -0
  48. package/build/cjs/integrations/tracing/tedious.js.map +1 -0
  49. package/build/esm/index.js +2 -0
  50. package/build/esm/index.js.map +1 -1
  51. package/build/esm/integrations/anr/index.js +17 -3
  52. package/build/esm/integrations/anr/index.js.map +1 -1
  53. package/build/esm/integrations/anr/worker-script.js +2 -2
  54. package/build/esm/integrations/local-variables/local-variables-async.js +1 -1
  55. package/build/esm/integrations/local-variables/local-variables-async.js.map +1 -1
  56. package/build/esm/integrations/local-variables/worker-script.js +2 -2
  57. package/build/esm/integrations/tracing/amqplib.js +14 -0
  58. package/build/esm/integrations/tracing/amqplib.js.map +1 -1
  59. package/build/esm/integrations/tracing/connect.js +35 -0
  60. package/build/esm/integrations/tracing/connect.js.map +1 -1
  61. package/build/esm/integrations/tracing/dataloader.js +11 -2
  62. package/build/esm/integrations/tracing/dataloader.js.map +1 -1
  63. package/build/esm/integrations/tracing/express.js +34 -4
  64. package/build/esm/integrations/tracing/express.js.map +1 -1
  65. package/build/esm/integrations/tracing/fastify.js +30 -3
  66. package/build/esm/integrations/tracing/fastify.js.map +1 -1
  67. package/build/esm/integrations/tracing/genericPool.js +11 -2
  68. package/build/esm/integrations/tracing/genericPool.js.map +1 -1
  69. package/build/esm/integrations/tracing/graphql.js +12 -2
  70. package/build/esm/integrations/tracing/graphql.js.map +1 -1
  71. package/build/esm/integrations/tracing/hapi/index.js +30 -2
  72. package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
  73. package/build/esm/integrations/tracing/index.js +3 -0
  74. package/build/esm/integrations/tracing/index.js.map +1 -1
  75. package/build/esm/integrations/tracing/kafka.js +10 -2
  76. package/build/esm/integrations/tracing/kafka.js.map +1 -1
  77. package/build/esm/integrations/tracing/knex.js +49 -0
  78. package/build/esm/integrations/tracing/knex.js.map +1 -0
  79. package/build/esm/integrations/tracing/koa.js +38 -0
  80. package/build/esm/integrations/tracing/koa.js.map +1 -1
  81. package/build/esm/integrations/tracing/lrumemoizer.js +10 -2
  82. package/build/esm/integrations/tracing/lrumemoizer.js.map +1 -1
  83. package/build/esm/integrations/tracing/mongo.js +11 -2
  84. package/build/esm/integrations/tracing/mongo.js.map +1 -1
  85. package/build/esm/integrations/tracing/mongoose.js +11 -2
  86. package/build/esm/integrations/tracing/mongoose.js.map +1 -1
  87. package/build/esm/integrations/tracing/mysql.js +11 -2
  88. package/build/esm/integrations/tracing/mysql.js.map +1 -1
  89. package/build/esm/integrations/tracing/mysql2.js +11 -2
  90. package/build/esm/integrations/tracing/mysql2.js.map +1 -1
  91. package/build/esm/integrations/tracing/postgres.js +11 -2
  92. package/build/esm/integrations/tracing/postgres.js.map +1 -1
  93. package/build/esm/integrations/tracing/prisma.js +24 -6
  94. package/build/esm/integrations/tracing/prisma.js.map +1 -1
  95. package/build/esm/integrations/tracing/redis.js +12 -2
  96. package/build/esm/integrations/tracing/redis.js.map +1 -1
  97. package/build/esm/integrations/tracing/tedious.js +60 -0
  98. package/build/esm/integrations/tracing/tedious.js.map +1 -0
  99. package/build/esm/package.json +1 -1
  100. package/build/types/index.d.ts +2 -0
  101. package/build/types/index.d.ts.map +1 -1
  102. package/build/types/integrations/anr/index.d.ts.map +1 -1
  103. package/build/types/integrations/tracing/amqplib.d.ts +14 -0
  104. package/build/types/integrations/tracing/amqplib.d.ts.map +1 -1
  105. package/build/types/integrations/tracing/connect.d.ts +35 -0
  106. package/build/types/integrations/tracing/connect.d.ts.map +1 -1
  107. package/build/types/integrations/tracing/dataloader.d.ts +11 -2
  108. package/build/types/integrations/tracing/dataloader.d.ts.map +1 -1
  109. package/build/types/integrations/tracing/express.d.ts +34 -4
  110. package/build/types/integrations/tracing/express.d.ts.map +1 -1
  111. package/build/types/integrations/tracing/fastify.d.ts +30 -3
  112. package/build/types/integrations/tracing/fastify.d.ts.map +1 -1
  113. package/build/types/integrations/tracing/genericPool.d.ts +11 -2
  114. package/build/types/integrations/tracing/genericPool.d.ts.map +1 -1
  115. package/build/types/integrations/tracing/graphql.d.ts +12 -2
  116. package/build/types/integrations/tracing/graphql.d.ts.map +1 -1
  117. package/build/types/integrations/tracing/hapi/index.d.ts +30 -2
  118. package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  119. package/build/types/integrations/tracing/index.d.ts.map +1 -1
  120. package/build/types/integrations/tracing/kafka.d.ts +10 -2
  121. package/build/types/integrations/tracing/kafka.d.ts.map +1 -1
  122. package/build/types/integrations/tracing/knex.d.ts +19 -0
  123. package/build/types/integrations/tracing/knex.d.ts.map +1 -0
  124. package/build/types/integrations/tracing/koa.d.ts +38 -0
  125. package/build/types/integrations/tracing/koa.d.ts.map +1 -1
  126. package/build/types/integrations/tracing/lrumemoizer.d.ts +10 -2
  127. package/build/types/integrations/tracing/lrumemoizer.d.ts.map +1 -1
  128. package/build/types/integrations/tracing/mongo.d.ts +11 -2
  129. package/build/types/integrations/tracing/mongo.d.ts.map +1 -1
  130. package/build/types/integrations/tracing/mongoose.d.ts +11 -2
  131. package/build/types/integrations/tracing/mongoose.d.ts.map +1 -1
  132. package/build/types/integrations/tracing/mysql.d.ts +22 -4
  133. package/build/types/integrations/tracing/mysql.d.ts.map +1 -1
  134. package/build/types/integrations/tracing/mysql2.d.ts +11 -2
  135. package/build/types/integrations/tracing/mysql2.d.ts.map +1 -1
  136. package/build/types/integrations/tracing/postgres.d.ts +11 -2
  137. package/build/types/integrations/tracing/postgres.d.ts.map +1 -1
  138. package/build/types/integrations/tracing/prisma.d.ts +24 -6
  139. package/build/types/integrations/tracing/prisma.d.ts.map +1 -1
  140. package/build/types/integrations/tracing/redis.d.ts +12 -2
  141. package/build/types/integrations/tracing/redis.d.ts.map +1 -1
  142. package/build/types/integrations/tracing/tedious.d.ts +19 -0
  143. package/build/types/integrations/tracing/tedious.d.ts.map +1 -0
  144. package/build/types-ts3.8/index.d.ts +2 -0
  145. package/build/types-ts3.8/integrations/tracing/amqplib.d.ts +14 -0
  146. package/build/types-ts3.8/integrations/tracing/connect.d.ts +35 -0
  147. package/build/types-ts3.8/integrations/tracing/dataloader.d.ts +11 -2
  148. package/build/types-ts3.8/integrations/tracing/express.d.ts +34 -4
  149. package/build/types-ts3.8/integrations/tracing/fastify.d.ts +30 -3
  150. package/build/types-ts3.8/integrations/tracing/genericPool.d.ts +11 -2
  151. package/build/types-ts3.8/integrations/tracing/graphql.d.ts +12 -2
  152. package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +30 -2
  153. package/build/types-ts3.8/integrations/tracing/kafka.d.ts +10 -2
  154. package/build/types-ts3.8/integrations/tracing/knex.d.ts +19 -0
  155. package/build/types-ts3.8/integrations/tracing/koa.d.ts +38 -0
  156. package/build/types-ts3.8/integrations/tracing/lrumemoizer.d.ts +10 -2
  157. package/build/types-ts3.8/integrations/tracing/mongo.d.ts +11 -2
  158. package/build/types-ts3.8/integrations/tracing/mongoose.d.ts +11 -2
  159. package/build/types-ts3.8/integrations/tracing/mysql.d.ts +22 -4
  160. package/build/types-ts3.8/integrations/tracing/mysql2.d.ts +11 -2
  161. package/build/types-ts3.8/integrations/tracing/postgres.d.ts +11 -2
  162. package/build/types-ts3.8/integrations/tracing/prisma.d.ts +24 -6
  163. package/build/types-ts3.8/integrations/tracing/redis.d.ts +12 -2
  164. package/build/types-ts3.8/integrations/tracing/tedious.d.ts +19 -0
  165. package/package.json +8 -6
@@ -0,0 +1,60 @@
1
+ import { _optionalChain } from '@sentry/utils';
2
+ import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';
3
+ import { defineIntegration, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
4
+ import { generateInstrumentOnce } from '../../otel/instrument.js';
5
+
6
+ const TEDIUS_INSTRUMENTED_METHODS = new Set([
7
+ 'callProcedure',
8
+ 'execSql',
9
+ 'execSqlBatch',
10
+ 'execBulkLoad',
11
+ 'prepare',
12
+ 'execute',
13
+ ]);
14
+
15
+ const INTEGRATION_NAME = 'Tedious';
16
+
17
+ const instrumentTedious = generateInstrumentOnce(INTEGRATION_NAME, () => new TediousInstrumentation({}));
18
+
19
+ const _tediousIntegration = (() => {
20
+ return {
21
+ name: INTEGRATION_NAME,
22
+ setupOnce() {
23
+ instrumentTedious();
24
+ },
25
+
26
+ setup(client) {
27
+ client.on('spanStart', span => {
28
+ const { description, data } = spanToJSON(span);
29
+ // Tedius integration always set a span name and `db.system` attribute to `mssql`.
30
+ if (!description || _optionalChain([data, 'optionalAccess', _ => _['db.system']]) !== 'mssql') {
31
+ return;
32
+ }
33
+
34
+ const operation = _optionalChain([description, 'optionalAccess', _2 => _2.split, 'call', _3 => _3(' '), 'access', _4 => _4[0]]) || '';
35
+ if (TEDIUS_INSTRUMENTED_METHODS.has(operation)) {
36
+ span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.db.otel.tedious');
37
+ }
38
+ });
39
+ },
40
+ };
41
+ }) ;
42
+
43
+ /**
44
+ * Adds Sentry tracing instrumentation for the [tedious](https://www.npmjs.com/package/tedious) library.
45
+ *
46
+ * For more information, see the [`tediousIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/tedious/).
47
+ *
48
+ * @example
49
+ * ```javascript
50
+ * const Sentry = require('@sentry/node');
51
+ *
52
+ * Sentry.init({
53
+ * integrations: [Sentry.tediousIntegration()],
54
+ * });
55
+ * ```
56
+ */
57
+ const tediousIntegration = defineIntegration(_tediousIntegration);
58
+
59
+ export { instrumentTedious, tediousIntegration };
60
+ //# sourceMappingURL=tedious.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tedious.js","sources":["../../../../src/integrations/tracing/tedious.ts"],"sourcesContent":["import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, defineIntegration, spanToJSON } from '@sentry/core';\nimport type { IntegrationFn } from '@sentry/types';\nimport { generateInstrumentOnce } from '../../otel/instrument';\n\nconst TEDIUS_INSTRUMENTED_METHODS = new Set([\n 'callProcedure',\n 'execSql',\n 'execSqlBatch',\n 'execBulkLoad',\n 'prepare',\n 'execute',\n]);\n\nconst INTEGRATION_NAME = 'Tedious';\n\nexport const instrumentTedious = generateInstrumentOnce(INTEGRATION_NAME, () => new TediousInstrumentation({}));\n\nconst _tediousIntegration = (() => {\n return {\n name: INTEGRATION_NAME,\n setupOnce() {\n instrumentTedious();\n },\n\n setup(client) {\n client.on('spanStart', span => {\n const { description, data } = spanToJSON(span);\n // Tedius integration always set a span name and `db.system` attribute to `mssql`.\n if (!description || data?.['db.system'] !== 'mssql') {\n return;\n }\n\n const operation = description?.split(' ')[0] || '';\n if (TEDIUS_INSTRUMENTED_METHODS.has(operation)) {\n span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.db.otel.tedious');\n }\n });\n },\n };\n}) satisfies IntegrationFn;\n\n/**\n * Adds Sentry tracing instrumentation for the [tedious](https://www.npmjs.com/package/tedious) library.\n *\n * For more information, see the [`tediousIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/tedious/).\n *\n * @example\n * ```javascript\n * const Sentry = require('@sentry/node');\n *\n * Sentry.init({\n * integrations: [Sentry.tediousIntegration()],\n * });\n * ```\n */\nexport const tediousIntegration = defineIntegration(_tediousIntegration);\n"],"names":[],"mappings":";;;;;AAKA,CAAA,CAAA,CAAA,CAAA,EAAM,CAA4B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,EAAE,CAAI,CAAA,EAAA,CAAA,CAAA,CAAG,CAAC;EAC1C,CAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EACf,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EACT,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EACd,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EACd,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EACT,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACX,CAAC,CAAC;;AAEF,CAAM,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAmB,CAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;CAErB,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAoB,EAAA,CAAA,CAAA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-dev.0","sideEffects":false}
@@ -26,6 +26,8 @@ export { hapiIntegration, setupHapiErrorHandler } from './integrations/tracing/h
26
26
  export { koaIntegration, setupKoaErrorHandler } from './integrations/tracing/koa';
27
27
  export { connectIntegration, setupConnectErrorHandler } from './integrations/tracing/connect';
28
28
  export { spotlightIntegration } from './integrations/spotlight';
29
+ export { knexIntegration } from './integrations/tracing/knex';
30
+ export { tediousIntegration } from './integrations/tracing/tedious';
29
31
  export { genericPoolIntegration } from './integrations/tracing/genericPool';
30
32
  export { dataloaderIntegration } from './integrations/tracing/dataloader';
31
33
  export { amqplibIntegration } from './integrations/tracing/amqplib';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EA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AAkB,EAClB,YAAY,EACZ,SAAS,EAET,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EAExB,cAAc,IAAI,OAAO,EACzB,YAAY,EACZ,cAAc,EACd,UAAU,EACV,cAAc,EACd,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,aAAa,EACb,cAAc,EACd,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,QAAQ,GACT,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,EACV,SAAS,EACT,OAAO,EACP,aAAa,EACb,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,EACJ,IAAI,GACL,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/anr/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA8B,WAAW,EAA4B,MAAM,eAAe,CAAC;AAIvG,OAAO,KAAK,EAAE,qBAAqB,EAAmB,MAAM,UAAU,CAAC;AAGvE,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AA4C1D,KAAK,WAAW,GAAG;IAAE,WAAW,EAAE,MAAM,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AA6CvE,KAAK,SAAS,GAAG,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,WAAW,GAAG,WAAW,CAAC;AAEzF,eAAO,MAAM,cAAc,WAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/anr/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA8B,WAAW,EAA4B,MAAM,eAAe,CAAC;AAIvG,OAAO,KAAK,EAAE,qBAAqB,EAAmB,MAAM,UAAU,CAAC;AAGvE,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AA4C1D,KAAK,WAAW,GAAG;IAAE,WAAW,EAAE,MAAM,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AA6CvE,KAAK,SAAS,GAAG,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,WAAW,GAAG,WAAW,CAAC;AAEzF,eAAO,MAAM,cAAc,WAAkD,CAAC"}
@@ -1,5 +1,19 @@
1
1
  export declare const instrumentAmqplib: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
+ /**
5
+ * Adds Sentry tracing instrumentation for the [amqplib](https://www.npmjs.com/package/amqplib) library.
6
+ *
7
+ * For more information, see the [`amqplibIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/amqplib/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.amqplibIntegration()],
15
+ * });
16
+ * ```
17
+ */
4
18
  export declare const amqplibIntegration: () => import("@sentry/types").Integration;
5
19
  //# sourceMappingURL=amqplib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/amqplib.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB;;CAAqF,CAAC;AAWpH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC"}
1
+ {"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/amqplib.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB;;CAAqF,CAAC;AAWpH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC"}
@@ -4,7 +4,42 @@ type ConnectApp = {
4
4
  export declare const instrumentConnect: ((options?: unknown) => void) & {
5
5
  id: string;
6
6
  };
7
+ /**
8
+ * Adds Sentry tracing instrumentation for [Connect](https://github.com/senchalabs/connect/).
9
+ *
10
+ * If you also want to capture errors, you need to call `setupConnectErrorHandler(app)` after you initialize your connect app.
11
+ *
12
+ * For more information, see the [connect documentation](https://docs.sentry.io/platforms/javascript/guides/connect/).
13
+ *
14
+ * @example
15
+ * ```javascript
16
+ * const Sentry = require('@sentry/node');
17
+ *
18
+ * Sentry.init({
19
+ * integrations: [Sentry.connectIntegration()],
20
+ * })
21
+ * ```
22
+ */
7
23
  export declare const connectIntegration: () => import("@sentry/types").Integration;
24
+ /**
25
+ * Add a Connect middleware to capture errors to Sentry.
26
+ *
27
+ * @param app The Connect app to attach the error handler to
28
+ *
29
+ * @example
30
+ * ```javascript
31
+ * const Sentry = require('@sentry/node');
32
+ * const connect = require("connect");
33
+ *
34
+ * const app = connect();
35
+ *
36
+ * Sentry.setupConnectErrorHandler(app);
37
+ *
38
+ * // Add you connect routes here
39
+ *
40
+ * app.listen(3000);
41
+ * ```
42
+ */
8
43
  export declare const setupConnectErrorHandler: (app: ConnectApp) => void;
9
44
  export {};
10
45
  //# sourceMappingURL=connect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/connect.ts"],"names":[],"mappings":"AAaA,KAAK,UAAU,GAAG;IAEhB,GAAG,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAIF,eAAO,MAAM,iBAAiB;;CAA+E,CAAC;AAW9G,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAQzE,eAAO,MAAM,wBAAwB,QAAS,UAAU,KAAG,IAc1D,CAAC"}
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/connect.ts"],"names":[],"mappings":"AAaA,KAAK,UAAU,GAAG;IAEhB,GAAG,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAIF,eAAO,MAAM,iBAAiB;;CAA+E,CAAC;AAW9G;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAQzE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,wBAAwB,QAAS,UAAU,KAAG,IAc1D,CAAC"}
@@ -2,9 +2,18 @@ export declare const instrumentDataloader: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * Dataloader integration
5
+ * Adds Sentry tracing instrumentation for the [dataloader](https://www.npmjs.com/package/dataloader) library.
6
6
  *
7
- * Capture tracing data for Dataloader.
7
+ * For more information, see the [`dataloaderIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/dataloader/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.dataloaderIntegration()],
15
+ * });
16
+ * ```
8
17
  */
9
18
  export declare const dataloaderIntegration: () => import("@sentry/types").Integration;
10
19
  //# sourceMappingURL=dataloader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/dataloader.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,oBAAoB;;CAMhC,CAAC;AAiCF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,2CAA4C,CAAC"}
1
+ {"version":3,"file":"dataloader.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/dataloader.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,oBAAoB;;CAMhC,CAAC;AAiCF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,2CAA4C,CAAC"}
@@ -4,10 +4,20 @@ export declare const instrumentExpress: ((options?: unknown) => void) & {
4
4
  id: string;
5
5
  };
6
6
  /**
7
- * Express integration
7
+ * Adds Sentry tracing instrumentation for [Express](https://expressjs.com/).
8
8
  *
9
- * Capture tracing data for express.
10
- * In order to capture exceptions, you have to call `setupExpressErrorHandler(app)` before any other middleware and after all controllers.
9
+ * If you also want to capture errors, you need to call `setupExpressErrorHandler(app)` after you set up your Express server.
10
+ *
11
+ * For more information, see the [express documentation](https://docs.sentry.io/platforms/javascript/guides/express/).
12
+ *
13
+ * @example
14
+ * ```javascript
15
+ * const Sentry = require('@sentry/node');
16
+ *
17
+ * Sentry.init({
18
+ * integrations: [Sentry.expressIntegration()],
19
+ * })
20
+ * ```
11
21
  */
12
22
  export declare const expressIntegration: () => import("@sentry/types").Integration;
13
23
  interface MiddlewareError extends Error {
@@ -31,8 +41,28 @@ interface ExpressHandlerOptions {
31
41
  */
32
42
  export declare function expressErrorHandler(options?: ExpressHandlerOptions): ExpressMiddleware;
33
43
  /**
34
- * Setup an error handler for Express.
44
+ * Add an Express error handler to capture errors to Sentry.
45
+ *
35
46
  * The error handler must be before any other middleware and after all controllers.
47
+ *
48
+ * @param app The Express instances
49
+ * @param options {ExpressHandlerOptions} Configuration options for the handler
50
+ *
51
+ * @example
52
+ * ```javascript
53
+ * const Sentry = require('@sentry/node');
54
+ * const express = require("express");
55
+ *
56
+ * const app = express();
57
+ *
58
+ * // Add your routes, etc.
59
+ *
60
+ * // Add this after all routes,
61
+ * // but before any and other error-handling middlewares are defined
62
+ * Sentry.setupExpressErrorHandler(app);
63
+ *
64
+ * app.listen(3000);
65
+ * ```
36
66
  */
37
67
  export declare function setupExpressErrorHandler(app: {
38
68
  use: (middleware: ExpressMiddleware) => unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/express.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,IAA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B,SAAQ,KAAK;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE;QACP,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH;AAED,KAAK,iBAAiB,GAAG,CACvB,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,IAAI,CAAC,eAAe,EACzB,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,IAAI,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,KACnC,IAAI,CAAC;AAEV,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,iBAAiB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC;CACjE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,iBAAiB,CAqCtF;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE;IAAE,GAAG,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,OAAO,CAAA;CAAE,EACxD,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CAGN"}
@@ -6,13 +6,40 @@ export declare const instrumentFastify: ((options?: unknown) => void) & {
6
6
  id: string;
7
7
  };
8
8
  /**
9
- * Express integration
9
+ * Adds Sentry tracing instrumentation for [Fastify](https://fastify.dev/).
10
10
  *
11
- * Capture tracing data for fastify.
11
+ * If you also want to capture errors, you need to call `setupFastifyErrorHandler(app)` after you set up your Fastify server.
12
+ *
13
+ * For more information, see the [fastify documentation](https://docs.sentry.io/platforms/javascript/guides/fastify/).
14
+ *
15
+ * @example
16
+ * ```javascript
17
+ * const Sentry = require('@sentry/node');
18
+ *
19
+ * Sentry.init({
20
+ * integrations: [Sentry.fastifyIntegration()],
21
+ * })
22
+ * ```
12
23
  */
13
24
  export declare const fastifyIntegration: () => import("@sentry/types").Integration;
14
25
  /**
15
- * Setup an error handler for Fastify.
26
+ * Add an Fastify error handler to capture errors to Sentry.
27
+ *
28
+ * @param fastify The Fastify instance to which to add the error handler
29
+ *
30
+ * @example
31
+ * ```javascript
32
+ * const Sentry = require('@sentry/node');
33
+ * const Fastify = require("fastify");
34
+ *
35
+ * const app = Fastify();
36
+ *
37
+ * Sentry.setupFastifyErrorHandler(app);
38
+ *
39
+ * // Add your routes, etc.
40
+ *
41
+ * app.listen({ port: 3000 });
42
+ * ```
16
43
  */
17
44
  export declare function setupFastifyErrorHandler(fastify: Fastify): void;
18
45
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"fastify.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/fastify.ts"],"names":[],"mappings":"AAeA,UAAU,OAAO;IAEf,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAEhC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,KAAK,IAAI,CAAC;CAC5F;AAiBD,eAAO,MAAM,iBAAiB;;CAQ7B,CAAC;AAWF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAEzE;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA0C/D"}
1
+ {"version":3,"file":"fastify.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/fastify.ts"],"names":[],"mappings":"AAeA,UAAU,OAAO;IAEf,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAEhC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,KAAK,IAAI,CAAC;CAC5F;AAiBD,eAAO,MAAM,iBAAiB;;CAQ7B,CAAC;AAWF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAEzE;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA0C/D"}
@@ -2,9 +2,18 @@ export declare const instrumentGenericPool: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * GenericPool integration
5
+ * Adds Sentry tracing instrumentation for the [generic-pool](https://www.npmjs.com/package/generic-pool) library.
6
6
  *
7
- * Capture tracing data for GenericPool.
7
+ * For more information, see the [`genericPoolIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/genericpool/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.genericPoolIntegration()],
15
+ * });
16
+ * ```
8
17
  */
9
18
  export declare const genericPoolIntegration: () => import("@sentry/types").Integration;
10
19
  //# sourceMappingURL=genericPool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"genericPool.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/genericPool.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB;;CAAqF,CAAC;AA2BxH;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,2CAA6C,CAAC"}
1
+ {"version":3,"file":"genericPool.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/genericPool.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB;;CAAqF,CAAC;AA2BxH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,2CAA6C,CAAC"}
@@ -28,9 +28,19 @@ export declare const instrumentGraphql: ((options?: GraphqlOptions | undefined)
28
28
  id: string;
29
29
  };
30
30
  /**
31
- * GraphQL integration
31
+ * Adds Sentry tracing instrumentation for the [graphql](https://www.npmjs.com/package/graphql) library.
32
32
  *
33
- * Capture tracing data for GraphQL.
33
+ * For more information, see the [`graphqlIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/graphql/).
34
+ *
35
+ * @param {GraphqlOptions} options Configuration options for the GraphQL integration.
36
+ *
37
+ * @example
38
+ * ```javascript
39
+ * const Sentry = require('@sentry/node');
40
+ *
41
+ * Sentry.init({
42
+ * integrations: [Sentry.graphqlIntegration()],
43
+ * });
34
44
  */
35
45
  export declare const graphqlIntegration: (options?: GraphqlOptions | undefined) => import("@sentry/types").Integration;
36
46
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/graphql.ts"],"names":[],"mappings":"AAQA,UAAU,cAAc;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;;;;;OASG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAID,eAAO,MAAM,iBAAiB;;CAyC7B,CAAC;AAcF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,+EAAyC,CAAC"}
1
+ {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/graphql.ts"],"names":[],"mappings":"AAQA,UAAU,cAAc;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;;;;;OASG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAID,eAAO,MAAM,iBAAiB;;CAyC7B,CAAC;AAcF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,+EAAyC,CAAC"}
@@ -3,10 +3,20 @@ export declare const instrumentHapi: ((options?: unknown) => void) & {
3
3
  id: string;
4
4
  };
5
5
  /**
6
- * Hapi integration
6
+ * Adds Sentry tracing instrumentation for [Hapi](https://hapi.dev/).
7
7
  *
8
- * Capture tracing data for Hapi.
9
8
  * If you also want to capture errors, you need to call `setupHapiErrorHandler(server)` after you set up your server.
9
+ *
10
+ * For more information, see the [hapi documentation](https://docs.sentry.io/platforms/javascript/guides/hapi/).
11
+ *
12
+ * @example
13
+ * ```javascript
14
+ * const Sentry = require('@sentry/node');
15
+ *
16
+ * Sentry.init({
17
+ * integrations: [Sentry.hapiIntegration()],
18
+ * })
19
+ * ```
10
20
  */
11
21
  export declare const hapiIntegration: () => import("@sentry/types").Integration;
12
22
  export declare const hapiErrorPlugin: {
@@ -16,6 +26,24 @@ export declare const hapiErrorPlugin: {
16
26
  };
17
27
  /**
18
28
  * Add a Hapi plugin to capture errors to Sentry.
29
+ *
30
+ * @param server The Hapi server to attach the error handler to
31
+ *
32
+ * @example
33
+ * ```javascript
34
+ * const Sentry = require('@sentry/node');
35
+ * const Hapi = require('@hapi/hapi');
36
+ *
37
+ * const init = async () => {
38
+ * const server = Hapi.server();
39
+ *
40
+ * // all your routes here
41
+ *
42
+ * await Sentry.setupHapiErrorHandler(server);
43
+ *
44
+ * await server.start();
45
+ * };
46
+ * ```
19
47
  */
20
48
  export declare function setupHapiErrorHandler(server: Server): Promise<void>;
21
49
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/hapi/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAyB,MAAM,EAAE,MAAM,SAAS,CAAC;AAI7D,eAAO,MAAM,cAAc;;CAA4E,CAAC;AAWxG;;;;;GAKG;AACH,eAAO,MAAM,eAAe,2CAAsC,CAAC;AAkBnE,eAAO,MAAM,eAAe;;;0BAIW,OAAO,GAAG,EAAE,GAAG,CAAC;CAmBtD,CAAC;AAEF;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAezE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/hapi/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAyB,MAAM,EAAE,MAAM,SAAS,CAAC;AAI7D,eAAO,MAAM,cAAc;;CAA4E,CAAC;AAWxG;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,2CAAsC,CAAC;AAkBnE,eAAO,MAAM,eAAe;;;0BAIW,OAAO,GAAG,EAAE,GAAG,CAAC;CAmBtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAezE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAqBjD;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,WAAW,EAAE,CAwB9D;AAED;;GAEG;AAEH,wBAAgB,wCAAwC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,CAsBzG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAsBjD;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,WAAW,EAAE,CAyB9D;AAED;;GAEG;AAEH,wBAAgB,wCAAwC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,CAuBzG"}
@@ -2,9 +2,17 @@ export declare const instrumentKafka: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * KafkaJs integration
5
+ * Adds Sentry tracing instrumentation for the [kafkajs](https://www.npmjs.com/package/kafkajs) library.
6
6
  *
7
- * Capture tracing data for KafkaJs.
7
+ * For more information, see the [`kafkaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/kafka/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.kafkaIntegration()],
15
+ * });
8
16
  */
9
17
  export declare const kafkaIntegration: () => import("@sentry/types").Integration;
10
18
  //# sourceMappingURL=kafka.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kafka.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/kafka.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;CAW3B,CAAC;AAWF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
1
+ {"version":3,"file":"kafka.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/kafka.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;CAW3B,CAAC;AAWF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare const instrumentKnex: ((options?: unknown) => void) & {
2
+ id: string;
3
+ };
4
+ /**
5
+ * Knex integration
6
+ *
7
+ * Capture tracing data for [Knex](https://knexjs.org/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * import * as Sentry from '@sentry/node';
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.knexIntegration()],
15
+ * });
16
+ * ```
17
+ */
18
+ export declare const knexIntegration: () => import("@sentry/types").Integration;
19
+ //# sourceMappingURL=knex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"knex.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/knex.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;CAG1B,CAAC;AAsBF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,2CAAsC,CAAC"}
@@ -1,7 +1,45 @@
1
1
  export declare const instrumentKoa: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
+ /**
5
+ * Adds Sentry tracing instrumentation for [Koa](https://koajs.com/).
6
+ *
7
+ * If you also want to capture errors, you need to call `setupKoaErrorHandler(app)` after you set up your Koa server.
8
+ *
9
+ * For more information, see the [koa documentation](https://docs.sentry.io/platforms/javascript/guides/koa/).
10
+ *
11
+ * @example
12
+ * ```javascript
13
+ * const Sentry = require('@sentry/node');
14
+ *
15
+ * Sentry.init({
16
+ * integrations: [Sentry.koaIntegration()],
17
+ * })
18
+ * ```
19
+ */
4
20
  export declare const koaIntegration: () => import("@sentry/types").Integration;
21
+ /**
22
+ * Add an Koa error handler to capture errors to Sentry.
23
+ *
24
+ * The error handler must be before any other middleware and after all controllers.
25
+ *
26
+ * @param app The Express instances
27
+ * @param options {ExpressHandlerOptions} Configuration options for the handler
28
+ *
29
+ * @example
30
+ * ```javascript
31
+ * const Sentry = require('@sentry/node');
32
+ * const Koa = require("koa");
33
+ *
34
+ * const app = new Koa();
35
+ *
36
+ * Sentry.setupKoaErrorHandler(app);
37
+ *
38
+ * // Add your routes, etc.
39
+ *
40
+ * app.listen(3000);
41
+ * ```
42
+ */
5
43
  export declare const setupKoaErrorHandler: (app: {
6
44
  use: (arg0: (ctx: any, next: any) => Promise<void>) => void;
7
45
  }) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/koa.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,aAAa;;CAoBzB,CAAC;AAWF,eAAO,MAAM,cAAc,2CAAqC,CAAC;AAGjE,eAAO,MAAM,oBAAoB;sBAA6B,GAAG,QAAQ,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI;MAAK,IAW3G,CAAC"}
1
+ {"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/koa.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,aAAa;;CAoBzB,CAAC;AAWF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,2CAAqC,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,oBAAoB;sBAA6B,GAAG,QAAQ,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI;MAAK,IAW3G,CAAC"}
@@ -2,9 +2,17 @@ export declare const instrumentLruMemoizer: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * LruMemoizer integration
5
+ * Adds Sentry tracing instrumentation for the [lru-memoizer](https://www.npmjs.com/package/lru-memoizer) library.
6
6
  *
7
- * Propagate traces through LruMemoizer.
7
+ * For more information, see the [`lruMemoizerIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/lrumemoizer/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.lruMemoizerIntegration()],
15
+ * });
8
16
  */
9
17
  export declare const lruMemoizerIntegration: () => import("@sentry/types").Integration;
10
18
  //# sourceMappingURL=lrumemoizer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lrumemoizer.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/lrumemoizer.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,qBAAqB;;CAAmF,CAAC;AAWtH;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,2CAA6C,CAAC"}
1
+ {"version":3,"file":"lrumemoizer.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/lrumemoizer.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,qBAAqB;;CAAmF,CAAC;AAWtH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,2CAA6C,CAAC"}
@@ -2,9 +2,18 @@ export declare const instrumentMongo: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * MongoDB integration
5
+ * Adds Sentry tracing instrumentation for the [mongodb](https://www.npmjs.com/package/mongodb) library.
6
6
  *
7
- * Capture tracing data for MongoDB.
7
+ * For more information, see the [`mongoIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/mongo/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.mongoIntegration()],
15
+ * });
16
+ * ```
8
17
  */
9
18
  export declare const mongoIntegration: () => import("@sentry/types").Integration;
10
19
  //# sourceMappingURL=mongo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongo.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;CAQ3B,CAAC;AAWF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
1
+ {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongo.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;CAQ3B,CAAC;AAWF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
@@ -2,9 +2,18 @@ export declare const instrumentMongoose: ((options?: unknown) => void) & {
2
2
  id: string;
3
3
  };
4
4
  /**
5
- * Mongoose integration
5
+ * Adds Sentry tracing instrumentation for the [mongoose](https://www.npmjs.com/package/mongoose) library.
6
6
  *
7
- * Capture tracing data for Mongoose.
7
+ * For more information, see the [`mongooseIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/mongoose/).
8
+ *
9
+ * @example
10
+ * ```javascript
11
+ * const Sentry = require('@sentry/node');
12
+ *
13
+ * Sentry.init({
14
+ * integrations: [Sentry.mongooseIntegration()],
15
+ * });
16
+ * ```
8
17
  */
9
18
  export declare const mongooseIntegration: () => import("@sentry/types").Integration;
10
19
  //# sourceMappingURL=mongoose.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongoose.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,kBAAkB;;CAQ9B,CAAC;AAWF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,2CAA0C,CAAC"}
1
+ {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongoose.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,kBAAkB;;CAQ9B,CAAC;AAWF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,2CAA0C,CAAC"}