Skip to content

Commit

Permalink
Add WATCH metrics (#2665)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Oran Agra <oran@redislabs.com>
  • Loading branch information
soloestoy and oranagra authored Mar 1, 2024
1 parent ee795e4 commit 9e15309
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions commands/client-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Here is the meaning of the fields:
* `psub`: number of pattern matching subscriptions
* `ssub`: number of shard channel subscriptions. Added in Redis 7.0.3
* `multi`: number of commands in a MULTI/EXEC context
* `watch`: number of keys this client is currently watching. Added in Redis 8.0
* `qbuf`: query buffer length (0 means no query pending)
* `qbuf-free`: free space of the query buffer (0 means the buffer is full)
* `argv-mem`: incomplete arguments for the next command (already extracted from query buffer)
Expand Down
2 changes: 2 additions & 0 deletions commands/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ Here is the meaning of all fields in the **clients** section:
`BRPOP`, `BRPOPLPUSH`, `BLMOVE`, `BZPOPMIN`, `BZPOPMAX`)
* `tracking_clients`: Number of clients being tracked (`CLIENT TRACKING`)
* `pubsub_clients`: Number of clients in pubsub mode (`SUBSCRIBE`, `PSUBSCRIBE`, `SSUBSCRIBE`). Added in Redis 8.0
* `watching_clients`: Number of clients in watching mode (`WATCH`). Added in Redis 8.0
* `clients_in_timeout_table`: Number of clients in the clients timeout table
* `total_watched_keys`: Number of watched keys. Added in Redis 8.0.
* `total_blocking_keys`: Number of blocking keys. Added in Redis 7.2.
* `total_blocking_keys_on_nokey`: Number of blocking keys that one or more clients that would like to be unblocked when the key is deleted. Added in Redis 7.2.

Expand Down

0 comments on commit 9e15309

Please sign in to comment.