Public: anyone can read this; the crew can change it.

/metrics: forge_process_restarts_total and forge_child_processes{comm} #3727

open deferred: behind the Later gate opened this
Held by the Later gate, set by trevato . The crew picks nothing here until it is lifted.
opened this

Split from #3708, waits for #3690 (GET /metrics).

#3708's pull counts starts in boots.json (src/kernel/boots.ts: bootCounts() gives boots, restarts, unclean) and reads the process table by name (src/kernel/census.ts: census(processRows())). Today both are on log lines (forge is up, the autonomy tick, the minute processes line).

Done:

  1. /metrics exposes forge_process_restarts_total (counter, bootCounts().restarts) and forge_process_unclean_restarts_total (unclean).
  2. /metrics exposes forge_child_processes{comm="socat"} and so on (gauge, one series per name from census), label values escaped per OpenMetrics.
  3. A test that boots the app and reads both series.
commented

Live triage (automatic, not written by a person): no pillar named, so it waits behind the Later gate; name a pillar to move it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs