You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This integration is enabled by default when performance monitoring is enabled. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
32
32
33
-
The `redisIntegration` adds instrumentation for the `ioredis` library to capture spans using [`@opentelemetry/instrumentation-ioredis`](https://www.npmjs.com/package/@opentelemetry/instrumentation-ioredis).
33
+
The `redisIntegration` adds instrumentation for the `ioredis`and `redis`library to capture spans using [`@opentelemetry/instrumentation-ioredis`](https://www.npmjs.com/package/@opentelemetry/instrumentation-ioredis) and [`@opentelemetry/instrumentation-redis-4`](https://www.npmjs.com/package/@opentelemetry/instrumentation-redis-4).
34
34
35
35
## Supported Versions
36
36
37
37
-`ioredis`: `>=2.0.0 <6`
38
+
-`redis`: `>=4.0.0`
39
+
40
+
## Options
41
+
42
+
### `cachePrefixes`
43
+
44
+
_Type: `(string)[]`_
45
+
46
+
Define cache prefixes for cache keys that should be captured as a cache span. Setting this to, for example, `['user:']` will capture cache keys that start with `user:`.
0 commit comments