DEV: Track redis calls count in mini profiler (#11088)

DEV: Track redis calls count in mini profiler (#11088)

diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rb
index def1fd4..86baee2 100644
--- a/config/initializers/006-mini_profiler.rb
+++ b/config/initializers/006-mini_profiler.rb
@@ -76,6 +76,7 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
 
   Rack::MiniProfiler.config.backtrace_includes = [/^\/?(app|config|lib|test|plugins)/]
 
+  Rack::MiniProfiler.counter_method(Redis::Client, :call) { 'redis' }
   # Rack::MiniProfiler.counter_method(ActiveRecord::QueryMethods, 'build_arel')
   # Rack::MiniProfiler.counter_method(Array, 'uniq')
   # require "#{Rails.root}/vendor/backports/notification"

GitHub sha: 84a1f157

This commit appears in #11088 which was approved by eviltrout. It was merged by OsamaSayegh.