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

fix: simplify jemalloc metrics #23

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Conversation

heilhead
Copy link
Collaborator

@heilhead heilhead commented Sep 2, 2024

Description

This adds two new metrics to jemalloc bin stats:

  • jemalloc_memory_bin_nactive: the number of active allocations in the bin (nmalloc - ndalloc);
  • jemalloc_memory_bin_nactive_size: the total size in bytes in active allocations in the bin ((nmalloc - ndalloc) * bin_size).

How Has This Been Tested?

Manually.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@heilhead heilhead requested a review from xDarksome September 2, 2024 18:15
@heilhead heilhead merged commit 695b12f into main Sep 2, 2024
6 checks passed
@heilhead heilhead deleted the fix/simplify-jemalloc-metrics branch September 2, 2024 18:18
heilhead added a commit that referenced this pull request Sep 2, 2024
@heilhead heilhead changed the title Fix/simplify jemalloc metrics fix: simplify jemalloc metrics Sep 3, 2024
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.

2 participants