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

Support for INFO MODULES #12

Open
KarthikSubbarao opened this issue Oct 8, 2024 · 1 comment
Open

Support for INFO MODULES #12

KarthikSubbarao opened this issue Oct 8, 2024 · 1 comment
Assignees

Comments

@KarthikSubbarao
Copy link
Member

KarthikSubbarao commented Oct 8, 2024

Modules can support the INFO ALL / INFO MODULES command by implementing a callback function that writes into the INFO command response.

The bloom module will need to track information such as: Number of bloom objects, Number of Filters across all objects, and total memory used (bytes) by all the bloom objects.

This information can be added as a result into a new INFO section.

Example: https://github.com/valkey-io/valkeymodule-rs/blob/main/examples/info_handler_builder.rs#L9

@zackcam
Copy link
Contributor

zackcam commented Oct 31, 2024

Hi, I was wondering if this issue could be assigned to me. I created a PR that adds info support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants