UNPKG

536 BTypeScriptView Raw
1interface RedisOptions {
2 cachePrefixes?: string[];
3}
4/** To be able to preload all Redis OTel instrumentations with just one ID ("Redis"), all the instrumentations are generated in this one function */
5export declare const instrumentRedis: (() => void) & {
6 id: string;
7};
8/**
9 * Redis integration for "ioredis"
10 *
11 * Capture tracing data for redis and ioredis.
12 */
13export declare const redisIntegration: (options?: RedisOptions | undefined) => import("@sentry/types").Integration;
14export {};
15//# sourceMappingURL=redis.d.ts.map
\No newline at end of file