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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
"LATEST": {
"summary": "Returns the latest latency samples for all events.",
"complexity": "O(1)",
"group": "server",
"since": "2.8.13",
"arity": 2,
"container": "LATENCY",
"function": "latencyCommand",
"command_flags": [
"ADMIN",
"NOSCRIPT",
"LOADING",
"STALE"
],
"command_tips": [
"NONDETERMINISTIC_OUTPUT",
"REQUEST_POLICY:ALL_NODES",
"RESPONSE_POLICY:SPECIAL"
],
"reply_schema": {
"type": "array",
"description": "An array where each element is a four elements array representing the event's name, timestamp, latest and all-time latency measurements.",
"items": {
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": [
{
"type": "string",
"description": "Event name."
},
{
"type": "integer",
"description": "Timestamp."
},
{
"type": "integer",
"description": "Latest latency in milliseconds."
},
{
"type": "integer",
"description": "Max latency in milliseconds."
}
]
}
}
}
}
|