Fix that Rails.cache information could not be sent via StatsD (#8831)

master
Yamagishi Kazutoshi 6 years ago committed by Eugen Rochko
parent 1e75e74f6b
commit 65f04e6046
  1. 2
      config/initializers/statsd.rb

@ -9,7 +9,7 @@ if ENV['STATSD_ADDR'].present?
::NSA.inform_statsd(statsd) do |informant| ::NSA.inform_statsd(statsd) do |informant|
informant.collect(:action_controller, :web) informant.collect(:action_controller, :web)
informant.collect(:active_record, :db) informant.collect(:active_record, :db)
informant.collect(:cache, :cache) informant.collect(:active_support_cache, :cache)
informant.collect(:sidekiq, :sidekiq) informant.collect(:sidekiq, :sidekiq)
end end
end end

Loading…
Cancel
Save