feat: complete V1 phases 0-7
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
groups:
|
||||
- name: lehuo-api
|
||||
rules:
|
||||
- alert: ApiUnavailable
|
||||
expr: probe_success{job="lehuo-api"} == 0
|
||||
for: 2m
|
||||
labels: { severity: critical }
|
||||
annotations: { summary: '乐活公益 API 不可用' }
|
||||
- alert: ApiHighLatency
|
||||
expr: lehuo_api_p95_milliseconds > 1000
|
||||
for: 10m
|
||||
labels: { severity: warning }
|
||||
annotations: { summary: 'API P95 超过 1 秒' }
|
||||
- alert: NotificationDeadLetters
|
||||
expr: lehuo_notification_dead_total > 0
|
||||
for: 5m
|
||||
labels: { severity: warning }
|
||||
annotations: { summary: '微信通知存在死信' }
|
||||
- alert: BackupMissing
|
||||
expr: time() - lehuo_backup_last_success_timestamp > 93600
|
||||
for: 10m
|
||||
labels: { severity: critical }
|
||||
annotations: { summary: '超过 26 小时无成功数据库备份' }
|
||||
Reference in New Issue
Block a user