- Usage:
-
LATENCY RESET [ event ] [ [ event ] ... ]
- Complexity:
- O(1)
- Since:
- 2.8.13
- ACL Categories:
- @admin, @dangerous, @slow
active-defrag-cycleaof-fsync-alwaysaof-stataof-rewrite-diff-writeaof-renameaof-writeaof-write-active-childaof-write-aloneaof-write-pending-fsynccommandexpire-cycleeviction-cycleeviction-delfast-commandforkrdb-unlink-temp-file
The LATENCY RESET command resets the latency spikes time series of all, or only some, events.
When the command is called without arguments, it resets all the events, discarding the currently logged latency spike events, and resetting the maximum event time register.
It is possible to reset only specific events by providing the event names
as arguments.
Valid values for event are:
For more information refer to the Latency Monitoring Framework page.
RESP2/RESP3 Reply
Integer reply: the number of event time series that were reset.