forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcost-alerts.yml
More file actions
38 lines (35 loc) 路 1.2 KB
/
Copy pathcost-alerts.yml
File metadata and controls
38 lines (35 loc) 路 1.2 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
groups:
- name: gistpin-cost-alerts
rules:
- alert: BudgetThresholdWarning
expr: aws_cost_budget_utilization_percent > 80
for: 1h
labels:
severity: warning
annotations:
summary: "Monthly budget utilization above 80%"
description: "Current utilization: {{ $value }}%"
- alert: BudgetThresholdCritical
expr: aws_cost_budget_utilization_percent > 95
for: 30m
labels:
severity: critical
annotations:
summary: "Monthly budget utilization above 95%"
description: "Current utilization: {{ $value }}%"
- alert: DailyCostSpike
expr: aws_cost_daily_usd > aws_cost_daily_avg_usd * 1.3
for: 2h
labels:
severity: warning
annotations:
summary: "Daily cost spike detected (>30% above average)"
description: "Today: ${{ $value }}"
- alert: UnusedResourcesDetected
expr: aws_unused_resources_count > 5
for: 24h
labels:
severity: info
annotations:
summary: "{{ $value }} unused resources detected"
description: "Run cost-optimization.sh to review and clean up"