Mastra Platform推出智能体可观测警报
Mastra推出可观测警报功能,可按阈值监控AI智能体的错误、流量、延迟、令牌用量、模型成本和评估分数。据Mastra称,警报可按智能体、工具、模型或用户划分范围,并通过Slack、Discord、Microsoft Teams、电子邮件、Webhook、PagerDuty或incident.io发送通知,启用规则每五分钟检查一次。
该功能让智能体开发者可直接监控运行与质量指标,无需导出追踪数据并在Datadog或Grafana等工具中另行配置警报。
You can now set observability alerts and get notified when model costs exceed limits, error rates climb, or eval scores drop. Send notifications to Slack, Discord, Microsoft Teams, email, webhooks, PagerDuty, or incident.io.
You can configure alerts for:
- Errors and volume: error rate, number of errors, total count of matching traces or spans.
- Latency: duration, time to first token, time to first chunk.
- Token usage: total, input, output, reasoning, cached tokens.
- Cost and eval scores: spend, the average score from a scorer you choose.
Your browser does not support the video tag.Setting up an observability alert in Mastra Platform and getting notified in Slack.
You could already create incident alerts in Mastra Platform to find out when a deploy failed or a service crashed. Observability alerts let you know when your agents' behavior falls outside the limits you set, even when the service is running normally. You get an alert before your bill gets too high or a user reports a problem.
Previously, you could watch the Metrics page yourself or export traces and build an alert in a tool like Datadog or Grafana. Now you can create alerts directly in Mastra Platform.
#Mastra Platform#Slack#Discord#Microsoft Teams#PagerDuty#incident.io