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

koordlet: collect metric for host application memory usage with page cache #2273

Conversation

j4ckstraw
Copy link
Contributor

@j4ckstraw j4ckstraw commented Nov 18, 2024

Ⅰ. Describe what this PR does

collect host application memory usage with page cache.

rely on #2278

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

@j4ckstraw j4ckstraw marked this pull request as draft November 18, 2024 07:27
@j4ckstraw j4ckstraw marked this pull request as ready for review November 18, 2024 11:59
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 72.41379% with 8 lines in your changes missing coverage. Please review.

Project coverage is 66.03%. Comparing base (c2a85cb) to head (75ea274).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...r/collectors/hostapplication/host_app_collector.go 72.41% 7 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2273      +/-   ##
==========================================
- Coverage   66.04%   66.03%   -0.01%     
==========================================
  Files         454      454              
  Lines       53491    53514      +23     
==========================================
+ Hits        35326    35339      +13     
- Misses      15621    15629       +8     
- Partials     2544     2546       +2     
Flag Coverage Δ
unittests 66.03% <72.41%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch 2 times, most recently from 93054ce to 9b9d082 Compare November 19, 2024 03:06
@saintube
Copy link
Member

saintube commented Nov 19, 2024

consider memoryCollectPolicy

@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch 4 times, most recently from 71a87b9 to ba1c6d8 Compare November 22, 2024 11:46
@j4ckstraw j4ckstraw marked this pull request as draft November 22, 2024 11:46
@j4ckstraw
Copy link
Contributor Author

convert to ready after #2278 merged

@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch from ba1c6d8 to 419f0b5 Compare November 27, 2024 12:59
@j4ckstraw j4ckstraw marked this pull request as ready for review November 28, 2024 03:15
@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch from 419f0b5 to f908018 Compare November 28, 2024 03:18
@j4ckstraw j4ckstraw changed the title feat: fill up metric host application memory usage with page cache koordlet: collect metric for host application memory usage with page cache Dec 2, 2024
@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch from f908018 to 7bb2f82 Compare December 2, 2024 03:40
@j4ckstraw
Copy link
Contributor Author

consider memoryCollectPolicy

@saintube PTAL, thx

@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch from 7bb2f82 to 29889f5 Compare December 2, 2024 09:22
@j4ckstraw j4ckstraw force-pushed the record-host-application-memory-usage-with-page-cache branch from fc8aac6 to 75ea274 Compare December 4, 2024 11:21
@saintube
Copy link
Member

/lgtm

@koordinator-bot koordinator-bot bot merged commit 0615332 into koordinator-sh:main Dec 18, 2024
23 checks passed
@j4ckstraw j4ckstraw deleted the record-host-application-memory-usage-with-page-cache branch December 24, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants