Operational Reliability Reports
Service Window Reliability Report
Summarize whether a service window is ready, watched, or blocked.
Service Window Reliability Report
service_window.ts
type ServiceWindowReport = {
failedChecks: number;
openMinutes: number;
status: string;
};
const failedChecks: number = ;
const openMinutes: number = 45;
let reportStatus: string = "blocked";
if (failedChecks === 0 && openMinutes >= 30) {
reportStatus = "ready";
} else if (failedChecks <= 1) {
reportStatus = "watch";
}
const report: ServiceWindowReport = { failedChecks, openMinutes, status: reportStatus };
console.log(`failed=${report.failedChecks} open=${report.openMinutes} status=${report.status}`);
type ServiceWindowReport = {
failedChecks: number;
openMinutes: number;
status: string;
};
const failedChecks: number = ;
const openMinutes: number = 45;
let reportStatus: string = "blocked";
if (failedChecks === 0 && openMinutes >= 30) {
reportStatus = "ready";
} else if (failedChecks <= 1) {
reportStatus = "watch";
}
const report: ServiceWindowReport = { failedChecks, openMinutes, status: reportStatus };
console.log(`failed=${report.failedChecks} open=${report.openMinutes} status=${report.status}`);
type ServiceWindowReport = {
failedChecks: number;
openMinutes: number;
status: string;
};
const failedChecks: number = ;
const openMinutes: number = 45;
let reportStatus: string = "blocked";
if (failedChecks === 0 && openMinutes >= 30) {
reportStatus = "ready";
} else if (failedChecks <= 1) {
reportStatus = "watch";
}
const report: ServiceWindowReport = { failedChecks, openMinutes, status: reportStatus };
console.log(`failed=${report.failedChecks} open=${report.openMinutes} status=${report.status}`);
reliability report
A reliability report can turn fixed operational inputs into a scalar status that is easy to trace and compare.