Redis Integration

Learn how to trace Redis cache operations with Sentry.

Sentry can trace cache operations performed through Redis using Jedis or Lettuce as the client library. Cache spans appear in Sentry's Caches dashboard.

If you're using Redis (via Spring Data Redis with Jedis or Lettuce) as your Spring Boot cache provider, cache tracing is built into the Sentry Spring Boot starter. Enable it in your configuration:

Copied
sentry.enable-cache-tracing=true
sentry.traces-sample-rate=1.0

All @Cacheable, @CachePut, and @CacheEvict operations will automatically produce Sentry spans — no additional dependencies or code changes required.

See enableCacheTracing for more details on this option.

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").