Alerts send you an email notification when a metric — cost, error rate, latency, or request volume — crosses a threshold you define. You configure each rule once, and Metrion checks it automatically after every proxied request.Documentation Index
Fetch the complete documentation index at: https://metrion.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Notification levels
Each alert rule triggers at two levels:- Warning — sent when your current value reaches 90% of the threshold. This is an early signal to act before the limit is hit.
- Alert — sent when your current value reaches or exceeds 100% of the threshold.
Metrion enforces a 24-hour cooldown per rule. If a warning or alert email has already been sent for a rule, the same level will not send again until 24 hours have passed. This prevents repeated notifications during a sustained overrun.
Create an alert rule
Go to Alerts
Navigate to metrion.dev/alerts in your dashboard.
Choose a type
Select one of the four alert types: Budget, Error Rate, Latency p95, or Request Volume. See Alert Types for details on each.
Configure the rule
Fill in the rule fields:
- Name (optional) — a label to identify the rule, such as “Prod API” or “Marketing bot”.
- Threshold — the value at which the alert fires, along with its unit (e.g.
50inUSD, or5in%). - Providers — scope the rule to all providers or to specific ones (Anthropic, OpenAI, Gemini, Mistral, Grok).
- Period — the date range over which usage is measured. Budget alerts let you choose between the start of the current month, the moment the rule was created, or a custom date.
Test an alert rule
Click Test on any rule to send a real email to your account address immediately, regardless of current usage. Use this to confirm your email is receiving notifications before relying on the rule in production. A test cooldown of 12 hours applies per rule after a test email is sent.Delete an alert rule
Click Delete next to a rule to remove it permanently. Deletion is immediate and cannot be undone.Plan limits
| Plan | Alert rules |
|---|---|
| Free | 1 |
| Pro | Unlimited |