HOTKEYS START

Since 1.1.0Observability

Syntax

HOTKEYS START METRICS count [CPU] [NET] [COUNT k] [DURATION seconds] [SAMPLE ratio] [SLOTS count slot [slot ...]]

Starts a session that tracks, per key, the metrics named: CPU (CPU time) and NET (network bytes). METRICS count is how many metrics follow.

Options

OptionEffect
COUNT kHow many keys to report per metric.
DURATION secondsStop the session by itself after this long.
SAMPLE ratioTrack one command in ratio, to cost less.
SLOTS count slot ...Track only keys in these hash slots.

Examples

> HOTKEYS START METRICS 2 CPU NET COUNT 3
OK