Track VPN route switch reasons

This commit is contained in:
2026-05-16 13:17:35 +03:00
parent f23e11a8fd
commit 9ea49c8338
3 changed files with 41 additions and 1 deletions
@@ -453,6 +453,9 @@ Route recovery telemetry includes failure/switch timestamps and recovery
duration in milliseconds for each recovered flow channel.
Scheduler snapshots also aggregate route recovery max/average milliseconds
across recovered channels for quick load-test health checks.
Route recovery telemetry now includes normalized switch reasons and aggregate
reason counts, so load tests can distinguish peer failures, timeouts, and other
route-break causes.
Endpoint ranking treats `capacity_limited` observations as a soft pressure
penalty instead of a hard recent failure, enabling load spreading without
marking the carrier unhealthy.