diff --git a/go.mod b/go.mod index 09f4136..f4a25b0 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,9 @@ module go.unistack.org/micro-broker-redis/v3 -go 1.23.1 +go 1.22 require ( + github.com/redis/go-redis/extra/rediscmd/v9 v9.5.3 github.com/redis/go-redis/v9 v9.6.1 go.unistack.org/micro/v3 v3.10.84 ) diff --git a/go.sum b/go.sum index a330a1d..ad774ae 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/redis/go-redis/extra/rediscmd/v9 v9.5.3 h1:1/BDligzCa40GTllkDnY3Y5DTHuKCONbB2JcRyIfl20= +github.com/redis/go-redis/extra/rediscmd/v9 v9.5.3/go.mod h1:3dZmcLn3Qw6FLlWASn1g4y+YO9ycEFUOM+bhBmzLVKQ= github.com/redis/go-redis/v9 v9.6.1 h1:HHDteefn6ZkTtY5fGUE8tj8uy85AHk6zP7CpzIAM0y4= github.com/redis/go-redis/v9 v9.6.1/go.mod h1:0C0c6ycQsdpVNQpxb1njEQIqkx5UcsM8FJCQLgE9+RA= go.unistack.org/micro/v3 v3.10.84 h1:Fc38VoRnL+sFyVn8V/lx5T0sP/I4TKuQ61ium0fs6l4= diff --git a/stats.go b/stats.go index 8289422..3eb2d47 100644 --- a/stats.go +++ b/stats.go @@ -13,10 +13,6 @@ var ( PoolConnTotalCurrent = "pool_conn_total_current" PoolConnIdleCurrent = "pool_conn_idle_current" PoolConnStaleTotal = "pool_conn_stale_total" - - meterRequestTotal = "request_total" - meterRequestLatencyMicroseconds = "latency_microseconds" - meterRequestDurationSeconds = "request_duration_seconds" ) type Statser interface {