rails_server_timings
rails_server_timings copied to clipboard
How to add more stats into the value?
Thanks for writing this gem
I only see db & view on the new header now
And I want to know if there is a way to add more stats to it (like caching or other stuff)
It uses the values returned by the ActiveSupport::Notifications Instrumentation API. I think the best overview of that is still Instrument Anything in Rails.
In particular, anything in the ActionController event payload that ends with _runtime will be returned in the header.
Thanks Maybe worth putting this info in README?