Available since: 2.8.13
Time complexity: O(1)
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
Valid values for
For more information refer to the Latency Monitoring Framework page.
Integer reply: the number of event time series that were reset.