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

[MINOR] feat(server,dashboard,coordinator): Report configured metrics of server to coordinator and display to dashboard #2239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maobaolong
Copy link
Member

@maobaolong maobaolong commented Nov 7, 2024

What changes were proposed in this pull request?

Report configured metrics of server to coordinator and display to dashboard

Why are the changes needed?

With this feature, it can be extensible for displaying server state by dashboard.

In the beginning, we only need to display the app number in the dashboard, after a few days, we want to add partition with node in to dashboard, maybe no more days later, we need another value displayed in to dashboard.

So it is not extensible if we add it one by one, this is why I invent this feature, it can be easy to let user config the metrics what they think it is necessary and should be displayed in the dashboard.

Does this PR introduce any user-facing change?

  • new config: rss.server.displayMetricsList

How was this patch tested?

Test Locally.

image

@maobaolong maobaolong changed the title Report configured metrics of server to coordinator and display to das… [MINOR] feat(server/dashboard/coordinator): Report configured metrics of server to coordinator and display to dashboard Nov 7, 2024
@maobaolong maobaolong marked this pull request as draft November 7, 2024 04:04
Copy link

github-actions bot commented Nov 7, 2024

Test Results

 2 941 files  ±0   2 941 suites  ±0   6h 11m 7s ⏱️ +28s
 1 091 tests ±0   1 089 ✅ ±0   2 💤 ±0  0 ❌ ±0 
13 670 runs  ±0  13 640 ✅ ±0  30 💤 ±0  0 ❌ ±0 

Results for commit b1ff165. ± Comparison against base commit 051a247.

♻️ This comment has been updated with latest results.

@maobaolong maobaolong changed the title [MINOR] feat(server/dashboard/coordinator): Report configured metrics of server to coordinator and display to dashboard [MINOR] feat(server)(dashboard)(coordinator): Report configured metrics of server to coordinator and display to dashboard Nov 7, 2024
@maobaolong maobaolong changed the title [MINOR] feat(server)(dashboard)(coordinator): Report configured metrics of server to coordinator and display to dashboard [MINOR] feat(server,dashboard)(coordinator): Report configured metrics of server to coordinator and display to dashboard Nov 8, 2024
@maobaolong maobaolong marked this pull request as ready for review November 8, 2024 13:15
@maobaolong maobaolong changed the title [MINOR] feat(server,dashboard)(coordinator): Report configured metrics of server to coordinator and display to dashboard [MINOR] feat(server,dashboard,coordinator): Report configured metrics of server to coordinator and display to dashboard Nov 8, 2024
@maobaolong
Copy link
Member Author

@zuston Would you like to take a look at this PR? Thanks.

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

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

Overall LGTM. Thanks @maobaolong

@@ -303,6 +303,7 @@ message ShuffleServerHeartBeatRequest {
optional string gitCommitId = 23;
optional int64 startTimeMs = 24;
repeated ApplicationInfo applicationInfo = 25;
map<string, string> displayMetrics = 30;
Copy link
Member

Choose a reason for hiding this comment

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

why not as the sequence number of 26?

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