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

[CELEBORN-1743] [FOLLOWUP]Introduces a configuration option to determine whether application metrics should be included #2964

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

zaynt4606
Copy link
Contributor

@zaynt4606 zaynt4606 commented Nov 29, 2024

What changes were proposed in this pull request?

On the basis of CELEBORN-1743
This pull request implements the following changes:

Introduces a configuration option to determine whether application metrics should be included.

Why are the changes needed?

Jira
There are too many application metrics when it reach the metrics capacity.
metrics_ActiveConnectionCount_Count{applicationId="1732528803184-dd11f77814d04bca2121140182ad7c0f",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732529148502-3d72447b9773d89e941bcb83059424b7",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732529499296-5facd993325e193ce54c8217066dfe26",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732530155191-19068d5eba8a23b42a1e581b20ab0e5a",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732527089786-9fc4a0bfe4c3cb49adf8a87919976a4f",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732526536555-c8f0aaacf7dd92bd00a03bbe61c7216a",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732527096128-5f416a4784a5d5b416dd4db471a51f44",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732530177724-eeecda14217d8990ae0536eae83d3e3b",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732527117022-769334f90b981c54280195da5d871351",role="Worker"} 0 1732530713886 metrics_ActiveConnectionCount_Count{applicationId="1732528325685-129d44a4392d98a830157333d9955558",role="Worker"} 0 1732530713886

Does this PR introduce any user-facing change?

No

How was this patch tested?

UT

@zaynt4606 zaynt4606 changed the title [CELEBORN-1743] [FOLLOWUP] Make the application metrics queue later when the capacity is full without sorting [CELEBORN-1743] [FOLLOWUP] Delay the application metrics in metrics queue when the capacity is reached Dec 4, 2024
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 47.50000% with 21 lines in your changes missing coverage. Please review.

Project coverage is 32.89%. Comparing base (259dfcd) to head (25224a0).
Report is 19 commits behind head on main.

Files with missing lines Patch % Lines
...eleborn/common/metrics/source/AbstractSource.scala 36.37% 19 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2964      +/-   ##
==========================================
- Coverage   32.99%   32.89%   -0.09%     
==========================================
  Files         330      331       +1     
  Lines       19683    19837     +154     
  Branches     1766     1781      +15     
==========================================
+ Hits         6492     6524      +32     
- Misses      12830    12951     +121     
- Partials      361      362       +1     

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

@zaynt4606 zaynt4606 changed the title [CELEBORN-1743] [FOLLOWUP] Delay the application metrics in metrics queue when the capacity is reached [CELEBORN-1743] [FOLLOWUP]Introduces a configuration option to determine whether application metrics should be included Dec 10, 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.

1 participant