Billing Metrics Cost Budget Alert
Description
This alert monitors your billing account's current invoice price and triggers when the accumulated costs exceed a configured USD threshold. It provides proactive cost monitoring to help prevent unexpected billing overages and maintain budget compliance.
The billing metrics alert evaluates your current invoice price at regular intervals and generates alerts when spending surpasses your defined budget threshold.
Prerequisites
- An active billing account in your Monad organization
- Understanding of your expected monthly spending and budget constraints
- Access to billing account information
Setup Instructions
- Configure the USD Amount threshold that will trigger the alert
- The alert will automatically monitor your billing account's current invoice price
- Alerts are generated when the current invoice price exceeds the configured threshold
Configuration Options
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| usd_amount | integer | Yes | - | The budget threshold in USD. Alert triggers when current invoice price exceeds this amount. Must be > 0. |
Alert JSON Format
When the cost threshold is exceeded, the alert generates the following JSON structure:
{
"rule_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Monthly Budget Alert",
"organization_id": "org-123",
"severity": "critical",
"description": "Billing account ba-abc-123 exceeds USD amount threshold $5000. Current invoice price: $5432.10.",
"metadata": {
"current_overage_amount_percentage": "108.64%",
"current_overage_amount_value": "432.10",
"current_invoice_price": "5432.10"
}
}
Alert Metadata Fields
- current_overage_amount_percentage: The percentage of the threshold that has been reached (e.g., 108.64% means 8.64% over budget)
- current_overage_amount_value: The dollar amount by which the current invoice exceeds the threshold
- current_invoice_price: The current total invoice price for the billing account
Use Cases
- Budget Management: Prevent cost overruns by alerting when spending approaches or exceeds budget limits
- Cost Control: Early detection of unexpected spending spikes due to increased usage or configuration changes
- Financial Planning: Monitor actual spending against projected budgets for better financial forecasting
- Multi-team Accountability: Set budget alerts for different billing accounts to track team-specific spending
- Runaway Cost Prevention: Catch misconfigured pipelines or unexpected data volumes before they result in significant charges
Limitations
- Alert granularity is per billing account (not per pipeline or resource)
- Current invoice price reflects costs accrued in the current billing period
Best Practices
- Set your threshold slightly below your actual budget limit to provide advance warning
- Consider setting multiple alerts at different threshold levels (e.g., 50%, 75%, 90% of budget)