[improvement](fe) Add cloud tablet rebalancer metrics - #66576
Open
deardeng wants to merge 1 commit into
Open
Conversation
### What problem does this PR solve? Issue Number: None Related PR: apache#66447 Problem Summary: Cloud tablet rebalancer memory optimizations can only be inferred from process-wide JVM metrics. Record per-round thread allocation, duration, and tablet-route scan work so allocation changes can be compared per round and per work item. Use ThreadMXBean when supported and expose -1 for the last-round allocation when unavailable. ### Release note Expose CloudTabletRebalancer round, allocation, duration, and tablet-scan metrics in FE metrics. ### Check List (For Author) - Test: Unit Test - ./run-fe-ut.sh --run org.apache.doris.cloud.catalog.CloudTabletRebalancerMetricsTest - ./run-fe-ut.sh --coverage --run org.apache.doris.cloud.catalog.CloudTabletRebalancerMetricsTest,org.apache.doris.metric.MetricsTest - mvn checkstyle:check -pl fe-core - Behavior changed: Yes (adds FE observability metrics without changing rebalance decisions) - Does this need documentation: No
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
TPC-H: Total hot run time: 28903 ms |
Contributor
TPC-DS: Total hot run time: 158230 ms |
Contributor
ClickBench: Total hot run time: 23.61 s |
Contributor
FE Regression Coverage ReportIncrement line coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Summary: Cloud tablet rebalancer memory optimizations can only be inferred from process-wide JVM metrics. Record per-round thread allocation, duration, and tablet-route scan work so allocation changes can be compared per round and per work item. Use ThreadMXBean when supported and expose -1 for the last-round allocation when unavailable.
after Related PR: #66378, #66389, #66451, #66447 fix
Release note
Expose CloudTabletRebalancer round, allocation, duration, and tablet-scan metrics in FE metrics.
Check List (For Author)
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)