Alerts

Set up alerts to get notified when your LLM metrics cross a threshold. Alerts are evaluated every 5 minutes against your recent trace data.

Supported Metrics

MetricDescription
error_ratePercentage of requests that returned an error
latency_p50Median latency
latency_p9595th percentile latency
latency_p9999th percentile latency
cost_totalTotal cost in USD within the evaluation window
request_countNumber of requests within the evaluation window

Conditions

Each alert uses a condition operator: gt (greater than), gte, lt, lte, eq.

Example: "Alert me when error_rate is gt 5" fires when your error rate exceeds 5%.

Notification Channels

ChannelTarget FormatNotes
Emailemail@example.comSent via Resend
Slackhttps://hooks.slack.com/services/...Incoming webhook
Discordhttps://discord.com/api/webhooks/...Discord webhook
PagerDutyIntegration Key (32-char)Events API v2 with auto-resolve
Webhookhttps://your-server.com/alertsPOST with JSON payload

Setting Up Alerts

Go to Settings → Alerts in your dashboard. Click "Create Alert" and configure the name, metric, condition, threshold, evaluation window, cooldown period, and notification channels.