Track events.KeepAliveRestored events to monitor connection quality and network stability.
Why: Early warning of network instability, helps diagnose intermittent issues.
Implementation:
var keepAliveRestoreCount atomic.Uint64
case *events.KeepAliveRestored:
keepAliveRestoreCount.Add(1)
logger.Warnf("KeepAlive restored (total: %d)", keepAliveRestoreCount.Load())
Effort: ~10 minutes
Priority: Medium value (observability)