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

[do-not-merge] report capacity in metrics #4569

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

trinity-1686a
Copy link
Contributor

No description provided.

@@ -212,7 +212,7 @@ impl Queues {
self.record_log.disk_usage()
}

pub(crate) fn memory_usage(&self) -> usize {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to fix the mrecordlog API. There is no way anyone can understand what this couple is about.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as is, it is meant for debugging. having 3 function doing similar things seems to much. If this is to get merged, I plan on having a single one returning a struct

@guilload
Copy link
Member

guilload commented Mar 7, 2024

@trinity-1686a, I'm interested in this patch. Could you fix the mrecordlog API to return a single struct and update this PR when you can?

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

Successfully merging this pull request may close these issues.

None yet

4 participants