RequestMetrics provides a base class for attaching per-request counters and timing metrics to Rails controller log lines. Subclass RequestMetrics::Base, declare metrics with metric_accessor, implement #log and .summary_log, and the gem wires everything into ActionController via a Railtie automatically.

Required Ruby Version

>= 3.2.0

Authors

Elia Schito

Versions

  1. 0.1.0 May 25, 2026 (9 KB)

Pushed by

SHA 256 checksum