Operational Reliability Reports
Service Window Reliability Report
Label a service window from failed checks and available open minutes.
Service Window Reliability Report
service_window_reliability_report.go
package main
import "fmt"
func main() {
var failedChecks =
openMinutes := 45
status := "blocked"
if failedChecks == 0 && openMinutes >= 30 {
status = "ready"
} else if failedChecks <= 1 {
status = "watch"
}
fmt.Printf("failed=%d open=%d status=%s\n", failedChecks, openMinutes, status)
}
package main
import "fmt"
func main() {
var failedChecks =
openMinutes := 45
status := "blocked"
if failedChecks == 0 && openMinutes >= 30 {
status = "ready"
} else if failedChecks <= 1 {
status = "watch"
}
fmt.Printf("failed=%d open=%d status=%s\n", failedChecks, openMinutes, status)
}
package main
import "fmt"
func main() {
var failedChecks =
openMinutes := 45
status := "blocked"
if failedChecks == 0 && openMinutes >= 30 {
status = "ready"
} else if failedChecks <= 1 {
status = "watch"
}
fmt.Printf("failed=%d open=%d status=%s\n", failedChecks, openMinutes, status)
}
readiness label
A reliability report turns a small check summary into a label that an operator can scan before a service window opens.