Mastra Platform adds trace imports, starting with Langfuse
Mastra introduced trace imports, letting users pull existing traces from third-party observability providers into the Mastra platform; Langfuse is the first supported source, with more providers to follow. Imported traces appear alongside Mastra-generated traces in the platform and deployed Studio for debugging, filtering and comparison. Mastra says imports preserve span types such as agent_run, model_generation and tool_call, along with parent-child structure, timestamps, inputs, outputs, usage and cost, while scores, feedback, datasets, attachments and logs are omitted. The feature requires [email protected] and @mastra/[email protected] or later and supports dry-run previews, date-window imports and resuming interrupted imports.
Mastra says trace imports let teams keep their trace history with them when switching observability providers to Mastra.
You can now import existing traces from third-party observability providers using trace imports.
Imported traces show up alongside your Mastra-generated traces in Mastra platform (and deployed Studio), letting you debug, filter and compare across your trace history without switching between tools.
We're starting today with Langfuse support, with more providers to follow.
Switching observability providers often means losing valuable trace history, with existing data left behind on the previous provider. By using trace imports, you can switch to Mastra and bring your trace history with you.
Your browser does not support the video tag.
Before trace imports, Mastra observability data could only be exported to third-party providers. Now you can pull it back with the details preserved: span types like agent_run, model_generation and tool_call stay intact, along with parent-child structure, timestamps, inputs, outputs, usage and cost. Only trace observations are imported; scores, feedback, datasets, attachments and logs are omitted.