Skip to content

DEV: update various metrics#2942

Open
dwdougherty wants to merge 1 commit intoDOC-6334from
DOC-6404
Open

DEV: update various metrics#2942
dwdougherty wants to merge 1 commit intoDOC-6334from
DOC-6404

Conversation

@dwdougherty
Copy link
Copy Markdown
Collaborator

@dwdougherty dwdougherty commented Mar 26, 2026

Redis 8.8 feature


Note

Cursor Bugbot is generating a summary for commit db4b77b. Configure here.

@dwdougherty dwdougherty requested review from a team and LiorKogan March 26, 2026 14:44
@dwdougherty dwdougherty self-assigned this Mar 26, 2026
@dwdougherty dwdougherty added dev cmds oss Redis Open Source labels Mar 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 26, 2026

DOC-6404

@github-actions
Copy link
Copy Markdown
Contributor

@jit-ci
Copy link
Copy Markdown

jit-ci bot commented Mar 26, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link
Copy Markdown
Collaborator

@mich-elle-luna mich-elle-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of questions otherwise looks good, thanks!

- - 7.4.0
- Added `watch` field.
- - 8.0.0
- Added `io-thread` field.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this history include the new entries?

Copy link
Copy Markdown
Collaborator Author

@dwdougherty dwdougherty Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, but the problem is that the redis/redis:src/commands/client-list.json file didn't include them. If I add them manually and then subsequently update all the command metadata on our site, any local changes I've made would be overwritten.

- nondeterministic_output
- request_policy:all_shards
- response_policy:special
history:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be updated with new entries?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, but the problem is that the redis/redis:src/commands/client-list.json file didn't include them. If I add them manually and then subsequently update all the command metadata on our site, any local changes I've made would be overwritten.

@dwdougherty
Copy link
Copy Markdown
Collaborator Author

Thank you for the review, @mich-elle-luna!

* `tot-net-out`: total network output bytes sent to this client.
* `tot-cmds`: total count of commands this client executed.
* `read-events`: number of `readQueryFromClient()` calls for this client. Added in Redis 8.8
* `avg-pipeline-len-sum`: cumulative sum of commands parsed per batch. Added in Redis 8.8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code says sum of pipeline lengths (for computing average)
https://github.com/redis/redis/blob/2ba0194fbe5820cab8602bfa633a7d27e97cabdd/src/server.h#L1622

Are you sure this is the same?

* `tot-cmds`: total count of commands this client executed.
* `read-events`: number of `readQueryFromClient()` calls for this client. Added in Redis 8.8
* `avg-pipeline-len-sum`: cumulative sum of commands parsed per batch. Added in Redis 8.8
* `avg-pipeline-len-cnt`: number of parse batches. Added in Redis 8.8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code says Count of pipeline length samples
https://github.com/redis/redis/blob/2ba0194fbe5820cab8602bfa633a7d27e97cabdd/src/server.h#L1623

Please check with R&D, I'm not sure what is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants