Set Budgets and Alerts
Visibility tells you what happened; budgets and alerts tell you before something goes wrong. KOSTRA lets you set spending expectations against your pool structure and be notified when reality diverges — whether that is a budget breach or an unusual spike. This guide shows how to put those guardrails in place.Set expectations against pools
Budgets in KOSTRA are most useful when they sit on the pool structure you have already built. A budget on a team’s pool makes that team’s spend accountable against a number they agreed to, and it gives finance an early signal when a pool is trending over.- Make sure your Pools reflect the teams and projects you want to budget — see Organize Spend with Pools.
- Open the relevant pool.
- Set the budget or spending constraint for the pool.
- Save it so KOSTRA can track actual spend against the expectation.
Add constraints and quotas
Beyond a headline budget, KOSTRA supports constraints that keep individual resources and pools within policy — for example, limits that flag when spend or resource lifetime exceeds what you intend. Use these to catch the small, recurring leaks that erode a budget over time, such as resources left running past their useful life.- In the left navigation, open Quotas and Budgets.
- Define the constraint you want to enforce.
- Scope it to the pool or resources it should apply to.
- Save it.
Detect anomalies automatically
Not every problem fits a fixed threshold. A sudden change in spend — a service that jumps well above its normal pattern — is often the first sign of a misconfiguration or a runaway workload. KOSTRA’s anomaly detection watches for these deviations so you do not have to.- In the left navigation, open Anomalies.
- Create an anomaly-detection policy for the spend you want to watch.
- Set the sensitivity and scope appropriate to that spend.
- Save the policy.
Get notified
Guardrails are only useful if the right people hear about them. KOSTRA sends email notifications for budget and alert events, so a pool owner learns about a breach or an anomaly without having to watch a dashboard. Confirm that notification email is configured for your instance and that pool owners are set, so alerts reach the person who can act.A practical guardrail setup
- Budget each significant pool against an agreed number.
- Add constraints for the leaks you know you have — idle resources, forgotten test environments.
- Turn on anomaly detection for your largest or most volatile spend.
- Make sure owners receive notifications.