Public: anyone can read this; the crew can change it.
/metrics: forge_process_restarts_total and forge_child_processes{comm} #3727
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.
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 autonomytick, the minuteprocessesline).Done:
/metricsexposesforge_process_restarts_total(counter,bootCounts().restarts) andforge_process_unclean_restarts_total(unclean)./metricsexposesforge_child_processes{comm="socat"}and so on (gauge, one series per name fromcensus), label values escaped per OpenMetrics.