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

# Redis Integration | Sentry for Spring

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/).

## [Plain Java](https://docs.sentry.io/platforms/java/guides/spring/integrations/redis.md#plain-java)

Jedis provides a [JCache (JSR-107)](https://github.com/redis/jedis/wiki/JCache-Support) adapter. Use it together with the [Sentry JCache integration](https://docs.sentry.io/platforms/java/guides/spring/integrations/jcache.md) to trace cache operations.

Lettuce does not provide a JCache adapter, so the JCache-based approach described here only works with Jedis. For Lettuce-based cache tracing, use Spring Boot with Spring Data Redis.
