RedisStats
Assembly: ServiceStack.Redis.dll
View Source
public static class RedisStats
Properties
TotalCommandsSent
Total number of commands sent
View Source
public static long TotalCommandsSent { get; }
TotalFailovers
Number of times the Redis Client Managers have FailoverTo() either by sentinel or manually
View Source
public static long TotalFailovers { get; }
TotalDeactivatedClients
Number of times a Client was deactivated from the pool, either by FailoverTo() or exceptions on client
View Source
public static long TotalDeactivatedClients { get; }
TotalFailedSentinelWorkers
Number of times connecting to a Sentinel has failed
View Source
public static long TotalFailedSentinelWorkers { get; }
TotalForcedMasterFailovers
Number of times we've forced Sentinel to failover to another master due to consecutive errors beyond sentinel.WaitBeforeForcingMasterFailover
View Source
public static long TotalForcedMasterFailovers { get; }
TotalInvalidMasters
Number of times a connecting to a reported Master wasn't actually a Master
View Source
public static long TotalInvalidMasters { get; }
TotalNoMastersFound
Number of times no Masters could be found in any of the configured hosts
View Source
public static long TotalNoMastersFound { get; }
TotalClientsCreated
Number of Redis Client instances created with RedisConfig.ClientFactory
View Source
public static long TotalClientsCreated { get; }
TotalClientsCreatedOutsidePool
Number of times a Redis Client was created outside of pool, either due to overflow or reserved slot was overridden
View Source
public static long TotalClientsCreatedOutsidePool { get; }
TotalSubjectiveServersDown
Number of times Redis Sentinel reported a Subjective Down (sdown)
View Source
public static long TotalSubjectiveServersDown { get; }
TotalObjectiveServersDown
Number of times Redis Sentinel reported an Objective Down (sdown)
View Source
public static long TotalObjectiveServersDown { get; }
TotalRetryCount
Number of times a Redis Request was retried due to Socket or Retryable exception
View Source
public static long TotalRetryCount { get; }
TotalRetrySuccess
Number of times a Request succeeded after it was retried
View Source
public static long TotalRetrySuccess { get; }
TotalRetryTimedout
Number of times a Retry Request failed after exceeding RetryTimeout
View Source
public static long TotalRetryTimedout { get; }
TotalPendingDeactivatedClients
Total number of deactivated clients that are pending being disposed
View Source
public static long TotalPendingDeactivatedClients { get; }
Methods
Reset()
View Source
public static void Reset()
ToDictionary()
View Source
public static Dictionary<string, long> ToDictionary()
Returns
System.Collections.Generic.Dictionary<System.String,System.Int64>