-
Notifications
You must be signed in to change notification settings - Fork 5k
[Fix-17173] [JVM Metrics] Fix JVM memory monitoring metrics #17174
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
Conversation
|
Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) |
…theses to make the operator precedence explicit
...er-meter/src/main/java/org/apache/dolphinscheduler/meter/metrics/DefaultMetricsProvider.java
Show resolved
Hide resolved
SbloodyS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
|
Please help review the code @ruanwenjun @Gallardot @EricGao888 @caishunfeng |
ruanwenjun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Awesome work, congrats on your first merged pull request! |
Purpose of the pull request
close #17173
Brief change log
In the BaseHeartBeat model, add fields for JVM heap memory and non-heap memory usage and maximum values. Modify MasterHeartBeatTask and WorkerHeartBeatTask to collect and report these metrics. Update DefaultMetricsProvider to accurately calculate and provide JVM heap and non-heap memory usage and maximum values. Add corresponding fields in SystemMetrics to store these metrics.
Verify this pull request
This pull request is already covered by existing tests, such as MasterServerLoadProtectionTest、WorkerServerLoadProtectionTest.
Pull Request Notice
Pull Request Notice
If your pull request contains incompatible change, you should also add it to
docs/docs/en/guide/upgrade/incompatible.md