docs: add External Observability Platforms integration page - #700
Closed
rajshah4 wants to merge 3 commits into
Closed
docs: add External Observability Platforms integration page#700rajshah4 wants to merge 3 commits into
rajshah4 wants to merge 3 commits into
Conversation
Add a customer-facing guide for redirecting OpenHands Enterprise conversation traces to an external OTLP-compatible observability platform (Langfuse, Honeycomb, Tempo, or any OTLP backend) instead of, or in addition to, the bundled Laminar. - New page: enterprise/integrations/observability-platforms.mdx - Nav: added to the Enterprise > Integrations group in docs.json Co-authored-by: openhands <openhands@all-hands.dev>
…tions nav Co-authored-by: openhands <openhands@all-hands.dev>
Member
Author
|
Closing this fork-based PR and reopening from a same-repo branch so the Mintlify preview bot fires (it does not trigger on fork-based PRs). The new PR: #701 This comment was created by an AI agent (OpenHands) on behalf of rajshah4. |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a customer-facing integration guide for redirecting OpenHands Enterprise conversation traces to an external OTLP-compatible observability platform (Langfuse, Honeycomb, Grafana Tempo, or any OTLP backend) instead of, or in addition to, the bundled Laminar.
enterprise/integrations/observability-platforms.mdxenterprise/integrations/observability-platformsto the Enterprise → Integrations group indocs.jsonWhy
OHE ships with Laminar as its built-in tracing backend. Customers who already operate a different OTel-compatible observability platform want all conversation traces to flow into their platform with the same richness they get from Laminar today. This guide documents how to do that.
How it works
OHE's tracing layer is the Laminar Python SDK (
lmnr), which wraps the OpenTelemetry SDK. ThelmnrSDK respects standardOTEL_EXPORTER_OTLP_TRACES_*environment variables wheneverLMNR_BASE_URLis not set. So the entire integration is an env-var change on the runtime pod — no source changes, no Helm chart patch.The doc covers:
LMNR_BASE_URL→OTEL_EXPORTER_OTLP_TRACES_*switch (with a warning thatLMNR_BASE_URLmust be unset for theOTEL_*vars to take effect)conversation → conversation.run → agent.step → llm.completion + tool.execute), with LLM spans carryinggen_ai.*model/token/input/output attributesThis was validated end-to-end against a self-hosted Langfuse v4 instance: traces emitted by the
lmnrSDK inside a real OHE runtime pod landed in Langfuse with correct trace grouping, nesting, and observation-type classification (AGENT/CHAIN/GENERATION/TOOL).Notes
OTEL_EXPORTER_OTLP_TRACES_*fields directly, mirroring how the existing Analytics page notes the Admin Console limitation forLLM_*settings.Info,Warning,Note,Tabs/Tab,CardGroup/Card,Tree,AccordionGroup/Accordion) and voice as the existing enterprise integration pages (azure-devops,slack,external-postgres).Related Linear ticket: OHE-3032
This PR was created by an AI agent (OpenHands) on behalf of rajshah4.