class Elasticsearch::Tracer::TracingClient

Public Instance Methods

index(arguments = {}) click to toggle source
Calls superclass method
# File lib/elasticsearch/tracer/tracing_client.rb, line 16
def index(arguments = {})
  # trace this request without tagging the request body
  Thread.current[@transport.object_id.to_s] = true
  super
ensure
  Thread.current[@transport.object_id.to_s] = nil
end