Files
rutster/crates
Aaron D. Lee ab4fdb3b2f feat(metrics): hand-rolled Prometheus /metrics on own listener (deploy-C §5.5)
- Add crates/rutster/src/metrics.rs with metrics_router(),
  metrics_handler, and render_prometheus_text().
- Add config::metrics_bind() parser for RUTSTER_METRICS_BIND
  (default 127.0.0.1:9090).
- Spawn the /metrics listener in main.rs on its own tokio task,
  above the TLS/plaintext branch.
- Add integration tests covering the 503 path and the live media
  thread 200 path.
- Emit rutster_event_sink_drops_total only when the sink reports a
  concrete count; omitting the line avoids misleading zero-drops readings.

Signed-off-by: Aaron D. Lee <himself@adlee.work>
2026-07-06 02:16:42 -04:00
..