1
0
Fork 0
forked from fedi/mastodon

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

This commit is contained in:
Yamagishi Kazutoshi 2018-09-30 07:05:59 +09:00 committed by Eugen Rochko
parent 1e75e74f6b
commit 65f04e6046

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