rails/guides
Jonathan Hefner 9574a39a7a Add db_runtime to Active Job instrumentation
This adds `:db_runtime` to `perform.active_job` notification payloads,
which is the total time taken by database queries while performing a
job.  This value can be used to better understand how a job's time is
spent.

This is similar to the `:db_runtime` value added to
`process_action.action_controller` notification payloads by
`ActiveRecord::Railties::ControllerRuntime`.

Closes #35354.

Co-authored-by: Cory Gwin <gwincr11@github.com>
2022-05-19 14:09:21 -05:00
..
assets Use the CSS badge for the API docs as well 2022-05-10 21:05:59 +02:00
bug_report_templates No need to check for Ruby version on the bug reports template anymore 2022-01-06 20:50:33 +00:00
rails_guides Fix spelling 2022-03-27 05:19:40 +10:00
source Add db_runtime to Active Job instrumentation 2022-05-19 14:09:21 -05:00
.document
CHANGELOG.md Start Rails 7.1 development 2021-12-07 15:52:30 +00:00
rails_guides.rb Use safe nav operator when calling RailsGuides::Generator.new 2018-12-05 12:41:07 +09:00
Rakefile Run the gem template guides for 3.1 now that 7.0.1 is out 2022-01-06 21:56:06 +00:00
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00