Module: RCI
- Defined in:
- lib/rci.rb,
lib/rci/version.rb,
lib/rci/commands.rb,
lib/rci/instrumentation.rb
Defined Under Namespace
Modules: Commands, Instrumentation
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.attach_instrumentation_to(redis) ⇒ Object
11
12
13
14
|
# File 'lib/rci.rb', line 11
def self.attach_instrumentation_to(redis)
discover_commands(redis)
redis.client.singleton_class.send(:prepend, RCI::Instrumentation)
end
|
.setup(redis) ⇒ Object
6
7
8
9
|
# File 'lib/rci.rb', line 6
def self.setup(redis)
discover_commands(redis)
attach_instrumentation!
end
|