diff options
Diffstat (limited to 'src/commands/slowlog-len.json')
-rw-r--r-- | src/commands/slowlog-len.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/commands/slowlog-len.json b/src/commands/slowlog-len.json new file mode 100644 index 0000000..717a8ad --- /dev/null +++ b/src/commands/slowlog-len.json @@ -0,0 +1,26 @@ +{ + "LEN": { + "summary": "Returns the number of entries in the slow log.", + "complexity": "O(1)", + "group": "server", + "since": "2.2.12", + "arity": 2, + "container": "SLOWLOG", + "function": "slowlogCommand", + "command_flags": [ + "ADMIN", + "LOADING", + "STALE" + ], + "command_tips": [ + "REQUEST_POLICY:ALL_NODES", + "RESPONSE_POLICY:AGG_SUM", + "NONDETERMINISTIC_OUTPUT" + ], + "reply_schema": { + "type": "integer", + "description": "Number of entries in the slow log.", + "minimum": 0 + } + } +} |