summaryrefslogtreecommitdiffstats
path: root/src/commands/latency-reset.json
blob: 322328277c7f73581a44f57e475e518c066e72f5 (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
27
28
29
30
31
32
33
{
    "RESET": {
        "summary": "Resets the latency data for one or more events.",
        "complexity": "O(1)",
        "group": "server",
        "since": "2.8.13",
        "arity": -2,
        "container": "LATENCY",
        "function": "latencyCommand",
        "command_flags": [
            "ADMIN",
            "NOSCRIPT",
            "LOADING",
            "STALE"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_NODES",
            "RESPONSE_POLICY:AGG_SUM"
        ],
        "reply_schema": {
            "type": "integer",
            "description": "Number of event time series that were reset."
        },
        "arguments": [
            {
                "name": "event",
                "type": "string",
                "optional": true,
                "multiple": true
            }
        ]
    }
}