summaryrefslogtreecommitdiffstats
path: root/src/commands/slowlog-len.json
blob: 717a8ad4164729e3cb173eb4073161acd0478342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
        }
    }
}