-
Notifications
You must be signed in to change notification settings - Fork 283
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
[AMORO-405]: Added overview page in AMS dashboard #3031
Conversation
… into overview_page_fe
# Conflicts: # amoro-ams/amoro-ams-server/src/main/java/org/apache/amoro/server/optimizing/OptimizerGroupMetrics.java
# Conflicts: # amoro-ams/amoro-ams-server/src/main/java/org/apache/amoro/server/table/TableSummaryMetrics.java # amoro-web/src/services/overview.service.ts
# Conflicts: # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewCache.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewMetricsReporter.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OverviewController.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/model/OverviewDataSizeItem.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/model/OverviewResourceUsageItem.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/model/OverviewSummary.java # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/model/OverviewTopTableItem.java # amoro-ams/src/main/resources/META-INF/services/org.apache.amoro.metrics.MetricReporter # amoro-ams/src/test/java/org/apache/amoro/server/dashboard/TestOverviewCache.java
# Conflicts: # amoro-web/src/language/en.ts # amoro-web/src/language/zh.ts
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.
@MarigWeizhi Thanks for the contribution.
This PR looks good in general except some minor issues may need to be improved.
BTW, I have some suggestions about the ams-web changes:
- Remove introduce page
- Display overview page by default.
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/DashboardServer.java
Outdated
Show resolved
Hide resolved
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewCache.java
Outdated
Show resolved
Hide resolved
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewCache.java
Outdated
Show resolved
Hide resolved
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewCache.java
Outdated
Show resolved
Hide resolved
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/OverviewCache.java
Outdated
Show resolved
Hide resolved
fixed |
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.
Thanks for the contribution!
Why are the changes needed?
close #405
Brief change log
Components cards
Config
You can configure the cache refresh interval and maximum count of cache records in
conf/plugins/metric-reporters.yaml
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation