Method: Moped::Collection#indexes_with_oboe

Defined in:
lib/oboe/inst/moped.rb

#indexes_with_oboeObject



431
432
433
434
435
436
437
438
439
# File 'lib/oboe/inst/moped.rb', line 431

def indexes_with_oboe
  return indexes_without_oboe unless Oboe.tracing?

  report_kvs = extract_trace_details(:indexes)

  Oboe::API.trace('mongo', report_kvs) do
    indexes_without_oboe
  end
end