Writing
Field notes on production AI and the engineering work around it: agents, infrastructure, and the operating details that make software reliable enough for real work.
- You do not have to trust the agent to use it Robert C. Martin said compilers were for weenies. He changed his mind, and he is telling you to let agents write your code, as long as you own the check.
- Route a Grafana alert to a read-only Mastra triage agent Wire a firing Grafana alert to a read-only Mastra agent that investigates it itself, pulls the failing trace and source, and posts a cited noise-or-ticket call.
- How to correlate Mastra metrics, logs, and traces in Grafana Route a store-free Mastra agent's traces and logs through one OpenTelemetry Collector to Tempo and Loki, and correlate them with Prometheus metrics in Grafana.
- A Grafana dashboard for your Mastra agent metrics Build the one Grafana dashboard to watch a Mastra agent: five golden signals, a p95 from histogram_quantile, exemplars, and the provisioned JSON to copy.
- How to export Mastra agent metrics to Prometheus (no database required) Mastra derives agent metrics from its traces. To monitor and alert in Prometheus, an exporter listens on its observability bus, no analytics database needed.