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

# Ehcache Integration | Sentry for Java

Sentry can trace cache operations performed by [Ehcache](https://www.ehcache.org/), a widely-used Java caching 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/integrations/ehcache.md#plain-java)

Ehcache 3 implements the [JCache (JSR-107)](https://www.ehcache.org/documentation/3.0/107.html) API natively. Use it together with the [Sentry JCache integration](https://docs.sentry.io/platforms/java/integrations/jcache.md) to trace cache operations.
