-
Jean Boussier authored
In https://github.com/rails/rails/pull/45796 I overlooked that `ActiveRecord::LogSubscriber#sql` wasn't only logging the SQL query but was also responsible for collecting the `:db_runtime` metric. Ultimately I think it is cleaner to move this concern to `RuntimeRegistry`.
Jean Boussier authoredIn https://github.com/rails/rails/pull/45796 I overlooked that `ActiveRecord::LogSubscriber#sql` wasn't only logging the SQL query but was also responsible for collecting the `:db_runtime` metric. Ultimately I think it is cleaner to move this concern to `RuntimeRegistry`.
Loading