Feature · Alerts

Alerts that reach the right human.

Agents fail quietly. Retry budgets get burned. Cost-per-run walks. Trefur alerts on the change, routes to the channel you already operate in, and attaches the worst trace so oncall can triage in seconds.

How it works.

Every agent run produces structured signals: tokens, latency, retry count, tool error count, outcome class. Trefur alerts when an agent's cost, latency, retries or errors change unusually.

You configure routing per agent, per environment, per severity. Pick the channel — Slack, PagerDuty, webhook, email, Microsoft Teams. Pick the schedule and the escalation. Each alert includes a one-line summary and a deep link to the worst trace in the window.

Quiet hours, deduplication windows, acknowledgement, and snooze are first-class. Alerts watch each agent's cost, latency, retry and error behavior, so a clean deploy does not page the whole team during warm-up.

What you can do with it.

Drift detection — Trefur alerts when an agent's cost, latency, retries or errors change unusually.
Alert on drift, not on absolute numbers — fewer pages, more signal.
Route per agent, per environment, per severity to Slack, PagerDuty, webhook, Teams, or email.
Every alert links the worst trace in the window so oncall opens it pre-triaged.
Quiet hours, deduplication windows, acknowledgement, and snooze for known incidents.

An alert lands in Slack.

#ai-oncall · 02:14 · routed by Trefur
$ [refund-bot] retry rate 4.2x baseline (last 10m)
$ trigger p95 retry_count > 3 (threshold: 3)
$ window 2026-05-29T02:04Z to 02:14Z
$ affected 118 runs / 14 distinct customers
$ top trace https://app.trefur.com/agents/run/8f3a...
$ ack :white_check_mark: snooze 1h open dashboard

Routes to.

Slack
PagerDuty
Microsoft Teams
Webhook
Email

Make oncall actually peaceful.

Alert rules and channels are part of the Team plan. Enterprise adds quiet hours, advanced routing, and approval-deadline tracking.