Understanding Tracing and Logs
Mastra Cloud captures execution data to help you monitor your application’s behavior in the production environment.
Mastra Cloud is currently in public beta. Features, APIs, and UIs may change as development continues.
Logs
You can view detailed logs for debugging and monitoring your application’s behavior on the Logs page of the Dashboard.
Key features:
Each log entry includes its severity level and a detailed message showing agent, workflow, or storage activity.
Traces
More detailed traces are available for both agents and workflows by using a logger or enabling telemetry using one of our supported providers.
Agents
With a logger enabled, you can view detailed outputs from your agents in the Traces section of the Agents Playground.
Key features:
Tools passed to the agent during generation are standardized using convertTools
. This includes retrieving client-side tools, memory tools, and tools exposed from workflows.
Workflows
With a logger enabled, you can view detailed outputs from your workflows in the Traces section of the Workflows Playground.
Key features:
Workflows are created using createWorkflow
, which sets up steps, metadata, and tools. You can run them with runWorkflow
by passing input and options.