Sending LLM traces to self-hosted Langfuse over OpenTelemetry
A team that already runs LLM applications usually wants traces in self-hosted Langfuse without rewriting every call site. Langfuse accepts OpenTelemetry traces over OTLP at its /api/public/otel endpoint, so applications instrumented with OTEL, and frameworks such as LangChain, LlamaIndex, CrewAI and AutoGen, can send spans there. The protocol is the easy part. The harder work is deciding how spans map to Langfuse observations, which span attributes carry user and session identifiers, which project credentials each service uses, and how traffic reaches the Langfuse Web container from inside the client's network. Each of these needs a written convention before the first service goes live, or traces arrive but cannot be filtered by team, user or conversation.
Attribute conventions deserve the most attention. Session and user values have to be set consistently across every service in a request path, or a single conversation splits into several unrelated traces. Confirm the exact attribute names that the Langfuse OpenTelemetry documentation expects for your SDK version, and test them with one non-production application before you standardize. Credentials are scoped per project, so each application or environment needs its own key pair, stored in your secrets manager and rotated on a schedule you define. Also check whether your chosen frameworks emit the span types you expect, because some instrumentation libraries produce generic spans that Langfuse shows with less detail than a native SDK integration would.
None of this works unless the ingestion path is healthy. Trace data passes through the Langfuse Web container, which hands events to the Worker container for asynchronous processing, and then into the PostgreSQL, ClickHouse, Redis or Valkey and blob storage services behind them. A proxy, firewall rule or ingress setting that blocks the /api/public/otel path will look like an application problem, so test the route from each application subnet first. Before go-live, send a known test trace, confirm it appears in the expected project with the right user and session values, and check that the Worker is processing events rather than falling behind. Your own platform team should own this verification, since the Langfuse side depends on infrastructure that the client operates.
Which components carry a trace from application to Langfuse
A trace leaves the application through several components before it appears in the Langfuse UI. Each hop has its own configuration, failure mode and sizing question, so the team that instruments the application should know where each one sits before go-live.
Application SDK or framework
The instrumented application or framework, such as LangChain or LlamaIndex, creates spans for each model call, tool call and retrieval step. Check which spans the framework emits by default and which it only emits when you turn on its instrumentation hooks. Confirm that prompts, completions and token usage appear on the spans you expect before you trust the data in Langfuse. Gaps here are easy to miss because the application still runs normally.
OpenTelemetry docsTracer provider and exporter
The OpenTelemetry tracer provider holds the span processor and the exporter that ships spans out of the process. Batching settings control how many spans leave per request and how long they wait in memory. Set the service name and resource attributes in one place so that traces from different services remain distinguishable in Langfuse. Confirm that the exporter is shut down cleanly on process exit, since short-lived jobs can lose their last spans otherwise.
OTLP/HTTP path to /api/public/otel
Langfuse accepts OpenTelemetry traces over OTLP at its /api/public/otel endpoint, so the exporter needs the base URL of your Langfuse deployment and project credentials. Use the same hostname your users reach, and confirm that any reverse proxy, load balancer or web application firewall passes OTLP requests with their body size and timeouts intact. Decide early whether application traffic traverses a corporate egress proxy, because that adds a separate allow-list entry.
Langfuse Web container
The Langfuse Web container accepts the incoming OTLP request, authenticates it against the project keys and returns control to the exporter. It also serves the UI and public APIs, so under heavy ingestion it competes with people browsing traces. Langfuse recommends splitting ingestion and user interface deployments when volume grows. Watch request latency and error rates on this container, because failed ingestion requests are the first sign of trouble on the exporting side.
- Minimum web resources
- 2 CPU, 4 GiB
Langfuse Worker container
The Worker processes accepted events asynchronously, so a trace can be accepted by Web and still be absent from the UI for a short period. Langfuse recommends scaling worker containers on CPU load. Check worker queue behavior during load tests, and set alerts on processing lag rather than only on HTTP errors. Under-provisioned workers cause delayed traces, not rejected requests, which makes the problem harder to notice.
Self-hosting docsClickHouse observation storage
Observations, the spans that make up a trace, are stored in ClickHouse, which becomes the largest data store to size and back up as volume grows. Plan memory and disk around expected span counts, including attributes that carry prompts and completions. Confirm the ClickHouse version against the Langfuse release you run, because major upgrades change the data model. Treat ClickHouse as the place where ingestion problems surface in the long run.
- Minimum ClickHouse resources
- 2 CPU, 8 GiB
Native Langfuse SDK or generic OpenTelemetry exporter
This table compares native Langfuse SDKs, framework callback handlers and a generic OpenTelemetry exporter pointed at Langfuse's OTLP endpoint. Read each column for when the option fits and what your team will maintain afterward. The main takeaway is that the more standard the path, the more attribute mapping and version checking your own team owns.
| Option | When it fits | Operational cost | Custom code your team owns |
|---|---|---|---|
| Native Langfuse SDK | Python or JS/TS services where you want Langfuse-specific features such as prompt linking, scores and direct client calls | Tracks Langfuse SDK releases. Confirm SDK compatibility with your Langfuse server version in the release notes before upgrading either side | Low to moderate. Mostly wrapper calls around model and tool steps |
| Framework callback handler | LangChain or LlamaIndex applications where most model and tool calls already flow through the framework | Coverage depends on the framework's callback events. Check which chains, agents and retrievers emit spans in your versions | Low. Handler setup plus any custom metadata you attach |
| Generic OTEL exporter | Teams with an existing OpenTelemetry pipeline or several languages that must report to one tracing backend | Attribute mapping to Langfuse fields such as user and session IDs must be verified against the OTLP endpoint docs. Collector and SDK versions both need tracking | Moderate to high. You own span naming, attribute conventions and any gaps in GenAI instrumentation |
| Mixed approach | Organizations that use a framework handler for most calls and OTEL for services outside the AI path | Two instrumentation paths to test and upgrade. Trace continuity across services needs explicit context propagation | Moderate. Shared attribute conventions must be written down and enforced in code review |
| Version coupling | Any option in production, since Langfuse server releases can change ingestion behavior | Confirm the Langfuse version and SDK pairing before upgrades. Major server upgrades may require newer SDKs | Ongoing. A test trace check belongs in each upgrade runbook |
How to wire OTLP tracing into Langfuse step by step
This sequence takes a self-hosted Langfuse project from empty to a verified OpenTelemetry pipeline, where traces from one framework land in the correct project and carry the user and session context your team needs for review.
Create the project and API keys
A Langfuse administrator creates a project in the self-hosted instance and generates a public key and a secret key for it. Record the keys in your secrets manager, not in source control, and label them by environment so staging traces never reach the production project. The step is complete when the project appears in the UI and both keys are visible in its settings to the administrator who will hand them to the application team.
Confirm OTLP endpoint reachability
The platform team checks that application hosts in each environment can reach the Langfuse OTLP endpoint at /api/public/otel over HTTPS, using the hostname your reverse proxy or load balancer exposes. Test from the same network segment as the workloads, including any egress proxy or firewall rules they pass through. The step is complete when an authenticated request from an application host returns a successful response rather than a timeout, a TLS error or an authentication failure.
Configure the tracer provider and OTLP exporter
The application team sets up the OpenTelemetry tracer provider and an OTLP HTTP exporter that points at the Langfuse endpoint. The Authorization header uses Basic authentication built from the public key and secret key, and the service name and environment are set as resource attributes. Confirm the exact header format and endpoint path against the Langfuse OpenTelemetry documentation for your SDK version. The step is complete when the application starts without export errors and the exporter logs show no rejected requests.
Instrument one framework and run it
Enable the OpenTelemetry instrumentation for a single framework your team already uses, such as LangChain or LlamaIndex, and keep the first integration narrow so failures are easy to isolate. Run one representative request through a non-production path, such as a chain or query engine call with a known prompt. The step is complete when the request completes normally in the application and the instrumentation has not changed its output or raised exceptions.
Send and inspect a test trace
Trigger the instrumented call and open the expected Langfuse project to confirm a trace appears with the expected name, model call and latency. Check that the trace is in the project that matches the key you used, not in another project on the same instance. Repeat with a second environment key if you run several. The step is complete when the trace is visible in the correct project within the time your team considers acceptable, and its spans show the operations you expected, such as the LLM call and the tool steps.
Map user and session attributes onto spans
Add the user identifier and session identifier to the spans using the attribute names that Langfuse reads, and decide which identifiers are pseudonymous before any value leaves the application. Set them at the entry point of each request so every child span inherits the context. Review the attribute naming against the current Langfuse documentation rather than assuming it matches other tools. The step is complete when filtering by user and by session in the Langfuse UI returns the expected traces.
Fail a test on missing attributes
Add an automated test that runs an instrumented request with a known user and session and asserts that the exported spans carry both attributes with the expected values. Run it in the continuous integration pipeline so a refactor that drops the attributes fails the build before release. The step is complete when the test fails on purpose when you remove one attribute, then passes again once it is restored, which shows the check is actually sensitive to the gap.
Propagating user and session attributes across spans
User and session identifiers only help if they appear on every span in a request, not just the root span. A trace that shows a user's question, but leaves the retriever, tool calls and sub-agent spans unlabeled, cannot be filtered by user or session when an engineer investigates a complaint or a cost spike. Each span created by a LangChain chain, a LlamaIndex retriever, a tool function or a sub-agent needs the same user_id and session_id values as the request that triggered it. Before go-live, confirm the exact attribute names Langfuse maps from OpenTelemetry spans in the current Langfuse OpenTelemetry documentation, because the mapping determines whether the values appear as trace-level or observation-level fields in the UI and API.
Context propagation is where most gaps appear. In-process calls usually inherit the active OpenTelemetry context, but async workers, queue consumers and background jobs start with an empty context unless the identifiers are serialized into the message and restored on the consumer side. Streaming responses add a different problem: spans opened after the first chunk is sent, or finished after the HTTP response closes, can lose the context that was attached at the request boundary. Test each path explicitly with a request that fans out to a queue and a streamed completion, then inspect the resulting trace in Langfuse to confirm that every child observation carries the expected identifiers.
Tagging at the request boundary is simpler and cannot be forgotten by individual developers, but it relies on context propagation working everywhere downstream. Tagging inside each instrumented call is more explicit and survives context loss, but it spreads the logic across the codebase and is easy to miss in new code. Many teams combine both: set the attributes once in middleware, then enforce them in shared wrappers for tools and workers. Privacy belongs in the same decision. Session and user identifiers should be opaque internal IDs, not email addresses, names or account numbers, because traces may be read by engineers, retained for a configured period and, if exported, sent to other systems. Agree on the identifier format with your privacy and security teams before instrumentation begins, and review whether masking or retention settings in your Langfuse deployment need to cover these fields.
How the OTLP path changes by deployment model
Docker Compose on a single VM is documented for testing and has no high availability, so the OTLP path has one web container and one point of failure. Applications send traces to the /api/public/otel endpoint on that container, which means every sending service needs a network route to the VM and a firewall rule for the published port. Traces from the same host take the shortest path, while services on other networks depend on the VM's address being reachable from there. See the Langfuse OpenTelemetry docs for the endpoint and header details.
- Endpoint reachability: Confirm the published port in your Compose file and test it from the network farthest from the VM, not only from the host.
- TLS termination: A reverse proxy on the VM often terminates TLS, so exporters use an https URL. Confirm that every application runtime trusts the certificate chain.
- Proxy timeouts: Large trace batches sent through a reverse proxy can hit request or read timeouts. Raise them on the proxy and confirm the exact setting in your proxy product.
- Ingestion and UI sharing: One web container serves both ingestion and the UI, so a surge in traces slows the interface as well. The scaling guide describes splitting these workloads for heavier production use, so confirm whether your single-VM layout can support that before relying on it.
- Outage behavior: When the VM is down, span export fails. Check how your SDK buffers, retries and drops spans before you size an application's tolerance for gaps.
Before go-live, send a large test batch through the full proxy path and confirm the trace appears in the UI.
Production deployments run on Kubernetes, with Helm or Terraform-based deployments documented for AWS, Azure and GCP. Applications inside the cluster can reach the web service by its in-cluster name, while applications outside the cluster reach the ingress or cloud load balancer hostname. TLS usually ends at the load balancer or ingress controller, and your team decides whether traffic inside the cluster is also encrypted. The Langfuse scaling guide covers the workload layout that this path depends on.
- Route to the endpoint: Expose the web service through your ingress controller or cloud load balancer, and document which hostname each application group uses.
- TLS termination: Terminate at the edge and confirm the certificate chain for each cloud load balancer or ingress class. Check the chart values that control this.
- Idle and request timeouts: Load balancers and ingress controllers have their own limits. Large OTLP batches need those limits set above the exporter timeout, so confirm the defaults for your controller.
- Ingestion and UI split: Under heavy ingestion, Langfuse recommends separate ingestion and UI deployments of langfuse-web. Route OTLP and SDK paths to the ingestion deployment and user traffic to the UI deployment, then confirm the path rules with your chart version. Worker containers scale on CPU load.
- Verification: After the split, load test ingestion and check that UI response stays steady while spans arrive.
Before the split, confirm with your Helm chart or Terraform module which path prefixes and services it exposes, since routing rules depend on that.
In air-gapped or private networks there is no public endpoint, so the OTLP path must resolve, trust and reach Langfuse entirely inside your environment. Applications send traces to an internal hostname that resolves to the Langfuse web service, and the certificate must chain to a CA that every runtime trusts. This applies whether Langfuse runs on a single VM or in a cluster. Self-hosting guidance for the deployment itself is in the Langfuse self-hosting docs.
- Internal name resolution: Create an internal DNS record for the endpoint and confirm that every application network resolves it to the same service.
- Internal certificate authority: Install the CA into each runtime's trust store. Python, Node.js and Java each handle trust differently, so test each one.
- Proxy and egress rules: Corporate HTTP proxies can intercept or delay OTLP traffic. Add the Langfuse host to the proxy bypass list, and confirm the variable names your runtimes read.
- SDK packages from an internal mirror: Install SDKs from an internal package source. The Python SDK v5 and JS/TS SDK v6 require Langfuse v4.59.0 or later, so pin versions to match your server.
- Timeouts on internal proxies: Internal load balancers and gateways still impose idle and request limits. Ask the network team for those values and compare them with your exporter timeout.
Before go-live, run a trace from each application network through the internal DNS name and confirm it appears in Langfuse.
How a trace travels from an LLM app into Langfuse
The trace starts in the LLM application, where framework instrumentation such as LangChain or LlamaIndex creates spans through an OpenTelemetry SDK and exporter. The exporter sends them over OTLP/HTTP to Langfuse Web at /api/public/otel, which crosses the trust boundary from the application network into the Langfuse network. Langfuse Worker then processes the events asynchronously and writes observations to ClickHouse, while PostgreSQL holds projects and keys and blob storage holds larger payloads. Check that the exporter reaches the endpoint through your egress rules and that the project keys are valid.
Trace path from the application across the trust boundary into Langfuse.
Keeping project keys and trace content safe in transit
Trace data leaves your applications through three points: the project keys that authenticate exports, the OTLP endpoint that receives them, and the prompt and completion content you choose to send. Each card below covers one of these points. Where a control needs the Enterprise license, the card says so and points to the license key documentation.
Scope project keys per project
Langfuse authenticates OTLP exports with a project's public and secret keys, so each key opens only the project it was issued for. Create separate projects for each application or environment, so a leaked key exposes only one stream of traces. Before you rely on this, confirm in the Langfuse docs how keys are created, how many a project can hold, and who can view them in project settings.
Load keys from your secret manager
Read the public and secret keys at runtime from your team's secret manager and inject them as environment variables into the exporting service. Keep them out of source files, container images, notebooks and CI logs. Check that startup logs and exporter diagnostics do not echo the secret key. Limit read access to the service identity that exports traces, and review who else can read the value.
Rotate keys on a fixed schedule
Set a rotation schedule and rehearse it before the first incident. The usual sequence is to create a new key pair, deploy it, confirm traces arrive under the new key, and then revoke the old one. Before you write the runbook, confirm in the Langfuse docs whether a key can be regenerated or revoked without redeploying, and how quickly a revoked key stops working for services still running.
Enforce HTTPS to the OTLP endpoint
Exporters should send to the /api/public/otel path of your self-hosted host over HTTPS only. Terminate TLS at your load balancer or ingress using certificates from your own certificate authority, and close any plaintext listener on the public interface. Credentials travel with every export request, so one HTTP fallback in a collector or exporter config would expose them. Test each path, including sidecars and batching collectors.
Decide what content gets captured
Prompts, completions, tool inputs and retrieved documents often contain customer or patient data, so capture settings are a data decision first. Choose per application whether to record full input and output, metadata only, or a sampled subset. Check which LangChain, LlamaIndex or other OTEL instrumentation options capture content by default, and set them explicitly in each service. Record the decision with the data owner, and align trace retention with your records policy.
Mask sensitive data server-side
Server-side data masking applies redaction inside your Langfuse instance, so protection does not depend on every application redacting correctly. This control requires the Enterprise key. Without it, redaction has to happen in each application before export. Project-level RBAC, audit logs and data retention policies also need the key, so confirm your edition's feature list in the license key documentation before you design the controls.
License key docsTesting that traces arrive complete and fail safely
Before go-live, test the integration with traces whose values you already know, so a gap in the data is visible immediately. Send a set of test requests that carry a fixed user identifier and session identifier, and confirm in the Langfuse UI that each trace shows exactly those values. Then run a nested chain of at least three levels, for example a retriever call inside a tool call inside an agent step, and check that every child span appears under the parent you expect. A flat list of spans usually means context propagation broke across an async boundary, a thread pool or a client library call, and the fix belongs in the instrumentation code rather than in Langfuse. Record which SDK or OTEL exporter version produced each test trace so that a later regression can be traced to a specific upgrade. The exact attribute names for user and session should be confirmed against the current Langfuse OpenTelemetry documentation for your SDK version.
Next, run a load test that mirrors your expected peak trace volume, and watch whether ingestion keeps pace with production traffic. Compare the number of spans your application emits with the number visible in Langfuse after the load stops. Ingestion lag is the gap between when a request completed and when its trace is queryable, and it should return to normal once the load ends. If lag grows during the test and does not recover, check the Langfuse Worker first: confirm its replica count and CPU load against the guidance in the scaling documentation, and check whether the ingestion path and UI path share the same web deployment. Also check the PostgreSQL and ClickHouse resource graphs, since a slow write store will show up as a queue building behind the Worker. Dropped spans are harder to see than lag, so count emitted and stored spans per test run and investigate any difference rather than assuming the exporter handled it.
The failure test answers the most important question for a production application: does it keep serving users when Langfuse is down. Point the exporter at an unreachable host or block the port during a test run, then confirm that application requests still complete within their normal latency and that no errors reach the end user. Tracing exporters should batch and drop data in the background, and your test should confirm that behavior for your exact SDK configuration and timeout settings. Then restore connectivity and confirm whether the telemetry queued during the outage is delivered or lost, because your team needs to know which of those happens before an incident. Document the result as an accepted risk or a required fix, and have the operations owner sign it off. Repeat this test after every SDK or framework upgrade, since exporter defaults can change between versions.
What drives the effort of OpenTelemetry instrumentation
This table lists the main factors that change how much work OTLP tracing into Langfuse takes, with a way to keep each one under control. Read it before estimating scope, because most of the effort comes from conventions and decisions that must be made once across teams rather than from the code itself.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of applications and frameworks | Each service, notebook or agent runtime needs its own exporter setup, service name and credentials, and each framework may emit spans differently. | Use one shared instrumentation module with a single exporter configuration, and roll it out framework by framework instead of all at once. |
| Number of LLM call paths and agents | Every chain, tool call, retrieval step or agent hop needs to appear as a readable span, and multi-step agents often need manual spans to show their structure. | Inventory the top call paths first, then instrument only those that answer production questions, and add manual spans for the gaps. |
| Trace volume and content size | Large prompts, completions and tool outputs increase payload size and storage, and high volume raises the sampling and ingestion questions. | Agree on which fields are captured in full, truncate or drop large content, and set sampling with the data owners before go-live. |
| Custom attributes and scores | User, session, environment and business attributes must follow one naming scheme across services, or traces cannot be filtered or joined later. | Publish a short attribute convention with fixed key names and required fields, and review new attributes through one owner. |
| Environments (dev, staging, production) | Each environment needs its own keys, service names and sampling settings, and mixed data makes production dashboards unreliable. | Separate projects or environment tags from the start, and keep configuration in environment variables rather than code. |
| Compliance review of captured content | Prompts and outputs may contain personal or regulated data, so security and privacy teams may need to approve what is captured and how long it is kept. | Review the captured fields with the data owners before rollout, mask or exclude sensitive attributes, and confirm retention settings with the compliance team. |
What to monitor and document after tracing goes live
How do I know if OpenTelemetry exporters are dropping spans before they reach Langfuse?
Watch the exporter side first, because Langfuse cannot show a trace that never arrived. Most OpenTelemetry SDKs batch spans and retry or drop them when the endpoint returns errors or times out, so a silent gap in the Langfuse UI often means the exporter gave up. Track HTTP status codes from the /api/public/otel endpoint, export failure counters in your SDK or collector, and the gap between requests sent and traces visible in Langfuse. Compare a known test run against the UI on a schedule. Check the SDK's documentation for its dropped-span and export-failure signals, since names and defaults differ by language and version.
What should I watch on Langfuse Worker CPU and ingestion lag?
Worker CPU load and ingestion lag are the two signals that show whether tracing is keeping up. The Langfuse scaling guide recommends scaling worker containers on CPU load, so alert on sustained high CPU on the Worker and add replicas before it becomes a backlog. Ingestion lag is the delay between a span being sent and it appearing in the UI or API. Record a baseline during normal traffic, then alert when lag grows over several sampling intervals. If ingestion is heavy, the scaling guide also describes splitting langfuse-web into separate ingestion and user interface deployments. Confirm the exact metric names and queue behavior for your version in the self-hosting documentation.
Why do SDK and Langfuse server versions need to stay aligned?
Keeping SDK and server versions aligned prevents silent failures in attributes, endpoints and data shape after an upgrade. Langfuse states that Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later, so a client upgraded ahead of the server can break ingestion. Record the SDK and OpenTelemetry library versions in each service's dependency file, and add a check to your release process that compares them with the Langfuse server version you run. When you plan a major server upgrade, review the SDK compatibility notes at the same time so application teams are not surprised.
How often should Langfuse project API keys be rotated and who does it?
Rotate project keys on a schedule your security policy sets, and also after any suspected exposure, staff change or CI leak. Each service that exports traces holds a public and secret key pair, so a rotation touches every deployment that reads them. Plan the change in three steps: create the new key pair, update the secret store and roll the services, then revoke the old keys once traces confirm the new ones work. Keep keys out of source code and logs, and record who owns each project. Confirm in the Langfuse self-hosting documentation how key creation and revocation work for your version and role model.
What should the attribute schema document contain for engineers who inherit tracing?
The attribute schema document should list every custom attribute your code sets, what it means and where it is used. Include the user and session attribute names, the metadata keys, tag conventions and the span names for each framework, such as LangChain or LlamaIndex. For each item, record the type, allowed values, whether it may hold personal data and who approved it. Tie the schema to the sensitive-data rules in your security review, because prompts and traces can contain personal or confidential content. Keep the document in the same repository as the instrumentation code so changes to one update the other.
What belongs in the instrumentation library documentation for the next team?
The instrumentation library documentation should explain how tracing is set up, which versions it depends on and how to test it without changing production code. Cover the exporter configuration, the OTLP endpoint path, how the Langfuse keys are loaded, which frameworks are auto-instrumented and which spans are added by hand. Add a short runbook with the checks above: exporter errors, Worker CPU, ingestion lag and a known test trace. Name the owner, the on-call route and the upgrade procedure. Store the document with the code and review it at each Langfuse or SDK upgrade so it does not drift from what the services actually emit.
Who should own tracing operations after go-live, and what can an internal team handle alone?
An internal platform or ML operations team can usually own tracing operations after go-live if it has named owners for the server, the keys and the instrumentation. The server needs routine upgrades, capacity checks and backup verification, while application teams own their span attributes and SDK versions. Support from a partner is an option for upgrades, incidents or continuous review, and it is typically arranged through a retainer or a fixed-scope engagement. Decide the ownership split in writing before go-live, and confirm which support tier, if any, your Langfuse edition includes by reading the self-hosted pricing page.
How DeployOpen scopes and hands over Langfuse tracing integrations
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including the OpenTelemetry tracing integration that connects your LLM applications to a self-hosted Langfuse. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Inventory which applications, frameworks and SDKs will send traces, and which need native SDKs versus generic OTLP export.
- Define the attribute schema for user and session identifiers, and confirm where that data may be stored under your policies.
- Agree in writing the endpoint, environments, instrumented services and acceptance tests that the fixed scope covers.
How we build
- Configure OTLP exporters to the Langfuse /api/public/otel endpoint with credentials managed through your secrets tooling.
- Instrument LangChain, LlamaIndex or other supported frameworks and propagate user and session attributes across service calls.
- Test trace completeness, attribute accuracy and behavior when the Langfuse endpoint is unavailable, then document the configuration.
How we hand over
- Deliver a written configuration guide covering exporter settings, attribute conventions and the trace fields each team should populate.
- Walk your engineers through the instrumentation code, sampling choices and how to verify a new service is sending traces.
- Provide a test checklist your security and compliance reviewers can use to confirm what data leaves each application.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering changes to instrumentation as frameworks evolve.
- Review SDK and Langfuse version compatibility before upgrades, so tracing keeps working across releases.
- Confirm with your team which support terms apply to your Langfuse edition, since a support SLA is part of the Self-Hosted Enterprise plan.

