kubevirt / web-ui

OpenShift Cluster Console UI
https://www.openshift.org
Apache License 2.0
26 stars 11 forks source link

Capacity: use real data in ClusterOverview #235

Closed mareklibra closed 5 years ago

mareklibra commented 5 years ago

Reads data from Prometheus.

Depends on : https://github.com/kubevirt/web-ui-components/pull/281

TODO:

mareklibra commented 5 years ago

Memory and CPU Prometheus queries are implemented (best-effort). For storage, simple but still usable query is provided as well. The query for network is missing.

As a next step, these queries will be reviewed/composed offline by wider audience and fixed here within a follow-up. Component-wise, the feature is finished.

mareklibra commented 5 years ago

dashboard


Edit: fixed Cluster capacity --> Cluster Capacity

mareklibra commented 5 years ago

Change: Loader component is implemented as a placeholder for not-yet loaded stats:

01_loading

02_partialyLoaded

mareklibra commented 5 years ago

Newly with console's LoadingInline: inlineLoading

andybraren commented 5 years ago

To prevent the card from resizing after the data loads (or doesn't load), could we adjust the LoadingInline design to something like the below in the future?

0e-capacity

rawagner commented 5 years ago

@andybraren looking nice! I have created a new issue https://github.com/kubevirt/web-ui-components/issues/286