Announcing Mastra Observability

Production observability for every Mastra project.

Sam BhagwatSam Bhagwat·

May 13, 2026

·

2 min read

Today we're incredibly excited to announce Mastra Observability as a standalone part of the Mastra platform — logs, traces, and metrics for your agents, fully searchable, available across every project and deploy you run.

When we launched the Mastra platform last month, we included logs, traces, and metrics in Mastra Studio. The problem: you had to deploy a Studio to get started, and observability was grouped by specific Studio instances. Now, your agent runtime data is searchable across deploys and projects.

Why we shipped observability

Because of the context-dependent nature of LLMs, teams building agents find observability to be critical to shipping production-grade agents. And if you’re an engineer building agents, you need logs, traces, and metrics on Day 1.

And so we felt like as an agent framework, we should be offering this not just locally through Studio, but also in the cloud, so you can persist the data and share with your team.

How it works

Under the hood, Mastra’s platform observability is built on ClickHouse, the open-source columnar database that’s becoming the standard for agent observability, through our official @mastra/clickhouse adapter.

We push OTel-shaped signals through a Hono ingest tier into Google Cloud Pub/Sub, where a writer fans out to ClickHouse for storage and to our billing pipeline in parallel.

Every row is tagged with organizationId and resourceId with API-scoped queries, so you get sub-second trace lookups across your spans without needing a per-tenant cluster.

Pricing

We’re keeping the same pricing from our Mastra platform launch. On the free Starter tier, you get 100k free observability events (logs, traces, and metrics) per month, plus $10 for each additional 100k.

On the Pro tier ($250/month), we give you 1M traces, plus $8 for each additional 100k.

Get started

Add MastraPlatformExporter() to the observability exporters in your main Mastra instance:

 1import { Mastra } from "@mastra/core/mastra";
 2import { Observability, MastraPlatformExporter } from "@mastra/observability";
 3
 4export const mastra = new Mastra({
 5   // ...
 6  observability: new Observability({
 7    configs: {
 8      default: {
 9        serviceName: "mastra",
10        exporters: [new MastraPlatformExporter()]
11      }
12    }
13  })
14});

Or when you’re starting a new project with npm create mastra@latest, select Yes when it asks if you want to enable Mastra Observability.

For full setup instructions, see the observability quickstart guide.

Share:
Sam Bhagwat

Sam Bhagwat is the founder and CEO of Mastra. He co-founded Gatsby, which was used by hundreds of thousands of developers. A Stanford graduate and veteran of web development, he authored 'Principles of Building AI Agents' (2025).

All articles by Sam Bhagwat