Difference between revisions of "WCU Uptime"

From WICE Wiki v2.89
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Wcu uptime1.png|thumb|WCU Uptime 1]]
[[File:Wcu uptime1.png|thumb|WCU Uptime Window]]
<includeonly>== WCU Uptime ==</includeonly>
<includeonly>== WCU Uptime ==</includeonly>
The uptime of a WCU can now be tracked in minute resolution. To show the uptime for a WCU, you can either right click on the WCU in the Vehicles tab and select "WCU status" or select the WCU and then click on the "WCU status" button located in the bottom line of the Vehicles tab. The window in illustration "WCU Uptime 1" will then be visible.
The uptime of a WCU can now be tracked in minute resolution. To show the uptime for a WCU, you can either right click on the WCU in the Vehicles tab and select "WCU status" or select the WCU and then click on the "WCU status" button located in the bottom line of the Vehicles tab. The window in Figure "WCU Uptime Window" will then be visible.


When the "WCU Status" window opens it will by default show the uptime for the last seven days. If the WCU did not record any uptime during this period, the "WCU status" will look an additional seven days backwards in time until it finds an uptime sequence.  
When the "WCU Status" window opens it will by default show the uptime for the last seven days. If the WCU did not record any uptime during this period, the "WCU status" will look an additional seven days backwards in time until it finds an uptime sequence.  


To view uptime sequences prior to the last uptime sequence, the user can step to the left on the time axis using the "left" arrow button and "fast rewind" button located in the bottom left corner of the window. Clicking the "left" button will result in stepping one uptime sequence backwards. Clicking the "fast rewind" button results in stepping 10 sequences backwards. By default when stepping backwards the number of visible uptime sequences will always be the same. In other words, if you have only one sequence visible as in illustration "WCU Uptime 1" and then clicks the "left" button this results in only showing the uptime sequence prior to current one. This can be changed by unchecking the "Preserve duration" checkbox located above the uptime chart. When having this checkbox unchecked, the result of a backward step on the time axis will result in the new uptime sequences being appended to the currently visible sequences.  
To view uptime sequences prior to the last uptime sequence, the user can step to the left on the time axis using the "left" arrow button and "fast rewind" button located in the bottom left corner of the window. Clicking the "left" button will result in stepping one uptime sequence backwards. Clicking the "fast rewind" button results in stepping 10 sequences backwards. By default when stepping backwards the number of visible uptime sequences will always be the same. In other words, if you have only one sequence visible as in Figure "WCU Uptime Window" and then clicks the "left" button this results in only showing the uptime sequence prior to current one. This can be changed by unchecking the "Preserve duration" checkbox located above the uptime chart. When having this checkbox unchecked, the result of a backward step on the time axis will result in the new uptime sequences being appended to the currently visible sequences.  


Example: If only one uptime sequence is visible and we click the "left" button while having "Preserve duration" unchecked, this results in two uptime sequences after the result has been fetched from the server.
Example: If only one uptime sequence is visible and we click the "left" button while having "Preserve duration" unchecked, this results in two uptime sequences after the result has been fetched from the server.


The "right" button and the "fast forward" button work the opposite way unless we are on the last uptime sequence as in illustration "WCU Uptime 1".
The "right" button and the "fast forward" button work the opposite way unless we are on the last uptime sequence as in Figure "WCU Uptime Window".
[[File:Wcu uptime2.png|thumb|WCU Uptime 2]]
[[File:Wcu uptime2.png|thumb|WCU Uptime Interval Search]]


=== Get uptime for a period of time ===
=== Get uptime for a period of time ===
Instead of stepping backwards on the time axis it is possible to display all uptime sequences for a period of time. In "WCU Uptime 2" we have searched for uptime between 2016-04-01 and 2016-04-30. What is important to note is that we only show charts in their entirety. This means that when we search for a start date (e.g. 2016-04-01) the server tries to find the nearest date to this date when the WCU went alive. The found date could be exactly the provided start date but can also be e.g. 2016-03-31 or as in illustration "WCU Uptime 2" 2016-04-13 because no uptime was recorded prior to this date. In the case of a long uptime sequence that starts before the provided start date but stretches over and ends after the start date, this sequence may not always be visible due to the "find nearest date" mentioned above. If one is interested to see if the WCU was up at a particular date one strategy is to have this date between the start date and end date to ensure it will be included. Another strategy is to get the uptime for a period as in "WCU Uptime 2" and then step backwards or forwards to even include the nearest uptime sequences that did not match the search query.
Instead of stepping backwards on the time axis it is possible to display all uptime sequences for a period of time. In the Figure "WCU Uptime Interval Search" we have searched for uptime between 2018-11-01 and 2018-11-28. This search will be inclusive, i.e. if the from or to date is in the middle of an uptime sequence it will include the entire uptime sequence. This is for instance the case in the forementioned figure, where the entered from date is in the middle of the marked uptime sequence and the search is therefore extended to include its alive date; 2018-10-31.
[[File:Wcu uptime3.png|thumb|WCU Uptime 3]]


