summaryrefslogtreecommitdiffstats
path: root/src/commands/slowlog-len.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/slowlog-len.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/commands/slowlog-len.json b/src/commands/slowlog-len.json
new file mode 100644
index 0000000..9a8969b
--- /dev/null
+++ b/src/commands/slowlog-len.json
@@ -0,0 +1,21 @@
+{
+ "LEN": {
+ "summary": "Get the slow log's length",
+ "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"
+ ]
+ }
+}