DX APM Agent Ver 22.214.171.124
MongoDB Version 4
The agent log is populated with the following error, the monitoring appears to be working but the error is of concern
2021-02-23T08:17:16.505+00:00 [APP/PROC/WEB/0] [ERR] 2/23/21 08:17:16 AM UTC [ERROR] [IntroscopeAgent.SpringMongo] Mongo DB might be down, Error formatting Database : Error looking up method getLegacyDb on class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory with parameters
Release : 20.2
Component : APM Agents
The error message is a result of a driver version incompatibility with the APMIA MongoDB monitoring extension invoking Spring Data MongoDB API org.springframework.data.mongodb.MongoDbFactory.getLegacyDb() method that is not supported by the MongoDB version used by the application. Monitoring will still take place but the DB name is not identified and the generic name MongoDB will be used.
AN enhancement has been raised to better handle this situation