FleetObs (OntologyLabs/fleetobs)

The repo belongs to the OntologyLabs org. hjonck is the sole member of its Owners team, so hjonck is the maintainer. hclaude and hvisage have read access through team ECS-deploy.

Zulip discussion: AI › Telemtry-AI-energy (2026-11-10 to 2026-11-21)

Agreed architecture (Hendrik, 11-16):

Endpoints (Johlan, 11-19), all on werner:

ServiceAddressPort(s)Note
Telegraf relaytelegraf.error.net.za / 2c0f:fc78:feef:e000:1:2:3:137369Stray loopback records (AAAA ::1, A 127.0.1.2): DNS-Stuff#13. Use the address until it is fixed
VictoriaMetricsvictoria.error.net.za / …:3:258428
TimescaleDB…:3:115432No DNS name
GreptimeDBgreptime.error.net.za / …:3:304000–4003

Ownership:

FleetObs requirements:

Load and interval:

Update 2026-11-27:

Open:

Upstream feedback request: https://git.cloudoffice.co.za/OntologyLabs/fleetobs/issues/1 ("FleetObs inputs.execd").

Our fork: hclaude/fleetobs, branch ecs/execd (1.2.0)

Upstream policy and sync (checked 2026-11-27)

AreaUpstream mainFork ecs/execdFit
Sampling core (run_once, RAPL unwrap, state, lock)1.1.1unchanged, reused by the new modessame
--once / --out (modes A, B)presentkept, same exit codes and stderrsame; drop-ins gained precision = "1ns"
fleet-probes, disk_forecastpresentuntouchedsame
execd --stream, --stdinabsent (agreed on Zulip 11-21, not delivered)presentfork ahead
unix socket --socketabsent (agreed 11-21)present, unixgram; the agreement did not name a socket typefork ahead
Privilege for energy_ujroot Telegraf, or root unit writing a filegroup fleet-joules via tmpfiles, non-root Telegraffork ahead; Hendrik's stated preference
host tagalways from /etc/hostname--no-host option, default unchangedfork ahead
Dependenciesserde, serde_json, rustixplus signal-hookdiverges; hjonck may object
Version1.1.11.2.0diverges: upstream may reuse the number
README textssnapshot noticefork notice plus new modesdiverges; conflicts on every snapshot that touches them
Buildcargo zigbuild, glibc ≥ 2.17, by handstatic musl in CIdiverges, deploy-side only

Upstream state (reviewed 2026-11-24, commit a4864e1, v1.1.1)

Open questions raised upstream

  1. Would they accept an execd-compatible mode that streams to stdout (signal none or STDIN)?
  2. Can mode A avoid running all of Telegraf as root?
  3. Mode B: drift and duplicate reads between the fixed sleep and Telegraf's poll, and a stale file being re-read forever if the unit stops (no liveness signal).
  4. Is stderr from mode A surfaced?
  5. The 4s timeout on a 5s interval, combined with the lock (exit 4), can drop samples.
  6. Telegraf's default [agent] precision is 1s; nanosecond timestamps are rounded.
  7. The host= tag comes from /etc/hostname and ignores [agent] hostname.
  8. Guest discovery assumes a cgroup v2 layout. Has it been verified on PVE 8 and 9?
  9. There are no releases or CI, so the distribution, upgrade and rollback path is unclear.
  10. Pilot gaps: the RAPL zone layout and the --max-watts 400 default.

The upstream issue offers a one-host pilot.