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
stats.weighted-average
Weighted average of integers, computed exactly and rounded once to stated decimals with an explicit rounding mode.
weighted_average in Rust
1.0.0
py rs ts
21 tests
stats.percentile
Percentile of a list of numbers by a named method: nearest-rank, or linear interpolation (R-7, Excel PERCENTILE.INC).
percentile in Rust
2.0.0
py rs ts
29 tests
stats.mean-median
Mean, median and mode of a list of integers, with the mean and median as exact fractions.
mean_median_mode in Rust
1.0.0
py rs ts
16 tests
stats.standard-deviation
Population or sample standard deviation of a list of numbers, two-pass, rounded to stated decimals.
standard_deviation in Rust
2.0.0
py rs ts
21 tests
stats.moving-average
Simple or exponential moving average over a series, one value per full window, rounded to stated decimals.
moving_average in Rust
2.0.0
py rs ts
24 tests
todo.summary
Counts for a todo list's header or footer: total, active, done, overdue, due today, percent done and "3 items left".
summarise_todos in Rust
1.0.0
py rs ts
13 tests
inventory.safety-stock
Safety stock in whole units, by service level and demand variability (z-score) or by max-minus-average.
safety_stock in Rust
1.0.0
py rs ts
22 tests
net.latency-summary
Summarise probe results: sent, received, loss, min/avg/max, p95 and jitter, in whole microseconds.
summarise_latency in Rust
1.0.0
py rs ts
16 tests
charts.histogram-bins
Bin values into histogram bins on round edges, by Sturges' rule, Freedman-Diaconis, or a fixed width.
histogram_bins in Rust
1.0.0
py rs ts
17 tests
math.round-float
Round a float half away from zero to 0-12 decimal places, identically in TypeScript, Python and Rust.
round_float in Rust
1.0.0
py rs ts
22 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
professional.utilisation
Billable utilisation and billing, collection and overall realisation rates, in basis points.
utilisation_rates in Rust
1.0.0
py rs ts
13 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.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
education.attendance-rate
Pupil attendance and absence rates in basis points, with the DfE persistent and severe absence flags.
attendance_rate in Rust
1.0.1
py rs ts
19 tests
inventory.stock-turnover
Stock turnover ratio, days inventory outstanding and days of cover for a period, computed exactly.
stock_turnover in Rust
1.0.0
py rs ts
13 tests
agri.stocking-rate
Stocking rate: livestock units and LU per hectare from animal numbers, by a published LU coefficient table.
stocking_rate in Rust
1.0.1
py rs ts
17 tests
inventory.abc-classification
ABC classes by annual consumption value (Pareto), with configurable cut-offs such as 80/15/5 and deterministic ties.
abc_classification in Rust
1.0.0
py rs ts
17 tests
health.news2 Unreviewed
NEWS2 early warning score from one set of observations: parameter scores, aggregate and RCP clinical risk band.
news2_score in Rust
1.0.1
py rs ts
45 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
subscriptions.ltv-cac
Customer lifetime value, LTV to CAC ratio and CAC payback months from ARPA, gross margin, churn and CAC.
ltv_cac in Rust
1.0.0
py rs ts
14 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
manufacturing.oee
Overall equipment effectiveness (availability x performance x quality) in basis points, from times and counts.
overall_equipment_effectiveness in Rust
1.0.0
py rs ts
18 tests
health.bsa Unreviewed
Body surface area in m² by the Mosteller and the DuBois & DuBois formulas, to 2 decimal places.
body_surface_area in Rust
1.0.1
py rs ts
16 tests
education.cpd-hours
CPD logged against a requirement for a rolling or fixed period: minutes counted, shortfall and days left.
cpd_hours in Rust
1.0.0
py rs ts
20 tests
manufacturing.takt-time
Takt time: available production time divided by customer demand, exact and in whole seconds.
takt_time in Rust
1.0.0
py rs ts
14 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.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
retail.sales-tax-us Unreviewed
US sales tax on a sale: the state's base rate from dated data plus a local rate the caller supplies.
sales_tax_us in Rust
1.1.1
py rs ts
22 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
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
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
logistics.duty-estimate Unreviewed
Estimate import duty and import VAT on goods: customs value on a CIF basis, the caller's duty rate, VAT on top.
duty_estimate in Rust
1.0.1
py rs ts
17 tests
1.0.0
py rs ts
14 tests
inventory.valuation-weighted-average
Perpetual weighted average cost: stock value and cost of sales from a movement ledger, rounding once per issue.
weighted_average_valuation in Rust
1.0.0
py rs ts
17 tests
fleet.drivers-hours Unreviewed
Check a driver's activities against GB/EU drivers' hours: breaks after 4.5h, daily, weekly and fortnightly driving.
check_drivers_hours in Rust
1.0.2
py rs ts
26 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
manufacturing.variance
Standard costing variances: material price and usage, labour rate and efficiency, favourable or adverse.
cost_variances in Rust
1.0.0
py rs ts
15 tests
manufacturing.capacity
Capacity against routed load per work centre over a period, with efficiency, utilisation and overload flags.
work_centre_load in Rust
1.0.0
py rs ts
14 tests
fleet.tachograph-rest Unreviewed
Check daily and weekly rest against GB/EU drivers' hours: 11h daily (9h reduced, 3+9 split), 45h weekly (24h reduced).
check_tachograph_rest in Rust
1.0.2
py rs ts
22 tests
health.bmi Unreviewed
Adult body mass index (kg/m², 1 decimal place) and its NICE/WHO weight category.
bmi in Rust
1.0.1
py rs ts
22 tests
hr.absence-bradford-factor
Bradford factor for a set of absence spells: spells squared times total days, which weights frequent short absences.
bradford_factor in Rust
1.0.0
py rs ts
10 tests
hospitality.tronc-allocation
Share a tips pool (tronc) between staff by hours worked, points, or hours times points, exactly to the penny.
tronc_allocation in Rust
1.0.0
py rs ts
19 tests
fleet.vehicle-depreciation
A vehicle's current value from its cost, age and mileage, on retention curves the caller supplies, exactly.
vehicle_depreciation in Rust
1.0.0
py rs ts
20 tests
energy.estimate-read
Estimate a meter read for a date from the average daily consumption between two earlier reads, with rollover.
estimate_read in Rust
1.0.0
py rs ts
17 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.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
charts.downsample
Reduce a long series to a few points that keep its visual shape, by Largest-Triangle-Three-Buckets (LTTB).
downsample in Rust
1.0.0
py rs ts
11 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
insurance.rating-factors Unreviewed
Premium from a base rate times factor-table lookups, loadings and discounts, within minimum and maximum premiums.
rate_premium in Rust
1.0.1
py rs ts
24 tests
retail.loyalty-points
Loyalty points for a purchase: redeem in blocks, earn on what is paid, with tier multipliers.
loyalty_points in Rust
1.0.0
py rs ts
19 tests