Skip to content

docs(java): Add cache tracing integration pages#16981

Draft
adinauer wants to merge 6 commits intomasterfrom
adinauer/java-cache-tracing-docs
Draft

docs(java): Add cache tracing integration pages#16981
adinauer wants to merge 6 commits intomasterfrom
adinauer/java-cache-tracing-docs

Conversation

@adinauer
Copy link
Member

Add integration docs for Java SDK cache tracing: JCache (JSR-107), Caffeine, Ehcache, and Redis (Jedis/Lettuce).

  • JCache page — full setup guide for SentryJCacheWrapper with traced operations table, span data reference
  • Caffeine / Ehcache / Redis pages — for Spring Boot: just enable sentry.enable-cache-tracing=true; for plain Java: link to JCache integration with provider-specific dependency snippets
  • Configuration options — adds enableCacheTracing to the tracing options reference

Companion to the sentry-java cache tracing PR stack:

Add integration pages for JCache, Caffeine, Ehcache, and Redis cache
tracing. For Spring Boot users, each page documents the
`sentry.enable-cache-tracing` option. For plain Java users, pages link
to the JCache integration which uses `SentryJCacheWrapper`.

Also adds the `enableCacheTracing` option to the configuration options
reference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Mar 17, 2026 2:33pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Mar 17, 2026 2:33pm

Request Review

@codeowner-assignment codeowner-assignment bot requested a review from a team March 17, 2026 05:59
adinauer and others added 2 commits March 17, 2026 07:10
Use Sentry.startTransaction(name, op) with tx.makeCurrent() in
try-with-resources instead of verbose TransactionContext + manual
scope binding.

Co-Authored-By: Claude <noreply@anthropic.com>
Add tabbed Kotlin alternatives alongside all Java code snippets
for init, setup, and verify sections.

Co-Authored-By: Claude <noreply@anthropic.com>
adinauer

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant