about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-09-30 07:05:59 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-09-30 00:05:59 +0200
commit65f04e6046533ecee9412be2d53e3497899fdb57 (patch)
treee4b8078b09fac30182feb195c493ea0ccbe42c14
parent1e75e74f6bea991bc9f48a180af7da0f25598851 (diff)
Fix that Rails.cache information could not be sent via StatsD (#8831)
-rw-r--r--config/initializers/statsd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/statsd.rb b/config/initializers/statsd.rb
index 45702ac94..ce83fd9de 100644
--- a/config/initializers/statsd.rb
+++ b/config/initializers/statsd.rb
@@ -9,7 +9,7 @@ if ENV['STATSD_ADDR'].present?
   ::NSA.inform_statsd(statsd) do |informant|
     informant.collect(:action_controller, :web)
     informant.collect(:active_record, :db)
-    informant.collect(:cache, :cache)
+    informant.collect(:active_support_cache, :cache)
     informant.collect(:sidekiq, :sidekiq)
   end
 end