From 692ad4c624ac2cff9fa32417b69d519236d098a9 Mon Sep 17 00:00:00 2001 From: Nir Rattner Date: Wed, 24 Jan 2024 17:44:12 -0500 Subject: [PATCH 1/2] Add description for instantaneous command duration --- commands/info.md | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/info.md b/commands/info.md index 27dd23fb3..baf4757da 100644 --- a/commands/info.md +++ b/commands/info.md @@ -321,6 +321,7 @@ Here is the meaning of all fields in the **stats** section: * `acl_access_denied_cmd`: Number of commands rejected because of access denied to the command * `acl_access_denied_key`: Number of commands rejected because of access denied to a key * `acl_access_denied_channel`: Number of commands rejected because of access denied to a channel +* `instantaneous_command_duration_usec`: Average time spent in a single command in microseconds Here is the meaning of all fields in the **replication** section: From 5b94056d13663b6e9a2bec10942e48fef4a31934 Mon Sep 17 00:00:00 2001 From: Nir Rattner Date: Tue, 20 Feb 2024 17:49:10 -0500 Subject: [PATCH 2/2] Reorder new field to match source code --- commands/info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info.md b/commands/info.md index baf4757da..c97d90a03 100644 --- a/commands/info.md +++ b/commands/info.md @@ -317,11 +317,11 @@ Here is the meaning of all fields in the **stats** section: * `eventloop_duration_cmd_sum`: Total time spent on executing commands in microseconds * `instantaneous_eventloop_cycles_per_sec`: Number of eventloop cycles per second * `instantaneous_eventloop_duration_usec`: Average time spent in a single eventloop cycle in microseconds +* `instantaneous_command_duration_usec`: Average time spent in a single command in microseconds * `acl_access_denied_auth`: Number of authentication failures * `acl_access_denied_cmd`: Number of commands rejected because of access denied to the command * `acl_access_denied_key`: Number of commands rejected because of access denied to a key * `acl_access_denied_channel`: Number of commands rejected because of access denied to a channel -* `instantaneous_command_duration_usec`: Average time spent in a single command in microseconds Here is the meaning of all fields in the **replication** section: