---
title: "Redis Integration"
description: "Learn how to trace Redis cache operations with Sentry."
url: https://docs.sentry.io/platforms/java/guides/spring-boot/integrations/redis/
---

# Redis Integration | Sentry for Spring Boot

Sentry can trace cache operations performed through [Redis](https://redis.io/) using Jedis or Lettuce as the client library. Cache spans appear in Sentry's [Caches dashboard](https://sentry.io/orgredirect/organizations/:orgslug/insights/backend/caches/).

## [Spring Boot](https://docs.sentry.io/platforms/java/guides/spring-boot/integrations/redis.md#spring-boot)

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:

```properties
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`](https://docs.sentry.io/platforms/java/guides/spring-boot/configuration/options.md#enableCacheTracing) for more details on this option.
