summaryrefslogtreecommitdiff
path: root/src/commands/latency-histogram.json
blob: 6ffecd80dc8f648e750e38c4788cb17286e1fbd5 (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
{
    "HISTOGRAM": {
        "summary": "Return the cumulative distribution of latencies of a subset of commands or all.",
        "complexity": "O(N) where N is the number of commands with latency information being retrieved.",
        "group": "server",
        "since": "7.0.0",
        "arity": -2,
        "container": "LATENCY",
        "function": "latencyCommand",
        "command_flags": [
            "ADMIN",
            "NOSCRIPT",
            "LOADING",
            "STALE"
        ],
        "arguments": [
            {
                "name": "COMMAND",
                "type": "string",
                "optional": true,
                "multiple": true
            }
        ]
    }
}