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
1
Go to Alerts
Navigate to metrion.dev/alerts in your dashboard.
2
Click 'New Alert'
Click the New Alert button in the top-right corner of the rules panel.
3
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.
4
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.
5
Save the rule
Click Create alert. The rule becomes active immediately.
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
On the Free plan, you can see the alerts section but it is locked behind an upgrade prompt. To create more than one rule, upgrade to Pro.