Class: Instana::Instrumentation::Redis
- Inherits:
-
Object
- Object
- Instana::Instrumentation::Redis
- Defined in:
- lib/instana/instrumentation/redis.rb
Class Method Summary collapse
Class Method Details
.get_host(client) ⇒ Object
4 5 6 |
# File 'lib/instana/instrumentation/redis.rb', line 4 def self.get_host(client) client.host end |
.get_port(client) ⇒ Object
8 9 10 |
# File 'lib/instana/instrumentation/redis.rb', line 8 def self.get_port(client) client.port end |
.pipeline_command(pipeline) ⇒ Object
12 13 14 |
# File 'lib/instana/instrumentation/redis.rb', line 12 def self.pipeline_command(pipeline) pipeline.is_a?(::Redis::Pipeline::Multi) ? 'MULTI' : 'PIPELINE' end |