Skip to content

Add OTel GenAI framework support to LLM Observability docs#35974

Merged
ZStriker19 merged 11 commits intomasterfrom
zachg/add-spring-ai-llmobs-docs
Apr 24, 2026
Merged

Add OTel GenAI framework support to LLM Observability docs#35974
ZStriker19 merged 11 commits intomasterfrom
zachg/add-spring-ai-llmobs-docs

Conversation

@ZStriker19
Copy link
Copy Markdown
Contributor

@ZStriker19 ZStriker19 commented Apr 14, 2026

Summary

Adds a new "Tested frameworks and libraries" section to the OTel instrumentation page with tables for Python (9 frameworks), Node.js (1 framework), and Java (3 frameworks) that emit OTel GenAI semantic convention spans.

Also updates the auto instrumentation page's info box to link directly to the new OTel frameworks section.

Framework versions reflect the minimum supported version per each instrumentation package's requirements (verified against GitHub repos).

Test plan

  • Verify rendered docs show the new OTel frameworks tables with tabs for Python/Node.js/Java
  • Verify all links resolve correctly
  • Verify the info box link from auto_instrumentation.md correctly anchors to the OTel frameworks section

🤖 Generated with Claude Code

Spring AI uses Micrometer's Observation API to emit gen_ai.* span
attributes, which the Datadog Java tracer captures automatically.
Token usage metrics are correctly parsed even though Micrometer's
KeyValues abstraction sends them as strings.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ZStriker19 ZStriker19 requested a review from a team as a code owner April 14, 2026 18:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

Adds a "Tested frameworks and libraries" section with tables for
Python, Node.js, and Java frameworks that emit OpenTelemetry GenAI
semantic convention spans. Includes both native emitters and those
requiring separate instrumentation packages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ZStriker19 ZStriker19 marked this pull request as draft April 14, 2026 18:44
@ZStriker19 ZStriker19 changed the title Add Spring AI to LLM Observability auto instrumentation Add OTel GenAI framework support to LLM Observability docs Apr 14, 2026
ZStriker19 and others added 2 commits April 14, 2026 16:00
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ZStriker19
Copy link
Copy Markdown
Contributor Author

Closing — Spring AI is included in the OTel tested frameworks table instead. Auto-instrumentation docs will be a separate PR.

@ZStriker19 ZStriker19 closed this Apr 14, 2026
@ZStriker19 ZStriker19 reopened this Apr 14, 2026
- OpenAI Python: >= 1.26.0 (instrumentation requirement)
- Anthropic: >= 0.51.0 (instrumentation requirement)
- Google GenAI: >= 1.32.0 (instrumentation requirement)
- LangChain: >= 0.3.21 (instrumentation requirement)
- LlamaIndex: >= 0.14.12 (per test fixtures)
- OpenAI Node.js: >= 4.19.0 (instrumentation README)
- LangChain4j: >= 0.31.0 (ChatModelListener added)
- AWS Bedrock Java: AWS SDK >= 2.2 (per OTel agent metadata)
- Remove Semantic Kernel, AutoGen (no OTel gen_ai instrumentation)
- Remove Mastra (version doesn't exist), Quarkus LangChain4j (wrong versioning)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ZStriker19 ZStriker19 marked this pull request as ready for review April 15, 2026 13:38
Copy link
Copy Markdown
Contributor

@domalessi domalessi left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Left some suggestions.

Also, a few high level things:

  • The PR description says this is a WIP. Hit me up when it's finalized!
  • The framework counts in the PR description (11 Python, 2 Node.js, 4 Java) don't match the tables in the diff (9 Python, 1 Node.js, 3 Java) -- perhaps expected with the WIP status?
  • The description also mentions changes that don't appear in the diff: Spring AI added to auto_instrumentation.md's supported frameworks table, and a Spring AI collapsible section.

Hit me up when ready for another look.

Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/auto_instrumentation.md Outdated
- Promote "Tested frameworks and libraries" to H2
- Restructure opening sentences for flow; remove directional "here"
- Add missing [5] strands-agents reference in Python tab
- Replace "via" with "through" per word list
- Remove hardcoded language list from auto_instrumentation info box

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

@domalessi domalessi left a comment

Choose a reason for hiding this comment

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

a few final tweaks, but otherwise looks good. approving so you can merge after checking out my suggestions!

Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/otel_instrumentation.md Outdated
Comment thread content/en/llm_observability/instrumentation/auto_instrumentation.md Outdated
ZStriker19 and others added 5 commits April 22, 2026 15:14
…ion.md

Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
…ion.md

Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
…ion.md

Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
…ion.md

Co-authored-by: domalessi <111786334+domalessi@users.noreply.github.com>
…-llmobs-docs

# Conflicts:
#	content/en/llm_observability/instrumentation/auto_instrumentation.md
@ZStriker19 ZStriker19 merged commit 247cc67 into master Apr 24, 2026
15 checks passed
@ZStriker19 ZStriker19 deleted the zachg/add-spring-ai-llmobs-docs branch April 24, 2026 21:09
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