feat(deploy): change instance size to professional-xs and update memory utilization alert window to 300 seconds

This commit is contained in:
UncleCode
2024-11-16 17:25:07 +08:00
parent 67edc2d641
commit 5d0b13294c
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ services:
http_path: /health http_path: /health
http_port: 11235 http_port: 11235
instance_count: 1 instance_count: 1
instance_size_slug: basic-xs instance_size_slug: professional-xs
name: web name: web
routes: routes:
- path: / - path: /

View File

@@ -23,7 +23,7 @@ spec:
alerts: alerts:
- rule: MEM_UTILIZATION - rule: MEM_UTILIZATION
value: 90 value: 90
window: 5m # Added window parameter window: 300 # Changed from "5m" to 300 (5 minutes in seconds)
operator: GREATER_THAN operator: GREATER_THAN
disabled: false disabled: false
- rule: DEPLOYMENT_FAILED - rule: DEPLOYMENT_FAILED