766 B
766 B
Metrics
The backend exposes Prometheus text metrics at GET /metrics.
The endpoint is unauthenticated so monitoring systems can scrape it directly. It reports per-process in-memory values:
turniere_http_requests_totalturniere_http_request_duration_secondsturniere_action_cable_connectionsturniere_action_cable_connections_totalturniere_process_uptime_secondsturniere_ruby_threadsturniere_active_record_connection_poolturniere_build_info
This covers app-level request and websocket health. Logs, traces, host metrics, and multi-process aggregation should remain infrastructure concerns. If Puma is ever run with multiple worker processes, scrape each process or container replica and aggregate in the monitoring backend.