feat: add stale connection stats tracking and varz exposure

This commit is contained in:
Joseph Doherty
2026-02-23 00:38:43 -05:00
parent eb25d52ed5
commit cd4ae3cce6
5 changed files with 64 additions and 0 deletions

View File

@@ -16,5 +16,9 @@ public sealed class ServerStats
public long SlowConsumerRoutes;
public long SlowConsumerLeafs;
public long SlowConsumerGateways;
public long StaleConnectionClients;
public long StaleConnectionRoutes;
public long StaleConnectionLeafs;
public long StaleConnectionGateways;
public readonly ConcurrentDictionary<string, long> HttpReqStats = new();
}