lib/elastic_apm/spies/mongo.rb in elastic-apm-4.0.0.beta.1 vs lib/elastic_apm/spies/mongo.rb in elastic-apm-4.0.0.beta.2
- old
+ new
@@ -106,12 +106,14 @@
statement: event.command.to_s,
type: 'mongodb',
user: nil
},
destination: {
- name: SUBTYPE,
- resource: SUBTYPE,
- type: TYPE
+ service: {
+ name: SUBTYPE,
+ resource: SUBTYPE,
+ type: TYPE
+ }
}
)
end
end
end