Module: Instana::Instrumentation::DalliRequestHandler
- Defined in:
- lib/instana/instrumentation/dalli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#request(op, *args) ⇒ Object
64 65 66 67 68 69 70 71 |
# File 'lib/instana/instrumentation/dalli.rb', line 64 def request(op, *args) if ::Instana.tracer.tracing? || ::Instana.tracer.tracing_span?(:memcache) info_payload = { :memcache => {} } info_payload[:memcache][:server] = "#{hostname}:#{port}" ::Instana.tracer.log_info(info_payload) end super(op, *args) end |