- 用法
-
LATENCY RESET [ event ] [ [ event ] ... ]
- 复杂度
- O(1)
- 版本
- 2.8.13
- ACL 类别
- @admin, @dangerous, @slow
active-defrag-cycle
aof-fsync-always
aof-stat
aof-rewrite-diff-write
aof-rename
aof-write
aof-write-active-child
aof-write-alone
aof-write-pending-fsync
command
expire-cycle
eviction-cycle
eviction-del
fast-command
fork
rdb-unlink-temp-file
LATENCY RESET
命令用于重置所有(或仅部分)事件的延迟峰值时间序列。
当该命令不带参数调用时,它将重置所有事件,丢弃当前记录的延迟峰值事件,并重置最大事件时间寄存器。
可以通过提供 event
名称作为参数来仅重置特定事件。
event
的有效值为:
更多信息请参阅延迟监控框架页面。
RESP2/RESP3 回复
整数回复:已重置的事件时间序列的数量。