跳到主要内容

提供商警报与解决

Fonrex automatically creates alerts when provider metrics drop below acceptable health thresholds.

Alert Typology

警报类型触发条件严重程度自动解决
canary_failedProvider fails 3 consecutive daily synthetic canary checkscritical✅ Yes (when next canary succeeds)
low_success_rateProvider 24h success rate drops below 70%critical✅ Yes (when success rate > 85%)
high_outlier_rateOver 30% of returned values flagged as consensus outlierswarning❌ Manual
latency_spikeAverage provider latency exceeds 3000mswarning✅ Yes (when latency < 1500ms)

Resolving Alerts Manually

要通过 REST API 手动解决活跃的警告或严重警报:

curl -X POST "http://localhost:5000/health/alerts/42/resolve" \
-H "Content-类型: application/json" \
-d '{"resolution_note": "Upstream HTML layout updated and parser fixed."}'