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

pull/758/head
Yamagishi Kazutoshi 2018-09-30 07:05:59 +09:00 committed by Eugen Rochko
parent 1e75e74f6b
commit 65f04e6046
1 changed files with 1 additions and 1 deletions

View File

@ -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