Skip to main content

RedisStats

Assembly: ServiceStack.Redis.dll​
View Source​
Declaration
public static class RedisStats

Properties​

TotalCommandsSent​

Total number of commands sent

View Source​
Declaration
public static long TotalCommandsSent { get; }

TotalFailovers​

Number of times the Redis Client Managers have FailoverTo() either by sentinel or manually

View Source​
Declaration
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​
Declaration
public static long TotalDeactivatedClients { get; }

TotalFailedSentinelWorkers​

Number of times connecting to a Sentinel has failed

View Source​
Declaration
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​
Declaration
public static long TotalForcedMasterFailovers { get; }

TotalInvalidMasters​

Number of times a connecting to a reported Master wasn't actually a Master

View Source​
Declaration
public static long TotalInvalidMasters { get; }

TotalNoMastersFound​

Number of times no Masters could be found in any of the configured hosts

View Source​
Declaration
public static long TotalNoMastersFound { get; }

TotalClientsCreated​

Number of Redis Client instances created with RedisConfig.ClientFactory

View Source​
Declaration
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​
Declaration
public static long TotalClientsCreatedOutsidePool { get; }

TotalSubjectiveServersDown​

Number of times Redis Sentinel reported a Subjective Down (sdown)

View Source​
Declaration
public static long TotalSubjectiveServersDown { get; }

TotalObjectiveServersDown​

Number of times Redis Sentinel reported an Objective Down (sdown)

View Source​
Declaration
public static long TotalObjectiveServersDown { get; }

TotalRetryCount​

Number of times a Redis Request was retried due to Socket or Retryable exception

View Source​
Declaration
public static long TotalRetryCount { get; }

TotalRetrySuccess​

Number of times a Request succeeded after it was retried

View Source​
Declaration
public static long TotalRetrySuccess { get; }

TotalRetryTimedout​

Number of times a Retry Request failed after exceeding RetryTimeout

View Source​
Declaration
public static long TotalRetryTimedout { get; }

TotalPendingDeactivatedClients​

Total number of deactivated clients that are pending being disposed

View Source​
Declaration
public static long TotalPendingDeactivatedClients { get; }

Methods​

Reset()​

View Source​
Declaration
public static void Reset()

ToDictionary()​

View Source​
Declaration
public static Dictionary<string, long> ToDictionary()
Returns​

System.Collections.Generic.Dictionary<System.String,System.Int64>