Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WATCH metrics #2665

Merged
merged 2 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
soloestoy marked this conversation as resolved.
Show resolved Hide resolved
* `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
Loading