Telemetry anomalies
One signal of the fleet on an XmR chart, the days outside its natural limits, and the rover that moved. It does the job of the anfra Anomaly Detection app.
archec new my-app --kind data-app --template telemetry-anomalies
archec ui preview my-app/main.arche --serve
What it shows#
- A filter bar: the last 90 days, a part (
motor-rightto start), a rover. - Three tiles: the peak temperature, the current, the vibration, each against the 90 days before.
- The temperature and the current on XmR charts. The middle line is the mean; the limits are the mean plus or minus 2.66 times the mean moving range. The points outside them, and long runs on one side, are marked.
- The temperature and the vibration by rover. A click keeps that rover.
- The days, latest first.
The data#
data/telemetry.csv: a row per rover, part and day:at,rover,part,temp,current,vibration.from livereads whatarchec livewrites.- In the sample, the right motor of rover-2 runs hotter in the last ten days, and the battery's current spikes once.
Limits#
- The limits come from every point shown, the shift too, so a long shift moves the mean. Narrow the dates to the days before it to see the limits it broke.
- Inspect on a chart says its query and its metric; the limits are in the chart's legend.
The model is lib/data-apps/telemetry-anomalies/main.arche, and the gallery lists
the other templates.