Uptime, your own website monitoring application built using Node.js, has gone through a major refactoring during the past months. So many things have changed that it’s like getting a new, premium version. Before it gets released, you have the opportunity to test the future Uptime V3 and help to find remaining bugs. Read on to see what’s new.
The dashboards used to give too much text data. With several dozen checks, it was almost impossible to detect outages or abnormal behavior in a list of checks or tags.
The solution? Remove text content, and add smart data visualization. And the best graphical visualization for site monitoring is uptime bars: a green rectangle showing outages as red intervals. That's what uptime now uses, and you won't ever miss a 5 minutes outage again.
The calculation of check availability was wrong. Uptime used to divide the number of "up" pings by the total number of pings over a period of time to get an average availability. But if the periodicity of pings changed during this period, the calculation was wrong. If the check was paused during this period, the calculation was wrong.
Similarly, the calculation of availability in tags used to be wrong, too. Uptime used to calculate an average of the availability of all the checks of a tag, while a tag should be considered down when at least one of its check is down.
Based on the same algorithm as the one used for uptime bars, the new availability calculation uses outage periods and not individual pings. So now it’s exact, both for checks and tags. Be aware: you might realize that a group of websites provide a slightly worse Quality of Service than what Uptime 1.0 reported. But now it’s the true score.
The check details page used to provide too much details and not enough data synthesis. While it was possible to see the average response time evolution between two boundaries, it was challenging to get the average response time score between the same boundaries.
The new stats page focuses on a few simple indicators before digging into the details. Also, the date navigation has been completely rebuilt to provide more intuitive controls, and the support of browser history.
Lastly, the new Stats page leverages the most advanced Twitter Bootstrap layouts, so that you can get both a great screen experience and a printable report without reload.
One of the strong points of Uptime has always been its uptime charts - powered by HighCharts. The problem was that HighChart is a commercial product, and that obliged the companies interested by Uptime (which is free) for a commercial use to buy a license from HighCharts.
Uptime V3 now uses Flotr2 to draw its charts. The new charts are simpler and more readable, yet they still look gorgeous. And Flotr2 is published under the MIT License, which makes Uptime a completely free software.
Uptime V3 has been heavily tweaked to improve the user experience. There are lots of little details you may not notice at first - that means that the GUI doesn’t get on the way between you and your data. These tweaks help to show just the information you need, just when you need it, and hide what you don’t need to let you interact with your data seamlessly. Uptime now behaves more like a desktop application, and it’s still blazingly fast (thanks to Node.js, jQuery and MongoDB).
The new Uptime is in beta for now. I need feedback for various usage patterns to polish the rough edges and detect the remaining bugs. You can help by installing the beta and adding new checks - import of existing checks from a previous version is not yet fully implemented. Uptime even comes with fake data, if you just want to spend a few minutes to play with the new user experience.
Here is how you can get it running:
Then go to http://localhost:8082/, click everywhere, find the bugs, and report them in the project’s GitHub Issues.
In a previous post, I announced the upcoming release of Uptime V2, which had the exact same features as Uptime V1, but was compatible with Node 0.8. This version 2 is what you currently get by cloning the master repository. It won’t receive any evolution in the future.
The new release is therefore a Version 3. If this feels like almost jumping one version number, it’s voluntary. Uptime V3 is really a major step forward, packing more features without any sacrifice on usability. Powerful, fast and easy: you’ll love it.
Tweet
Published on 16 Nov 2012
with tags NodeJS uptime