Feature · Alerts

Alerts that page humans, not noise.

Agents fail quietly. Retry budgets get burned. Cost-per-run walks. Trefur alerts on the envelope, 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 learns the normal envelope per agent over a rolling window, then alerts when current behavior drifts outside it.

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. The envelope learns each agent's normal cost, latency, retry, and error behavior over a rolling window, so a clean deploy settles into the new baseline instead of paging the whole team during warm-up.

What you can do with it.

Envelope-based detection — Trefur learns each agent's normal cost, latency, retry, and error envelope over a rolling window and alerts on drift.
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 (envelope: 0.6)
$ window 2026-05-29T02:04Z to 02:14Z
$ affected 118 runs / 14 distinct customers
$ top trace https://app.trefur.com/traces/t_8f3a...
$ ack :white_check_mark: snooze 1h open dashboard

Routes to.

Slack
PagerDuty
Microsoft Teams
Webhook
Email

Make oncall actually peaceful.

Free tier covers basic alerts. Team and Enterprise add quiet hours, advanced routing, and SLA reporting.