mirror of https://mirror.osredm.com/root/redis.git
![]() Add CLUSTER SLOT-STATS command for key count, cpu time and network IO per slot currently. The command has the following syntax CLUSTER SLOT-STATS SLOTSRANGE start-slot end-slot or CLUSTER SLOT-STATS ORDERBY metric [LIMIT limit] [ASC/DESC] where metric can currently be one of the following key-count -- Number of keys in a given slot cpu-usec -- Amount of CPU time (in microseconds) spent on a given slot network-bytes-in -- Amount of network ingress (in bytes) received for given slot network-bytes-out -- Amount of network egress (in bytes) sent out for given slot This PR is based on: valkey-io/valkey#351 valkey-io/valkey#709 valkey-io/valkey#710 valkey-io/valkey#720 valkey-io/valkey#840 Co-authored-by: Kyle Kim <kimkyle@amazon.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> Co-authored-by: Harkrishn Patro <harkrisp@amazon.com> --------- Co-authored-by: Kyle Kim <kimkyle@amazon.com> Co-authored-by: Madelyn Olson <madelyneolson@gmail.com> |
||
---|---|---|
.. | ||
announced-endpoints.tcl | ||
cli.tcl | ||
cluster-response-tls.tcl | ||
failure-marking.tcl | ||
hostnames.tcl | ||
human-announced-nodename.tcl | ||
internal-secret.tcl | ||
links.tcl | ||
misc.tcl | ||
multi-slot-operations.tcl | ||
scripting.tcl | ||
sharded-pubsub.tcl | ||
slot-ownership.tcl | ||
slot-stats.tcl |