openstatus icon indicating copy to clipboard operation
openstatus copied to clipboard

Status Page - Optionally Change from Bar Chart

Open brixly opened this issue 4 months ago • 7 comments

Description

On the public status page, currently there's a bar graph for each monitor, where it shows downtime history.

It'd be ideal if we were able to change this, either on a per monitor basis, or on the overall status page, so it simply showed a status such as 'Online', 'Offline' for example.

brixly avatar Aug 05 '25 06:08 brixly

Hey @brixly! Thanks for the request!

Do I understand it correctly, that what you are looking for is a way to (re-)define your monitor type in the sense of:

  1. open data: share the total requests (+ failed requests) and all the related status reports - define the monitor status based on (a.) status report and (b.) uptime - uptime is defined programmatically (via requests)
  2. semi-open data: same as (1.) except that no request numbers are shown
  3. controlled data: define monitor status by status reports - uptime is defined by duration of reports only and only status reports are shown, otherwise monitor is operational

All of the options would keep the Bar chart. And what you mainly are looking for is (3.)?

The next bigger project is reworking the status page and its configuration - perfect timing.


A bit out of scope: to enhance (3.), we should require an additional status: ‘operational’ | ‘degraded’ | ‘partial_outage’ | ‘downtime’ to a status report for objective system view perspective.

mxkaske avatar Aug 06 '25 16:08 mxkaske

Yes, this sounds along the correct lines to me.

One of the things we have found with alternative platforms where a bar chart is displayed, is that in cases of downtime, regardless of downtime duration, the bar chart shows a fairly abrupt red bar, or orange bar.

This is typically an issue, as whilst it's transparent, an outage of 30s looks as negative as an outage for 30m, which from a client perspective can raise concerns regarding stability. The absolute ideal, would be to be able to define thresholds for the point specific colours are used on the bar chart - for example, a light green if the downtime is < 1m, amber for < 5m, and red for < 30m (figures just by example).

For simpler cases, it may be that no bar chart is preferred at all, and just a current 'status' could be shown.

Another additional feature would be to have the option to enable and display an uptime percentage, which would need to be configurable - for example, uptime percentage over the last 'x' days (with a default of 30).

I believe the more configurable this area is, the better the product would stand out in the market, as it's something that seems to be somewhat lacking in them all!

brixly avatar Aug 10 '25 13:08 brixly

Hey @brixly! Amazing, thanks for the additional input. That's indeed something we are actively working on.

It's hard to match all expectations but we are trying to find a good way to support enough configuration.

Imagine you can define (see preview link + cog wheel on bottom right to test different configs!):

  • the Bar Type as dominant (show the value of most important event of the day) or absolute (takes the percentage of the events)
  • the Card Type as dominant (same as above), requests (display total requests) or duration (displays the amount of time an event took place)

We might need to set some min-heights on the bar chart to make short events visible but that's approx. the way we will go.

see https://github.com/openstatusHQ/openstatus-template/pull/3

Feel free to check the preview link and let us know your thoughts!

mxkaske avatar Aug 11 '25 17:08 mxkaske

Yes, this is perfect, great work! Far more attractive than what I had imagined - it remains transparent, but exactly resolves the issues I stated in terms of exaggerating small windows of downtime.

Once this and the grouping are available, we will make the switch across all our brands.

brixly avatar Aug 12 '25 10:08 brixly

Once this and the grouping are available, we will make the switch across all our brands.

Out of context which providers are you currently using? We could build a small exporter for this :)

thibaultleouay avatar Aug 12 '25 11:08 thibaultleouay

We're currently using OneUptime on self-hosted! Appreciate it thanks!

brixly avatar Aug 12 '25 16:08 brixly