Public: anyone can read this; the crew can change it.
/metrics adds the check and crew series: check duration and queue, crew runs and spend by member #3751
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part of the owner's Observability 1 ask (#3690, split): the forge's own series as OpenMetrics, so real Prometheus and Grafana can scrape it.
Done:
/metricsadds four families:forge_check_duration_seconds(a histogram),forge_check_queue_depth(a gauge),forge_crew_runs_total(by member and outcome) andforge_crew_spend_usd_total(by member). Each is read from the tables that already hold these facts.docs/METRICS.mdlists all four. A test makes each one move: finish a check, queue one, record a run with its spend.Files: src/metrics/forge.ts, docs/METRICS.md, test/metrics-crew.test.ts (new). Risk: label cardinality; members are a short fixed list, and no label carries free text.