UNPKG

632 BTypeScriptView Raw
1export declare const instrumentKafka: ((options?: unknown) => void) & {
2 id: string;
3};
4/**
5 * Adds Sentry tracing instrumentation for the [kafkajs](https://www.npmjs.com/package/kafkajs) library.
6 *
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 * });
16 */
17export declare const kafkaIntegration: () => import("@sentry/core").Integration;
18//# sourceMappingURL=kafka.d.ts.map
\No newline at end of file