forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbudget-alerts.yml
More file actions
47 lines (43 loc) · 1.63 KB
/
Copy pathbudget-alerts.yml
File metadata and controls
47 lines (43 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
groups:
- name: gistpin-budget-alerts
rules:
- alert: BudgetProjectedOverage
expr: aws_cost_forecast_next_month_usd > aws_cost_budget_monthly_usd
for: 6h
labels:
severity: critical
annotations:
summary: "Projected monthly spend exceeds budget"
description: "Forecast: ${{ $value | humanize }} — review cost-forecast.py output"
- alert: BudgetNearThreshold
expr: aws_cost_forecast_next_month_usd > aws_cost_budget_monthly_usd * 0.85
for: 12h
labels:
severity: warning
annotations:
summary: "Projected spend within 85% of monthly budget"
description: "Forecast: ${{ $value | humanize }}"
- alert: ForecastAnomaly
expr: abs(aws_cost_forecast_growth_rate_pct) > 20
for: 1d
labels:
severity: warning
annotations:
summary: "Abnormal spend growth rate detected"
description: "Growth rate: {{ $value }}% — investigate recent infrastructure changes"
- alert: ResourceGrowthProjection
expr: aws_cost_resource_growth_pct > 50
for: 3d
labels:
severity: info
annotations:
summary: "Resource cost growth projection exceeds 50%"
description: "Run cost-forecast.py for detailed breakdown"
- alert: SavingsOpportunityDetected
expr: aws_cost_rightsizing_savings_usd > 100
for: 24h
labels:
severity: info
annotations:
summary: "Rightsizing savings opportunity detected"
description: "Potential monthly savings: ${{ $value | humanize }}"