lib/elastic_apm/spies/mongo.rb in elastic-apm-3.3.0 vs lib/elastic_apm/spies/mongo.rb in elastic-apm-3.4.0

- old
+ new

@@ -79,9 +79,14 @@ db: { instance: event.database_name, statement: event.command.to_s, type: 'mongodb', user: nil + }, + destination: { + name: SUBTYPE, + resource: SUBTYPE, + type: TYPE } ) end end end