[Java] MongoDB not getting integrated – Application Performance Monitoring
Hi Team,
I have integrated my application with NewRelic, but it is not showing MongoDb database instance.
Getting the below logs :
2022-02-07T13:20:57,082+0530 [1 10] com.newrelic FINEST: ### Considering instrumentation: com.newrelic.instrumentation.mongodb-2.14(null) enabled?null(null)
2022-02-07T13:20:57,086+0530 [1 11] com.newrelic FINER: adding weave package: com.newrelic.instrumentation.mongodb-3.0
2022-02-07T13:20:57,086+0530 [1 13] com.newrelic FINEST: ### Considering instrumentation: com.newrelic.instrumentation.mongodb-3.7(null) enabled?null(null)
2022-02-07T13:20:57,087+0530 [1 11] com.newrelic FINE: registered weave package: com.newrelic.instrumentation.mongodb-3.0
2022-02-07T13:20:57,087+0530 [1 10] com.newrelic FINER: adding weave package: com.newrelic.instrumentation.mongodb-2.14
2022-02-07T13:20:57,087+0530 [1 10] com.newrelic FINE: registered weave package: com.newrelic.instrumentation.mongodb-2.14
2022-02-07T13:20:57,091+0530 [1 13] com.newrelic FINER: adding weave package: com.newrelic.instrumentation.mongodb-3.7
2022-02-07T13:20:57,091+0530 [1 9] com.newrelic FINEST: ### Considering instrumentation: com.newrelic.instrumentation.jdbc-embedded-derby-10.11.1.1(null) enabled?null(null)
2022-02-07T13:20:57,092+0530 [1 13] com.newrelic FINE: registered weave package: com.newrelic.instrumentation.mongodb-3.7
2022-02-07T13:21:00,018+0530 [1 21] com.newrelic FINEST: Skipping instrumentation module com.newrelic.instrumentation.mongodb-3.0. The most likely cause is that com.newrelic.instrumentation.mongodb-3.0 shouldn’t apply to this application.
Versions:
mongo-java-driver : 3.10.0
morphia-core : 1.5.3
New Relic Java agent : 7.4.0
Read more here: Source link