Class: Elasticsearch::Tracer::TracingClient
- Inherits:
-
Elasticsearch::Transport::Client
- Object
- Elasticsearch::Transport::Client
- Elasticsearch::Tracer::TracingClient
- Defined in:
- lib/elasticsearch/tracer/tracing_client.rb
Instance Method Summary collapse
Instance Method Details
#index(arguments = {}) ⇒ Object
16 17 18 19 20 21 22 |
# 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 |