uptime metrics

Time based Availibility

availablity = uptime/(uptime+downtime)

aggregate availability

availability = successful requests / total requests

Mean time between failures

sum(start-of-downtime - start-of-uptime)/number-of-failures

Mean downtime

sum(start-of-uptime - start-of-downtime)/number-of-failures