redis/tests/support
Slavomir Kaslev 0d8e750883
Add CLUSTER SLOT-STATS command (#14039)
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>
2025-07-01 20:26:51 +03:00
..
aofmanifest.tcl AOF offset info (#13773) 2025-02-13 17:31:40 +08:00
benchmark.tcl Added URI support to redis-benchmark (cli and benchmark share the same uri-parsing methods) (#9314) 2021-09-14 19:45:06 +03:00
cli.tcl Improve bind and protected-mode config handling. (#9034) 2021-06-22 12:50:17 +03:00
cluster.tcl Adding AGPLv3 as a license option to Redis! (#13997) 2025-05-01 14:04:22 +01:00
cluster_util.tcl Add CLUSTER SLOT-STATS command (#14039) 2025-07-01 20:26:51 +03:00
redis.tcl Adding AGPLv3 as a license option to Redis! (#13997) 2025-05-01 14:04:22 +01:00
response_transformers.tcl Adding AGPLv3 as a license option to Redis! (#13997) 2025-05-01 14:04:22 +01:00
server.tcl Add thread sanitizer run to daily CI (#13964) 2025-06-02 10:13:23 +03:00
test.tcl testsuite --dump-logs works on servers started before the test (#13500) 2024-08-29 07:27:23 +01:00
tmpfile.tcl Initial implementation of a client-server parallel testing system for Redis in order to speedup execution of the test suite. 2011-07-10 23:25:48 +02:00
util.tcl Add XDELEX and XACKDEL commands for stream (#14130) 2025-07-01 21:00:42 +08:00