You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are connections made by the client to the redis server and redis options client name is specified then all the connections should have the client name.
Current Behavior
Only a few connections which get used get assigned the client name.
Steps to Reproduce
Start Redis Server on local.
Run the go script given below.
Check the client list.
Context (Environment)
Example is given from local redis but same issue I am facing in elasticache redis also. The number of connections were crossing threshold and we were getting alerts.
Wanted to check which applications were using most connections but found out that connection name is not available when doing client list.
Detailed Description
I have tried for both redis.Client and redis.ClusterClient and facing issue for both.
Not sure if this is the expected behaviour or a bug, any help here is much appreciated.
go-redis version - github.com/redis/go-redis/v9 v9.5.3
Expected Behavior
If there are connections made by the client to the redis server and redis options client name is specified then all the connections should have the client name.
Current Behavior
Only a few connections which get used get assigned the client name.
Steps to Reproduce
Context (Environment)
Example is given from local redis but same issue I am facing in elasticache redis also. The number of connections were crossing threshold and we were getting alerts.
Wanted to check which applications were using most connections but found out that connection name is not available when doing client list.
Detailed Description
I have tried for both redis.Client and redis.ClusterClient and facing issue for both.
Not sure if this is the expected behaviour or a bug, any help here is much appreciated.
go-redis version - github.com/redis/go-redis/v9 v9.5.3
OS - MacOS Sonoma 14.6.1
Redis Server Output
Client List Output
The text was updated successfully, but these errors were encountered: