epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
145 stars 58 forks source link

Hot nodes pools usage #2442

Open NShaforostov opened 2 years ago

NShaforostov commented 2 years ago

Background

Currently, if admin wants to know the consumption of any hot node pool - some info can be gotten from the hot nodes pool list. But at this list, only the info at the moment is displayed. Other information will be much more useful for the administrator - how the pool consumption has been changed during the certain period. It would be convenient to have the ability to view and export statistics of pool(s) consumption.

Approach

Details

Navigation

There should be the following ways to view pools consumption:

Day period

"Day" period should be the default period for the report. By default in this case, the report should be generated for the today. By the "calendar" control, there should be the ability to select another day to view statistics.

First panel shall contain a chart showing consumptions of all existing hot node pools by hours division in the selected day:

Second panel shall contain:

See example of the view on image at the beginning of the issue.

Month period

"Month" period can be selected manually by the period selector above the charts at the Pools usage tab. By default in this case, the report should be generated for the current month. By the "calendar" control, there should be the ability to select another day to view statistics.

First panel shall contain a chart showing consumptions of all existing hot node pools by days division in the selected month:

Second panel shall contain:

See example of such view: image

Export

By click the Export button at the Pools usage tab, the currently shown data should be exported in XLS format. The downloaded file should include:

Table of the sheet DATA shall have the following view:

Timestamp        <pool_name_1>_CONSUMPTION[%]    <pool_name_2>_CONSUMPTION[%]   ...   <pool_name_N>_CONSUMPTION[%]    <selected_pool>_CONSUMPTION[nodes]    <selected_pool>_SIZE[nodes]
<timestamp_0>     0                               0                                    0                               0                                     8
<timestamp_1>     10                              12                                   5                               1                                     8
<timestamp_2>     15                              33                                   10                              2                                     8
<timestamp_3>     25                              45                                   0                               3                                     8
...

Where:

Example of the DATA sheet: image

Example of the CHARTS sheet: image

maryvictol commented 2 years ago

@rodichenko List of all existing pools in the dropdown shall be sorted alphabetically. The same shall be for the list of nodes on the All hot node pools usage diagram.

rodichenko commented 2 years ago

@rodichenko List of all existing pools in the dropdown shall be sorted alphabetically. The same shall be for the list of nodes on the All hot node pools usage diagram.

Should be fixed by e8fb1e371c3d1af583e1cf8b653634ef90a95b06, de6e5a76d0744aeba8bc51e039b7a2bdd429fd9c