monitor.heartbeat
Whether a cron job that pings on a schedule is new, up, late or down, from its last ping, period and grace time.
heartbeatStatus in TypeScript
1.0.0
py rs ts
14 tests
Apache-2.0
monitor.heartbeat-check
A heartbeat's state as a check status for a status page: up, late as degraded, down as down, new as nothing yet.
heartbeatCheck in TypeScript
1.0.0
py rs ts
8 tests
Apache-2.0
monitor.maintenance-window
The scheduled maintenance window in force at a moment, if any, so alerts and uptime can be suppressed during it.
activeMaintenance in TypeScript
1.0.0
py rs ts
14 tests
Apache-2.0
monitor.check-status
Combine the statuses of one target's probes from several locations into one up, degraded or down, with a quorum.
aggregateStatus in TypeScript
1.0.0
py rs ts
13 tests
Apache-2.0
monitor.incidents
Turn a series of up, degraded and down checks into incidents, ignoring runs too short to confirm.
findIncidents in TypeScript
1.0.0
py rs ts
19 tests
Apache-2.0
monitor.uptime-bars
One bar per UTC day for a status page's uptime history: seconds in each state, uptime and a colour state, oldest first.
uptimeBars in TypeScript
1.0.0
py rs ts
17 tests
Apache-2.0
monitor.uptime
Time-weighted uptime of a target over a window from its checks, with gaps longer than a limit counted as unknown.
uptime in TypeScript
1.0.0
py rs ts
21 tests
Apache-2.0
monitor.http-check-result
Classify one HTTP probe as up, degraded or down, with a reason and message, from status, body and latency.
classifyHttpCheck in TypeScript
1.0.0
py rs ts
39 tests
Apache-2.0
monitor.status-page
The overall state, headline and affected components at the top of a status page, from each component's state.
statusPage in TypeScript
1.0.0
py rs ts
14 tests
Apache-2.0
monitor.component-state
A status page component's state from its checks: operational, degraded, partial or major outage, or maintenance.
componentState in TypeScript
1.0.0
py rs ts
15 tests
Apache-2.0
monitor.cert-check
A TLS certificate's expiry state as a check status: ok and warning are up, critical is degraded, expired is down.
certCheck in TypeScript
1.0.0
py rs ts
8 tests
Apache-2.0
monitor.alert-mute
Whether to hold an alert back: its component is under maintenance, or a related alert on it is already firing.
muteAlert in TypeScript
1.0.0
py rs ts
19 tests
Apache-2.0
monitor.anomaly
Is a new metric value an outlier against its history? By z-score or by the robust median/MAD modified z-score.
detectAnomaly in TypeScript
1.0.0
py rs ts
20 tests
Apache-2.0
monitor.mttr
MTTR, MTBF, downtime and incident counts for a reporting window, from a list of incidents.
reliabilityStats in TypeScript
1.0.0
py rs ts
18 tests
Apache-2.0
monitor.series-window
The samples of a time series from one moment up to (not including) another, checking they are in time order.
seriesWindow in TypeScript
1.0.0
py rs ts
12 tests
Apache-2.0
monitor.burn-rate-alert
Multiwindow, multi-burn-rate SLO alerting: which rules fire, from event counts per window (Google SRE workbook).
burnRateAlert in TypeScript
2.0.0
py rs ts
30 tests
Apache-2.0
monitor.alert-rule
Evaluate a threshold alert rule over a metric series: inactive, pending, firing or no-data, Prometheus style.
evaluateAlertRule in TypeScript
1.0.0
py rs ts
25 tests
Apache-2.0
monitor.error-budget
How much of an SLO's error budget is allowed, used and left, from good and bad event counts or seconds.
errorBudget in TypeScript
1.0.0
py rs ts
19 tests
Apache-2.0
monitor.counter-increase
How much a monotonic counter grew over a series of samples, counting restarts from zero, and its rate per second.
counterIncrease in TypeScript
1.0.0
py rs ts
14 tests
Apache-2.0
monitor.alert-state
Step an alert through inactive, pending, firing and resolved, and say which notification to send.
nextAlertState in TypeScript
1.0.0
py rs ts
25 tests
Apache-2.0
monitor.rollup
Aggregate a metric series into fixed time buckets (count, min, max, avg, sum, last), empty buckets included.
rollup in TypeScript
1.0.0
py rs ts
15 tests
Apache-2.0
monitor.format-duration
A number of seconds as a short human duration for dashboards and alerts: "3h 12m", "2d 4h", "45s".
formatDuration in TypeScript
1.0.0
py rs ts
18 tests
Apache-2.0
monitor.burn-rate
How fast an SLO's error budget is burning: the error rate as a multiple of the rate the SLO allows, in thousandths.
burnRate in TypeScript
1.0.0
py rs ts
17 tests
Apache-2.0
net.device-validate
Validate one network inventory entry: name, host, ports, optional MAC and subnet, with every problem listed.
validateDevice in TypeScript
1.0.0
py rs ts
17 tests
Apache-2.0
monitor.parse-access-log
Parse one Apache/NCSA Common or Combined Log Format access log line; null for a line in neither format.
parseAccessLog in TypeScript
1.0.0
py rs ts
21 tests
Apache-2.0
monitor.status-code-summary
Count HTTP status codes by class (1xx to 5xx) and give the server error and client error rates in basis points.
summariseStatusCodes in TypeScript
1.0.0
py rs ts
12 tests
Apache-2.0
monitor.cert-expiry
How long a TLS certificate has left before its notAfter, and whether that is ok, a warning, critical or expired.
certExpiry in TypeScript
1.0.0
py rs ts
15 tests
Apache-2.0
net.device-status
Classify a device as up, degraded or down from its latency summary and loss, p95 and jitter thresholds.
deviceStatus in TypeScript
1.0.0
py rs ts
22 tests
Apache-2.0
health.waiting-time Unreviewed
NHS England referral-to-treatment (RTT) wait in days and weekly bands, with the 18-week breach flag.
rttWaitingTime in TypeScript
1.0.1
py rs ts
18 tests
Apache-2.0
health.news2 Unreviewed
NEWS2 early warning score from one set of observations: parameter scores, aggregate and RCP clinical risk band.
news2Score in TypeScript
1.0.1
py rs ts
45 tests
Apache-2.0
manufacturing.tolerance-check
Check a measurement against a nominal size and its upper and lower deviations, in whole micrometres.
checkTolerance in TypeScript
1.0.0
py rs ts
14 tests
Apache-2.0
todo.filter
The todos a list view shows: all, active or completed, optionally one tag, and a search box, in input order.
filterTodos in TypeScript
1.0.0
py rs ts
17 tests
Apache-2.0
insurance.mid-term-adjustment Unreviewed
Additional or return premium for a mid-term policy change, pro rata on the days left, plus an admin fee.
midTermAdjustment in TypeScript
1.0.1
py rs ts
17 tests
Apache-2.0