Mastra adds custom metrics and dashboards to Observability
Start here
Mastra has added custom metrics to its Observability feature, letting developers emit their own metrics from tools, workflows, processors, scorers or elsewhere in an app by calling metrics.emit() with a name, a value, and optional labels, cost details or metadata. These sit alongside Mastra's automatic duration, token and cost metrics and can trigger alerts when a value crosses a threshold. The feature requires @mastra/core@1.76.0 or later; it works on the Mastra platform through MastraPlatformExporter, and for self-hosted projects through MastraStorageExporter with a ClickHouse, DuckDB or PostgreSQL observability store. A day later, Mastra Platform added custom dashboards that turn observability data into focused views. Teams can start from templates for runs, errors, latency, cost or tokens and present data as line charts, stacked bar charts, KPIs or a scores card, with data tables still to come. Dashboards require @mastra/core@1.81.0 or later plus the observability package.
Generated from reports · updated 2 d ago
Developments
2 developments
- December 2 00:00 · 1 reportsMastra platform launches custom dashboardsMastra Blog:Mastra Platform Adds Custom Dashboards for AI Observability
- December 1 00:00 · 1 reportsMastra adds custom metrics to observabilityMastra Blog:Mastra Observability adds custom metrics via metrics.emit()
Report timeline
Follow the reports to see the event from different sides.
- Mastra BlogMastra Platform Adds Custom Dashboards for AI Observability
Mastra Platform now lets teams build custom dashboards that turn raw observability data into focused views of the metrics driving their AI applications. Users can start from templates for runs, errors, latency, cost, or tokens, then present data as line charts, stacked bar charts, KPIs, or a scores card, with data tables coming soon. The feature requires @mastra/core@1.81.0 or later plus the observability package.
- Mastra BlogMastra Observability adds custom metrics via metrics.emit()
Mastra Observability now lets developers emit custom metrics from tools, workflows, processors, scorers, or anywhere else in an app using metrics.emit(), passing a name, value, and optional labels, cost details, or metadata. Custom metrics sit alongside Mastra's automatic duration, token, and cost metrics, and can trigger alerts when a value crosses a threshold. They work on the Mastra platform via MastraPlatformExporter or self-hosted with MastraStorageExporter and a ClickHouse, DuckDB, or PostgreSQL store, requiring @mastra/core@1.76.0 or later.
Heat for this event
- Current, comparable range
- 3
- Peak, comparable range
- 9December 2 02:00
- Change in 24 hours
- -49%
The trend compares the same participants over hours observed continuously, so its range can be narrower than the current heat count. Hover or tap the chart for hourly heat; the arrow keys move through it.