Before you begin
Before you start, make sure you have:- Import prerequisites: Everything in Import traces from external stores.
- Langfuse selection: One Langfuse project, one synthetic trace, and a narrow time window, with the trace ID, root trace name, timestamps, observation count, and final status recorded.
- Field approval: Generation input, output, model usage, user data, tags, and metadata excluded unless your data-handling policy permits them.
1
Map Langfuse trace
Extract the trace and its observations. Create one root OTLP span from the Langfuse trace, then one child span for every observation you keep:
Do not use a Langfuse user ID, project name, tag, or observation name as proof of agent, session, skill, or version attribution. Those relationships stay unknown until explicit target identifiers establish them.
2
Send OTLP batch
- Assemble the converted traces into an
ExportTraceServiceRequest. - Send it to
POST /otel/v1/traceswith the bearer credential from your approved secret store. - Set
X-Atlan-Workspace-Idfor the active target workspace when needed. - Set
X-Atlan-Ingest-Idto a stable batch identifier, and keep the payload unchanged if you retry it.
3
Verify copied trace
- Read
GET /registry/v1/users/{user_id}/traces/{trace_id}, where{user_id}is the Atlan user ID of the identity that sent the batch (theidthatGET /registry/v1/users/mereturns). Confirm that itsworkspace_idis the target workspace. - Read
GET /registry/v1/users/{user_id}/traces/{trace_id}/spanswithfields=core,attributes,io,usage, followingpage.next_cursoruntil it is absent. - Confirm the root name, preserved or recorded source ID, timing, final status, one root span plus the kept observation count, and parent relationships.
- Confirm that fields excluded by policy are absent.
Troubleshooting
If the trace is not found, the span tree is flat, the target holds too much data, or a retry returns409, see Trace errors.
Next steps
- How trace attribution works: Decide what an imported trace can be attributed to.
See also
- Import traces from external stores: The shared mapping and recovery rules.
- API reference: The OTLP ingestion contract.