aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 20 forks source link

Add Cluster Costs experimental page #205

Closed mendaomn closed 1 year ago

mendaomn commented 1 year ago

Description

This PR adds a page reachable via the cluster actions, which shows the cost data for the selected cluster.

In order to reduce calls to Cost Explorer to a minimum, the staleTime of the queries is set to Infinity, thus new data is getting fetched only on page reload.

This PR builds upon #204 . Even though it is not merged yet, this is safe to merge as it is being protected by a feature flag.

Please note: copy is not definitive and hasn't been reviewed yet

Changes

Screenshots

Screenshot 2023-04-28 at 16 20 03

Screenshot 2023-04-28 at 16 19 30

How Has This Been Tested?

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.