Skip to content

[#1361] feat(netty): add netty metrics into reporter - #1362

Merged
zuston merged 1 commit into
apache:masterfrom
zuston:issue-1361
Dec 8, 2023
Merged

[#1361] feat(netty): add netty metrics into reporter#1362
zuston merged 1 commit into
apache:masterfrom
zuston:issue-1361

Conversation

@zuston

@zuston zuston commented Dec 8, 2023

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

add netty metrics into reporter

Why are the changes needed?

Fix: #1361

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Needn't

@zuston
zuston requested a review from roryqi December 8, 2023 07:42
@codecov-commenter

codecov-commenter commented Dec 8, 2023

Copy link
Copy Markdown

Codecov Report

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

Comparison is base (453e6d6) 53.27% compared to head (f11f838) 54.16%.

Files Patch % Lines
.../java/org/apache/uniffle/server/ShuffleServer.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1362      +/-   ##
============================================
+ Coverage     53.27%   54.16%   +0.89%     
  Complexity     2712     2712              
============================================
  Files           418      398      -20     
  Lines         23913    21553    -2360     
  Branches       2043     2043              
============================================
- Hits          12739    11674    -1065     
+ Misses        10388     9165    -1223     
+ Partials        786      714      -72     

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

if (metricReporter != null) {
metricReporter.addCollectorRegistry(ShuffleServerMetrics.getCollectorRegistry());
metricReporter.addCollectorRegistry(grpcMetrics.getCollectorRegistry());
metricReporter.addCollectorRegistry(nettyMetrics.getCollectorRegistry());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

WIll it be null if we don't enable Netty?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It won't be null, the nettyMetrics always will be initialized.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK.

@roryqi roryqi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks @zuston

@zuston
zuston merged commit 03864bb into apache:master Dec 8, 2023
zuston added a commit to zuston/incubator-uniffle that referenced this pull request Jan 18, 2024
### What changes were proposed in this pull request?

add netty metrics into reporter

### Why are the changes needed?

Fix: apache#1361 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Needn't
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.

[FEATURE] Involve netty metrics into reporter

3 participants