search cancel

MongoDB specific errors in Agent Log - Error formatting Database


Article ID: 214199


Updated On:


APM CA Application Performance Management (APM / Wily / Introscope) DX Application Performance Management


DX APM Agent Ver
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 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 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