Difference between revisions of "WCU Uptime"

From WICE Wiki v2.89
Jump to navigation Jump to search
Line 1: Line 1:
[[File:Wcu uptime1.png|thumb|WCU Uptime 1]]
[[File:Wcu uptime1.png|thumb|WCU Uptime 1]]
<includeonly>= WCU Uptime =</includeonly>
<includeonly>= WCU Uptime =</includeonly>
The uptime of a WCU can now be tracked in minute resolution.
The uptime of a WCU can now be tracked in minute resolution. 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 illustration "WCU Uptime 1" 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. In the example in illustration "WCU Uptime 1" we can see that we tried to search for uptime during the period 2016-06-20 to 2016-06-27 but the last recorded uptime sequence was in 2016-05-10.  
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. In the example in illustration "WCU Uptime 1" we can see that we tried to search for uptime during the period 2016-06-20 to 2016-06-27 but the last recorded uptime sequence was in 2016-05-10.  
Line 14: Line 13:


=== 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.
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 uptime sequences that did not match the search query.

Revision as of 11:53, 27 June 2016

WCU Uptime 1

The uptime of a WCU can now be tracked in minute resolution. 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.

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. In the example in illustration "WCU Uptime 1" we can see that we tried to search for uptime during the period 2016-06-20 to 2016-06-27 but the last recorded uptime sequence was in 2016-05-10.

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.

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".

WCU Uptime 2

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 uptime sequences that did not match the search query.