Skip to content

A simple SLA calculator inspired by https://uptime.is. Calculate SLA percentages for various reporting periods based on downtime duration.

License

Notifications You must be signed in to change notification settings

catgrep/downtime.is

Repository files navigation

downtime.is

Go Report Card Go Coverage

A simple SLA calculator inspired by uptime.is. Calculate SLA percentages for various reporting periods based on downtime duration.

Usage

Visit downtime.is followed by a duration to calculate SLA percentages:

  • downtime.is/100 - 100 seconds of downtime
  • downtime.is/1h - 1 hour of downtime
  • downtime.is/30m - 30 minutes of downtime
  • downtime.is/2d12h - 2 days and 12 hours of downtime

Example Output

For 1 hour of downtime:

  • Daily reporting: 95.8333%
  • Weekly reporting: 99.4048%
  • Monthly reporting: 99.8620%
  • Quarterly reporting: 99.9540%
  • Yearly reporting: 99.9885%

Development

Prerequisites

  • Go 1.24 or higher
  • Docker and Docker Compose

Local Development

make server  # Run the server locally
make test    # Run tests

About

A simple SLA calculator inspired by https://uptime.is. Calculate SLA percentages for various reporting periods based on downtime duration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published