Skip to content

Add Java OpenTelemetry v2 docs - #5621

Draft
patbeqo wants to merge 1 commit into
mainfrom
patbeqo/java-otel-v2
Draft

patbeqo wants to merge 1 commit into
mainfrom
patbeqo/java-otel-v2

Conversation

@patbeqo

@patbeqo patbeqo commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Depends on temporalio/sdk-java#3089, which adds the OpenTelemetry v2 integration. The page links to the samples in temporalio/samples-java#812, and its snippets come from temporalio/documentation-sdk-code-examples#182. Keep this a draft until all three merge.

What does this PR do?

  • Adds a Java SDK guide for the OpenTelemetry v2 integration, covering traces, metrics, logs, and context propagation
  • Links the guide from the Java SDK index, the integrations grid, and the Java observability guide

Notes to reviewers

The snippet blocks are filled in by hand to match documentation-sdk-code-examples#182, so the page renders before that PR merges. Run yarn snipsync after it merges.

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
temporal-documentation Error Error Nov 2, 2026 9:53pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Snipsync coverage

SDK code lines in docs/ that come from Snipsync: 38.1% → 38.2% (+0.1 pts), 14,959 of 39,156 lines.

Section Snipsync lines Inline lines Snipsync % Change
develop/java 1,092 → 1,144 3,107 26.0% → 26.9% +0.9 pts
All sections

All languages: 33.2% (15,640 of 47,153 lines).

Section Snipsync lines Inline lines Snipsync %
design-patterns 26 7,808 0.3%
develop/python 4,821 535 90.0%
guides 34 4,494 0.8%
develop/go 4,285 80 98.2%
develop/java 1,144 3,107 26.9%
develop/typescript 1,716 2,012 46.0%
develop/dotnet 2,285 0 100.0%
develop/rust 0 1,257 0.0%
develop/php 30 1,144 2.6%
develop/ruby 21 1,145 1.8%
develop 484 604 44.5%
production-deployment 54 805 6.3%
encyclopedia 0 837 0.0%
develop/worker-performance 48 177 21.3%
cloud 0 127 0.0%
references 0 48 0.0%
best-practices 11 17 39.3%
Language Snipsync lines Inline lines Snipsync %
Python 4,964 6,615 42.9%
Go 4,425 3,181 58.2%
Java 1,229 5,651 17.9%
TypeScript 1,883 4,470 29.6%
C# 2,360 462 83.6%
Ruby 68 1,326 4.9%
Rust 0 1,324 0.0%
PHP 30 1,168 2.5%
Snipsync origin Lines
temporalio/documentation-sdk-code-examples 9,320
temporalio/samples-python 1,941
temporalio/samples-typescript 1,567
temporalio/samples-java 973
temporalio/features 579
temporalio/samples-go 384
temporalio/sdk-typescript 119
unattributed 35
temporalio/samples-php 30
temporalio/reference-app-orders-go 11

Compared with 8a3ddee. Counts non-blank lines in fenced code blocks tagged with an SDK language. Hand-written code isn't compiled anywhere; code Snipsync pulls from a sample repository is built in that repository's CI. See UTILITIES.md.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

❌ Docs build failed

Broken links

Update the link to point to a page that exists, or fix the typo in the path.

Page Broken target
/develop/java/platform/observability /evaluate/development-production-features/release-stages#pre-release

Run yarn build locally to reproduce.

This branch had an error being deployed

1 failed deployment
Preview — a0d6b2f1 Deployed Nov 2, 2026 by vercel[bot]
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