Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 3acce47

Browse files
committed
Add resolver counts to RedisManagerStats
1 parent 5be0103 commit 3acce47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceStack.Redis/RedisManagerPool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ public Dictionary<string, string> GetStats()
354354
{"clientsWithExceptions", "" + clientsWithExceptions},
355355
{"clientsInUse", "" + clientsInUse},
356356
{"clientsConnected", "" + clientsConnected},
357+
{"RedisResolver.ReadOnlyHostsCount", "" + RedisResolver.ReadOnlyHostsCount},
358+
{"RedisResolver.ReadWriteHostsCount", "" + RedisResolver.ReadWriteHostsCount},
357359
};
358360

359361
return ret;

0 commit comments

Comments
 (0)