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
| Option | Effect |
|---|---|
COUNT k | How many keys to report per metric. |
DURATION seconds | Stop the session by itself after this long. |
SAMPLE ratio | Track 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