-
Notifications
You must be signed in to change notification settings - Fork 36
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 CLUSTER SLOT-STATS document. #150
Conversation
- Valkey PR link; valkey-io/valkey#351. Signed-off-by: Kyle Kim <[email protected]>
8ec5cbc
to
65d2006
Compare
- Removed commands.json changes. - Added ordering invariance within the markdown. Signed-off-by: Kyle Kim <[email protected]>
- Added RESP3 response. Signed-off-by: Kyle Kim <[email protected]>
- Added cpu, network-bytes-in and network-bytes-out metrics. - Added a tie breaker condition for ORDERBY argument. Signed-off-by: Kyle Kim <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, finally really looked through everything and left a few comments about clarity.
@kyle-yh-kim Will you update this PR? It would be good to have docs for the feature. 8.0 is already released. |
- Consolidated metrics/statistics wording into statistics. - Remove verbosity. Signed-off-by: Kyle Kim <[email protected]>
Thanks for the reminder. All comments have been addressed, now awaiting for approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Re-order sections to fit existing standards; OPTIONS and EXAMPLES. Signed-off-by: Kyle Kim <[email protected]>
Thanks for your suggestions, I agree with following the existing man page standards. Attached below is the new man page for
|
- Updated stat type to lower case. Signed-off-by: Kyle Kim <[email protected]>
Co-authored-by: Viktor Söderqvist <[email protected]> Signed-off-by: Madelyn Olson <[email protected]>
I remember we have two files that describe the reply types of each command:
They are easily forgotten because the website still doesn't display this information. It's used in the man page version though. |
New man page has been attached below;
|
- Added ASC / DESC modifiers to the Option description. - Added header for each RESP response example. Signed-off-by: Kyle Kim <[email protected]>
f11ff7e
to
267f00e
Compare
Good, but add it to resp3 replies too, please. Usually all commands are in both files. (If the content is identical, the man page will detect that and not include it twice.) |
- Added SLOT-STATS entry under resp2 and resp3_replies.json. Signed-off-by: Kyle Kim <[email protected]>
Apologies, I've now added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I'm happy now.
Nice, thanks a lot for your feedback and review :) |
Ask the other Kyle. :) I wish we could make it automatic when we merge a doc PR. That's how it used to work in Redis, but Kyle doesn't want that. I think he wants to test every change manually before deploying. |
And Thank you for completing this! |
Docs for CLUSTER SLOT-STATS, with key-count, cpu-usec, network-bytes-in, and network-bytes-out metrics.