diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/cluster-slot-stats.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/cluster-slot-stats.json | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/examples/redis-unstable/src/commands/cluster-slot-stats.json b/examples/redis-unstable/src/commands/cluster-slot-stats.json deleted file mode 100644 index 1043ecd..0000000 --- a/examples/redis-unstable/src/commands/cluster-slot-stats.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "SLOT-STATS": { - "summary": "Return an array of slot usage statistics for slots assigned to the current node.", - "complexity": "O(N) where N is the total number of slots based on arguments. O(N*log(N)) with ORDERBY subcommand.", - "group": "cluster", - "since": "8.2.0", - "arity": -4, - "container": "CLUSTER", - "function": "clusterSlotStatsCommand", - "command_flags": [ - "STALE", - "LOADING" - ], - "command_tips": [ - "NONDETERMINISTIC_OUTPUT", - "REQUEST_POLICY:ALL_SHARDS" - ], - "reply_schema": { - "type": "array", - "description": "Array of nested arrays, where the inner array element represents a slot and its respective usage statistics.", - "items": { - "type": "array", - "description": "Array of size 2, where 0th index represents (int) slot and 1st index represents (map) usage statistics.", - "minItems": 2, - "maxItems": 2, - "items": [ - { - "description": "Slot Number.", - "type": "integer" - }, - { - "type": "object", - "description": "Map of slot usage statistics.", - "additionalProperties": false, - "properties": { - "key-count": { - "type": "integer" - }, - "memory-bytes": { - "type": "integer" - }, - "cpu-usec": { - "type": "integer" - }, - "network-bytes-in": { - "type": "integer" - }, - "network-bytes-out": { - "type": "integer" - } - } - } - ] - } - }, - "arguments": [ - { - "name": "filter", - "type": "oneof", - "arguments": [ - { - "token": "SLOTSRANGE", - "name": "slotsrange", - "type": "block", - "arguments": [ - { - "name": "start-slot", - "type": "integer" - }, - { - "name": "end-slot", - "type": "integer" - } - ] - }, - { - "token": "ORDERBY", - "name": "orderby", - "type": "block", - "arguments": [ - { - "name": "metric", - "type": "string" - }, - { - "token": "LIMIT", - "name": "limit", - "type": "integer", - "optional": true - }, - { - "name": "order", - "type": "oneof", - "optional": true, - "arguments": [ - { - "name": "asc", - "type": "pure-token", - "token": "ASC" - }, - { - "name": "desc", - "type": "pure-token", - "token": "DESC" - } - ] - } - ] - } - ] - } - ] - } -} |
