monitor.mttr
MTTR, MTBF, downtime and incident counts for a reporting window, from a list of incidents.
reliability_stats in Rust
1.0.0
py rs ts
18 tests
monitor.rollup
Aggregate a metric series into fixed time buckets (count, min, max, avg, sum, last), empty buckets included.
rollup in Rust
1.0.0
py rs ts
15 tests
monitor.series-window
The samples of a time series from one moment up to (not including) another, checking they are in time order.
series_window in Rust
1.0.0
py rs ts
12 tests
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.
burn_rate in Rust
1.0.0
py rs ts
17 tests
monitor.burn-rate-alert
Multiwindow, multi-burn-rate SLO alerting: which rules fire, from event counts per window (Google SRE workbook).
burn_rate_alert in Rust
2.0.0
py rs ts
30 tests
monitor.error-budget
How much of an SLO's error budget is allowed, used and left, from good and bad event counts or seconds.
error_budget in Rust
1.0.0
py rs ts
19 tests
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 Rust
1.0.0
py rs ts
21 tests
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.
heartbeat_check in Rust
1.0.0
py rs ts
8 tests
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.
uptime_bars in Rust
1.0.0
py rs ts
17 tests
net.device-validate
Validate one network inventory entry: name, host, ports, optional MAC and subnet, with every problem listed.
validate_device in Rust
1.0.0
py rs ts
17 tests
monitor.alert-mute
Whether to hold an alert back: its component is under maintenance, or a related alert on it is already firing.
mute_alert in Rust
1.0.0
py rs ts
19 tests
monitor.alert-rule
Evaluate a threshold alert rule over a metric series: inactive, pending, firing or no-data, Prometheus style.
evaluate_alert_rule in Rust
1.0.0
py rs ts
25 tests
monitor.alert-state
Step an alert through inactive, pending, firing and resolved, and say which notification to send.
next_alert_state in Rust
1.0.0
py rs ts
25 tests
monitor.anomaly
Is a new metric value an outlier against its history? By z-score or by the robust median/MAD modified z-score.
detect_anomaly in Rust
1.0.0
py rs ts
20 tests
monitor.cert-check
A TLS certificate's expiry state as a check status: ok and warning are up, critical is degraded, expired is down.
cert_check in Rust
1.0.0
py rs ts
8 tests
monitor.cert-expiry
How long a TLS certificate has left before its notAfter, and whether that is ok, a warning, critical or expired.
cert_expiry in Rust
1.0.0
py rs ts
15 tests
monitor.check-status
Combine the statuses of one target's probes from several locations into one up, degraded or down, with a quorum.
aggregate_status in Rust
1.0.0
py rs ts
13 tests
monitor.component-state
A status page component's state from its checks: operational, degraded, partial or major outage, or maintenance.
component_state in Rust
1.0.0
py rs ts
15 tests
monitor.counter-increase
How much a monotonic counter grew over a series of samples, counting restarts from zero, and its rate per second.
counter_increase in Rust
1.0.0
py rs ts
14 tests
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.
heartbeat_status in Rust
1.0.0
py rs ts
14 tests
monitor.http-check-result
Classify one HTTP probe as up, degraded or down, with a reason and message, from status, body and latency.
classify_http_check in Rust
1.0.0
py rs ts
39 tests
monitor.incidents
Turn a series of up, degraded and down checks into incidents, ignoring runs too short to confirm.
find_incidents in Rust
1.0.0
py rs ts
19 tests
monitor.maintenance-window
The scheduled maintenance window in force at a moment, if any, so alerts and uptime can be suppressed during it.
active_maintenance in Rust
1.0.0
py rs ts
14 tests
monitor.parse-access-log
Parse one Apache/NCSA Common or Combined Log Format access log line; null for a line in neither format.
parse_access_log in Rust
1.0.0
py rs ts
21 tests
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.
summarise_status_codes in Rust
1.0.0
py rs ts
12 tests
monitor.status-page
The overall state, headline and affected components at the top of a status page, from each component's state.
status_page in Rust
1.0.0
py rs ts
14 tests
net.device-status
Classify a device as up, degraded or down from its latency summary and loss, p95 and jitter thresholds.
device_status in Rust
1.0.0
py rs ts
22 tests