futriix/src/commands/latency-reset.json
nihohit 3e7523aceb Update command tips on more admin / configuration commands (#12545)
Updated the command tips for ACL SAVE / SETUSER / DELUSER, CLIENT SETNAME / SETINFO, and LATENCY RESET.
The tips now match CONFIG SET, since there's a similar behavior for all of these commands - the
user expects to update the various configurations & states on all nodes, not only on a single, random node.
For LATENCY RESET the response tip is now agg_sum.

Co-authored-by: Shachar Langbeheim <shachlan@amazon.com>
(cherry picked from commit 90e9fc387c81d48d3d82ea7fcd2d3b6d896bf923)
2023-09-06 20:56:15 +03:00

34 lines
848 B
JSON

{
"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
}
]
}
}