-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestfront-endThis issue is part of the front-end (HTML, JS, CSS) part of the applicationThis issue is part of the front-end (HTML, JS, CSS) part of the applicationnice to haveLower priority, nice to have featuresLower priority, nice to have features
Description
We need a frontend for the uptime uptime checking of a dashboard. Patrick suggested to look at something like this: https://www.traviscistatus.com/
In our case, we'd have one simple bar with x amount of small bars indicating whether there was downtime for that dashboard on that given day.
Once the backend API is working, it will do the following.
A GET request to /api/dashboards/<id>/downtime will return an object with a number of fields:
downtime_intervals: not really relevant for this, will describe this in detail in the API specdowntime_percentage: downtime percentageprecise_downtimes: an object, containing as keys dates (YYYY-mm-dd); each entry is an object containinghours,minutes,secondsandmicrosecondsindicating the total downtime of that dayhour_downtimes: an object with dates as keys (same asprecise_downtimes), but each entry is a floating point number indicating the total downtime in hours on that day
Currently passing in a date range is not possible but that's something that can be added later. At the moment the results apply to the past 90 days. (Like the Travis CI status example).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfront-endThis issue is part of the front-end (HTML, JS, CSS) part of the applicationThis issue is part of the front-end (HTML, JS, CSS) part of the applicationnice to haveLower priority, nice to have featuresLower priority, nice to have features