Module: StatsD::DefaultInstrumentation
- Defined in:
- lib/statsd/default_instrumentation.rb,
lib/statsd/default_instrumentation/railtie.rb,
lib/statsd/default_instrumentation/version.rb
Defined Under Namespace
Modules: VERSION Classes: Railtie
Class Attribute Summary collapse
-
.prefix ⇒ Object
Returns the value of attribute prefix.
Class Method Summary collapse
Class Attribute Details
.prefix ⇒ Object
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/statsd/default_instrumentation.rb', line 6 def prefix @prefix end |
Class Method Details
.detect! ⇒ Object
11 12 13 14 15 16 |
# File 'lib/statsd/default_instrumentation.rb', line 11 def self.detect! require 'statsd/default_instrumentation/action_controller' if defined?(ActionController) require 'statsd/default_instrumentation/memcache-client' if defined?(MemCache) require 'statsd/default_instrumentation/memcached' if defined?(Memcached) require 'statsd/default_instrumentation/redis' if defined?(Redis) end |