Bucket VPN route switch reasons

This commit is contained in:
2026-05-16 13:19:33 +03:00
parent c97044cd34
commit 5c3b19cff7
3 changed files with 38 additions and 2 deletions
@@ -458,6 +458,9 @@ reason counts, so load tests can distinguish peer failures, timeouts, and other
route-break causes.
`mesh-live-smoke` reports the synthetic route-recovery reason beside recovery
timing and switch count.
Common route switch reasons are bucketed into stable labels such as timeout,
peer_unavailable, connection_refused, connection_reset, no_route_to_host, and
capacity_limited to keep heartbeat cardinality bounded.
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.