redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
20.06k stars 2.37k forks source link

feat: add connection waiting statistics #2804

Open lzakharov opened 11 months ago

lzakharov commented 11 months ago

Hi! This PR adds connection waiting statistics. These statistics are useful for tuning pool parameters. Inspired by redigo stats.

I removed doctests with Go 1.18 due to atomic.Int64 usage.

lzakharov commented 11 months ago

Tests fixed in #2808.

lzakharov commented 9 months ago

@ofekshenawa sorry for disturbing, can you review please? This PR can help a lot. Thanks in advance!