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

Adds metrics for task states #14785

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

noob-se7en
Copy link
Contributor

Adds additional metrics for the available failure states such as DROPPED, TIMED_OUT, TASK_ABORTED.
Requirement came from no alerts for dropped minion tasks.

@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 81.81818% with 6 lines in your changes missing coverage. Please review.

Project coverage is 63.88%. Comparing base (59551e4) to head (0dd2c2f).
Report is 1610 commits behind head on master.

Files with missing lines Patch % Lines
...lix/core/minion/PinotHelixTaskResourceManager.java 50.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14785      +/-   ##
============================================
+ Coverage     61.75%   63.88%   +2.12%     
- Complexity      207     1611    +1404     
============================================
  Files          2436     2704     +268     
  Lines        133233   151010   +17777     
  Branches      20636    23320    +2684     
============================================
+ Hits          82274    96466   +14192     
- Misses        44911    47329    +2418     
- Partials       6048     7215    +1167     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.82% <81.81%> (+2.11%) ⬆️
java-21 63.77% <81.81%> (+2.14%) ⬆️
skip-bytebuffers-false 63.86% <81.81%> (+2.12%) ⬆️
skip-bytebuffers-true 63.75% <81.81%> (+36.02%) ⬆️
temurin 63.88% <81.81%> (+2.12%) ⬆️
unittests 63.87% <81.81%> (+2.12%) ⬆️
unittests1 56.31% <100.00%> (+9.42%) ⬆️
unittests2 34.15% <81.81%> (+6.42%) ⬆️

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.

@siddharthteotia
Copy link
Contributor

Thanks for adding these metrics. These are table level right ?

@noob-se7en
Copy link
Contributor Author

Thanks for adding these metrics. These are table level right ?

Yes @siddharthteotia there will be table level metrics as well like:
pinot.controller.numMinionSubtasksDropped.table2_OFFLINE.taskType1

@swaminathanmanish swaminathanmanish merged commit e05ef7b into apache:master Jan 22, 2025
23 checks passed
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.

6 participants