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

[AMORO-405]: Added overview page in AMS dashboard #3031

Merged
merged 57 commits into from
Sep 12, 2024

Conversation

MarigWeizhi
Copy link
Contributor

@MarigWeizhi MarigWeizhi commented Jul 12, 2024

Why are the changes needed?

close #405

Brief change log

  • Removed introduce page
  • Added and display overview page by default

Components cards

  • overview statistics:table/catalog count, space size, optimizing resources
  • Resource usage history
  • Data size history
  • Optimizing Status statistics
  • Top 10 Tables, It shows the largest table or the least healthy table

Config

You can configure the cache refresh interval and maximum count of cache records in conf/plugins/metric-reporters.yaml

metric-reporters:
  - name: overview-exporter               # configs for overview exporter
    enabled: true                         # if false, overview page will not fetch data
    properties:
      refresh-interval: 180000            # 3 min
      max-history-records: 3360           # Keep 7 days history by default, 7 * 24 * 60 / 3 = 3360

#  - name: prometheus-exporter            # configs for prometheus exporter
#    enabled: false
#    properties:
#       port: 7001

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
    VisualDesign2

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes)
  • If yes, how is the feature documented? (not documented)

@github-actions github-actions bot added the module:ams-dashboard Ams dashboard module label Jul 12, 2024
@MarigWeizhi MarigWeizhi deleted the overview_page_fe branch July 12, 2024 07:18
@MarigWeizhi MarigWeizhi changed the title Overview page fe Draft: [AMORO-405]: Update Visual Design of the Overview Page (#405) Jul 12, 2024
@MarigWeizhi MarigWeizhi restored the overview_page_fe branch July 12, 2024 07:30
@MarigWeizhi MarigWeizhi reopened this Jul 13, 2024
@MarigWeizhi MarigWeizhi marked this pull request as draft July 17, 2024 08:49
@github-actions github-actions bot added the module:ams-server Ams server module label Jul 17, 2024
@github-actions github-actions bot added the type:docs Improvements or additions to documentation label Aug 30, 2024
# 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
@MarigWeizhi MarigWeizhi changed the title Draft: [AMORO-405]: Update Visual Design of the Overview Page (#405) [AMORO-405]: Added overview page in AMS dashboard Sep 9, 2024
@MarigWeizhi MarigWeizhi marked this pull request as ready for review September 9, 2024 14:28
Copy link
Contributor

@zhoujinsong zhoujinsong left a 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.

@MarigWeizhi
Copy link
Contributor Author

@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.

fixed

Copy link
Contributor

@zhoujinsong zhoujinsong left a 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!

@zhoujinsong zhoujinsong merged commit f541d6f into apache:master Sep 12, 2024
4 checks passed
@MarigWeizhi MarigWeizhi deleted the overview_page_fe branch September 20, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module module:ams-server Ams server module type:build type:docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][AMS]: Add overview page in AMS dashboard
2 participants