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

Add CPU metrics for minion purge task #12337

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

floren06
Copy link
Contributor

@floren06 floren06 commented Jan 29, 2024

Add CPU metrics for minion purge task, i.e. threadCpuTime. Right now there is only task executing time metrics.

@floren06 floren06 force-pushed the minion-metrics branch 3 times, most recently from f315457 to 7645bf7 Compare January 29, 2024 20:21
@floren06 floren06 changed the title Add CPU and Memory metrics for minion purge task Add CPU metrics for minion purge task Jan 29, 2024
Copy link
Member

@jackjlli jackjlli left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for making the code changes!

@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (6cc1915) 61.65% compared to head (d94c1a7) 61.63%.
Report is 1 commits behind head on master.

Files Patch % Lines
...t/plugin/minion/tasks/purge/PurgeTaskExecutor.java 77.77% 2 Missing ⚠️
...a/org/apache/pinot/common/metrics/MinionTimer.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12337      +/-   ##
============================================
- Coverage     61.65%   61.63%   -0.02%     
  Complexity     1152     1152              
============================================
  Files          2421     2421              
  Lines        131872   131879       +7     
  Branches      20346    20346              
============================================
- Hits          81308    81289      -19     
- Misses        44600    44627      +27     
+ Partials       5964     5963       -1     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (ø)
integration <0.01% <0.00%> (ø)
integration1 <0.01% <0.00%> (ø)
integration2 0.00% <0.00%> (ø)
java-11 61.59% <70.00%> (-0.01%) ⬇️
java-21 61.51% <70.00%> (-0.02%) ⬇️
skip-bytebuffers-false 61.62% <70.00%> (-0.02%) ⬇️
skip-bytebuffers-true 61.49% <70.00%> (+<0.01%) ⬆️
temurin 61.63% <70.00%> (-0.02%) ⬇️
unittests 61.63% <70.00%> (-0.02%) ⬇️
unittests1 46.75% <0.00%> (-0.03%) ⬇️
unittests2 27.73% <70.00%> (+<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.

Copy link
Contributor

@jasperjiaguo jasperjiaguo left a comment

Choose a reason for hiding this comment

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

LGTM

@jackjlli jackjlli merged commit 1a82ba6 into apache:master Jan 30, 2024
19 checks passed
suyashpatel98 pushed a commit to suyashpatel98/pinot that referenced this pull request Feb 28, 2024
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.

4 participants