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

# Caffeine Integration | Sentry for Logback

Sentry can trace cache operations performed by [Caffeine](https://github.com/ben-manes/caffeine), the high-performance in-memory caching library for Java. 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/logback/integrations/caffeine.md#plain-java)

Caffeine provides a [JCache (JSR-107) adapter](https://github.com/ben-manes/caffeine/wiki/JCache). Use it together with the [Sentry JCache integration](https://docs.sentry.io/platforms/java/guides/logback/integrations/jcache.md) to trace cache operations.
