1 | interface RedisOptions {
|
2 | cachePrefixes?: string[];
|
3 | }
|
4 |
|
5 | export declare const instrumentRedis: (() => void) & {
|
6 | id: string;
|
7 | };
|
8 | /**
|
9 | * Adds Sentry tracing instrumentation for the [redis](https:
|
10 | * [ioredis](https:
|
11 | *
|
12 | * For more information, see the [`redisIntegration` documentation](https:
|
13 | *
|
14 | * @example
|
15 | * ```javascript
|
16 | * const Sentry = require('@sentry/node');
|
17 | *
|
18 | * Sentry.init({
|
19 | * integrations: [Sentry.redisIntegration()],
|
20 | * });
|
21 | * ```
|
22 | */
|
23 | export declare const redisIntegration: (options?: RedisOptions | undefined) => import("@sentry/core").Integration;
|
24 | export {};
|
25 |
|
\ | No newline at end of file |