Open NShaforostov opened 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 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
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
XLS
Example:pool.usage.monitoring.storing.period
with default value equals 1 year)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:
(count of occupied pool nodes in that pool at the moment)/(max possible count of nodes in that pool at the moment)*100
. I.e. for the consumption in 15:00 we should receive max from all consumptions between 14:00 and 15:00.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:
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:DATA
with the table containing:CHARTS
with both charts as at the GUITable of the sheet
DATA
shall have the following view:Where:
<timestamp_0>
,<timestamp_1>
,... - timestamps according to the selected time period<pool_name_1>
,<pool_name_2>,...
<selected_pool>
- name of the selected hot node pool<pool_name_N>_CONSUMPTION[%]
- consumption (in percent) of a certain hot node pool in a certain timestamp<selected_pool>_CONSUMPTION[nodes]
- consumption (in nodes count) of the selected hot node pool in a certain timestamp<selected_pool>_SIZE[nodes]
- full size of the selected hot node pool (in nodes count) in a certain timestampExample of the
DATA
sheet:Example of the
CHARTS
sheet: