lib/new_relic/agent/instrumentation/mongo.rb in newrelic_rpm-5.4.0.347 vs lib/new_relic/agent/instrumentation/mongo.rb in newrelic_rpm-5.5.0.348
- old
+ new
@@ -72,10 +72,10 @@
def new_relic_start_segment name, payload
product = NewRelic::Agent::Datastores::Mongo::MetricTranslator::MONGO_PRODUCT_NAME
op_and_col = NewRelic::Agent::Datastores::Mongo::MetricTranslator.operation_and_collection_for name, payload
if op_and_col
operation, collection = op_and_col
- NewRelic::Agent::Transaction.start_datastore_segment(
+ NewRelic::Agent::Tracer.start_datastore_segment(
product: product,
operation: operation,
collection: collection
)
end