=== Zoom in, zoom out and increase granularity ===
=== Zoom in and zoom out ===
[[File:Wcu uptime4.png|thumb|WCU Uptime 4]]
To zoom in the chart you can simply mark the area of interest by drag-and-drop, as illustrated in Figure "WCU Uptime Zoom". This can be done several times and to completely reset the zoom, press the "Reset zoom"-button in the upper right corner in the graph, see Figure "WCU Uptime Reset Zoom". It is also possible to use the stepping arrows based on the zoomed interval. However, after doing so a new search is performed and it is no longer possible to reset the zoom.
Below the main chart there is smaller chart, the zoom chart, which is used to decide the content of the main chart. As in illustration "WCU Uptime 2", where we have all uptime sequences for a month, we can use the zoom chart to zoom in a certain sequence. To zoom in, use the sliders in the zoom chart and the content in the main chart will automatically be updated. The result of this operation can be seen in illustration "WCU Uptime 3".


By default, the number of data points for an uptime sequence are determined by the length of the sequence. Short uptime sequences (less than 1 hour) will show every data point available (1 every new minute) but longer sequences only shows every 10th or every 100th minute. To also show all data points for longer uptime sequences the "Zoom in" button can be used. When clicking this button, all data points will be fetched for the interval determined by the zoom chart. If we click "Zoom in" for the interval displayed in "WCU Uptime 3" we will get the result shown in illustration "WCU Uptime 4". To go back to the previous view, click "Zoom out".
<br>
<gallery widths="400" heights="200" mode="nolines">
File:WCU uptime zoom.png|thumb|WCU Uptime Zoom
File:WCU uptime reset zoom.png|thumb|WCU Uptime Reset Zoom
</gallery>
 
<br clear="all">


=== Real-time monitoring ===
=== Real-time monitoring ===

Latest revision as of 13:35, 30 October 2020

WCU Uptime Window

The uptime of a WCU can now be tracked in minute resolution. To show the uptime for a WCU, you can either right click on the WCU in the Vehicles tab and select "WCU status" or select the WCU and then click on the "WCU status" button located in the bottom line of the Vehicles tab. The window in Figure "WCU Uptime Window" will then be visible.

When the "WCU Status" window opens it will by default show the uptime for the last seven days. If the WCU did not record any uptime during this period, the "WCU status" will look an additional seven days backwards in time until it finds an uptime sequence.

To view uptime sequences prior to the last uptime sequence, the user can step to the left on the time axis using the "left" arrow button and "fast rewind" button located in the bottom left corner of the window. Clicking the "left" button will result in stepping one uptime sequence backwards. Clicking the "fast rewind" button results in stepping 10 sequences backwards. By default when stepping backwards the number of visible uptime sequences will always be the same. In other words, if you have only one sequence visible as in Figure "WCU Uptime Window" and then clicks the "left" button this results in only showing the uptime sequence prior to current one. This can be changed by unchecking the "Preserve duration" checkbox located above the uptime chart. When having this checkbox unchecked, the result of a backward step on the time axis will result in the new uptime sequences being appended to the currently visible sequences.

Example: If only one uptime sequence is visible and we click the "left" button while having "Preserve duration" unchecked, this results in two uptime sequences after the result has been fetched from the server.

The "right" button and the "fast forward" button work the opposite way unless we are on the last uptime sequence as in Figure "WCU Uptime Window".

WCU Uptime Interval Search

Get uptime for a period of time

Instead of stepping backwards on the time axis it is possible to display all uptime sequences for a period of time. In the Figure "WCU Uptime Interval Search" we have searched for uptime between 2018-11-01 and 2018-11-28. This search will be inclusive, i.e. if the from or to date is in the middle of an uptime sequence it will include the entire uptime sequence. This is for instance the case in the forementioned figure, where the entered from date is in the middle of the marked uptime sequence and the search is therefore extended to include its alive date; 2018-10-31.

Zoom in and zoom out

To zoom in the chart you can simply mark the area of interest by drag-and-drop, as illustrated in Figure "WCU Uptime Zoom". This can be done several times and to completely reset the zoom, press the "Reset zoom"-button in the upper right corner in the graph, see Figure "WCU Uptime Reset Zoom". It is also possible to use the stepping arrows based on the zoomed interval. However, after doing so a new search is performed and it is no longer possible to reset the zoom.



Real-time monitoring

The WCU status window can also be used to monitor if the WCU is currently up and running. To enable this, check "Enable realtime data" located above the main chart. When enabled, any uptime for the last 24h will be fetched and displayed. Additionally, the server will be asked for new uptime data every minute and any new data will be added to the current result. Since the WCU uploads its uptime data every 5 minutes, it can take up to 5 minutes before any results are visible in the WCU status window.

Additional features

  • The display unit can be changed from minutes (default) to hours or days. If changing to hours, 160 minutes will be displayed as 02:40 (hh:mm).
  • When real-time monitoring, the WCU status window can be sent to a new browser window using the little arrow located to left of the minimize-maximize buttons in the upper right corner of the window.