Quick setup? Instead of following these steps manually, copy a prompt into your coding agent and it will set this up for you automatically.
LangWatch integrates with Mastra through OpenTelemetry to capture traces from your Mastra agents automatically.
Installation
Usage
Configure your Mastra instance with OpenTelemetry exporter pointing to LangWatch:
Mastra automatically sends traces to LangWatch through the OpenTelemetry exporter. All agent interactions, tool calls, and workflow executions will be captured.
Last modified on October 12, 2026