Open KarthikSubbarao opened 2 weeks ago
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, 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
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, 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