using System.Collections.Concurrent;

namespace NATS.Server;

public sealed class ServerStats
{
    public long InMsgs;
    public long OutMsgs;
    public long InBytes;
    public long OutBytes;
    public long TotalConnections;
    public long SlowConsumers;
    public long StaleConnections;
    public long Routes;
    public long Gateways;
    public long Leafs;
    public long Stalls;
    public long SlowConsumerClients;
    public long SlowConsumerRoutes;
    public long SlowConsumerLeafs;
    public long SlowConsumerGateways;
    public long StaleConnectionClients;
    public long StaleConnectionRoutes;
    public long StaleConnectionLeafs;
    public long StaleConnectionGateways;
    public bool JetStreamEnabled;
    public long JetStreamApiTotal;
    public long JetStreamApiErrors;
    public readonly ConcurrentDictionary<string, long> HttpReqStats = new();
}
