Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
The relay holds one LiveMetrics, reports the Pi round trip from arm-link, and serves it at GET /metrics.prom #245
Sign in to join this conversation.
Split from #110 (second half of #88), piece 1 of 3. On main,
src/live-metrics.tsexists but nothing feeds it. Both of #110's parks were the preview environment failing within seconds of the pull opening, not the change. Pull #244's branch holds a complete attempt that can be reused in part.Done:
Software/so101/src/relay.tsholds oneLiveMetrics, andsrc/arm-link.tsreports each round trip to it (observe("pi_rtt_ms", …)).GET /metrics.promanswerstext/plain; version=0.0.4with the security headers, and the existing JSONGET /metricsis unchanged./metrics.prom.bun x tsc --noEmitandbun --cwd Software/so101 testpass. forge.json is untouched.