Skip to content

docs(java): Document OpenTelemetry BOM alignment#18647

Draft
adinauer wants to merge 1 commit into
masterfrom
docs/java-otel-bom
Draft

docs(java): Document OpenTelemetry BOM alignment#18647
adinauer wants to merge 1 commit into
masterfrom
docs/java-otel-bom

Conversation

@adinauer

@adinauer adinauer commented Jul 6, 2026

Copy link
Copy Markdown
Member

Document the new io.sentry:sentry-opentelemetry-bom for Java OpenTelemetry agentless and OTLP setups.

Sentry's OpenTelemetry integrations rely on a compatible OpenTelemetry core, instrumentation, and incubator dependency set. Spring Boot dependency management, Maven BOM imports, or other build-level dependency management can downgrade part of that set and leave users with classpath errors. These docs show how to opt in to Sentry's OpenTelemetry BOM without adding that behavior to Java agent setup pages.

The new troubleshooting page gives users a place to start when they hit OpenTelemetry classpath errors and links back to the BOM setup guidance for the relevant integration.

This should land with the sentry-java change that publishes sentry-opentelemetry-bom.

Add setup guidance for the Sentry OpenTelemetry BOM on agentless and OTLP pages, including Gradle and Maven usage for Spring dependency management.

Add an OpenTelemetry troubleshooting page that points users from classpath mismatch symptoms to the BOM alignment docs.

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

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jul 6, 2026 12:39pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Jul 6, 2026 12:39pm

Request Review

}
```

When using Maven, import Sentry's OpenTelemetry BOM before `spring-boot-dependencies`:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should gradle and maven be tabs like for the java view or do we want to have them split due to the additional info outside of snippet?

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.

2 participants