Skip to content

Uptime checking frontend #430

@InputUsername

Description

@InputUsername

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 spec
  • downtime_percentage: downtime percentage
  • precise_downtimes: an object, containing as keys dates (YYYY-mm-dd); each entry is an object containing hours, minutes, seconds and microseconds indicating the total downtime of that day
  • hour_downtimes: an object with dates as keys (same as precise_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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfront-endThis issue is part of the front-end (HTML, JS, CSS) part of the applicationnice to haveLower priority, nice to have features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions