Integrations / Mastra
To trace Mastra with Tracify, wrap an agent call with traceAgent in the TypeScript SDK, or export Mastra's OpenTelemetry traces to Tracify over OTLP.
Your code
Mastra
Tracify
One run.
Setup
import { traceAgent } from "tracify-sdk";
const run = traceAgent(async (input: string) => {
const result = await mastraAgent.generate(input);
return result.text;
}, { name: "mastra-agent" });Full details in the documentation. All integrations are listed on the integrations page.
