Spend Management Overview
Spend management is a powerful tool for optimizing resource usage and controlling costs on your platform. This guide explains how to set up spend limits, manage notifications, pause projects, and integrate webhooks for automated actions.
Setting Up Spend Management
-
Enable Spend Management:
- Spend management is available for Epycbyte Pro plans. Ensure your account is upgraded to the appropriate tier to access these features.
-
Define Budget Amounts:
- Set a budget amount under the "Spend Management" section of your team settings. This limit will be enforced during the billing cycle.
-
Notifications and Alerts:
- Configure alerts for when your spend reaches 100% of the budget or at the end of the billing cycle. You can enable notifications via email, Slack, or webhooks.
Managing Spend Thresholds
- Current Spend: Track the total cost incurred during the current billing cycle. This helps in understanding usage patterns and planning future budgets.
- Budget Amount: The maximum spend allowed for your team during a billing period. Exceeding this limit will trigger alerts and require manual intervention to resume paused projects.
Pausing Projects
- Project Pause: When the spend approaches or exceeds the budget, you can manually pause all projects associated with that spend. This prevents further costs until the next billing cycle.
- Resume Projects: After adjusting budgets or at the end of a billing cycle, resume projects by removing them from the paused state. Note: Paused projects cannot be resumed automatically unless explicitly allowed via webhook configurations.
Configuring Webhooks
- Webhook Integration: Set up a webhook URL to receive POST requests when specific events occur:
- Spend reaches 100% of the budget.
- Billing cycle ends (useful for resuming paused projects).
Webhook Payload Example
{
"budgetAmount": 500,
"currentSpend": 500,
"teamId": "team_jkT8yZ3oE1u6xLo8h6dxfNc3"
}
- Event Types:
endOfBillingCycle: Triggered at the end of a billing period, allowing you to resume paused projects.spendReachedBudget: Triggered when spend reaches or exceeds the budget amount.
Activity Tracking
Epycbyte provides detailed activity logs in the dashboard. This includes:
- Spend adjustments and updates.
- Project pausing and unpausing actions.
- Webhook triggers and responses.
Additional Resources
For more information on pricing, usage optimization, and invoices: