MongoDB specific errors in Agent Log - Error formatting Database
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



Component : APM Agents 2.x


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: F123889 - Update the supported MongoDB driver versions for Java Agent


Fixed in SaaS Agent 23.3.04

For PCF environments, use Java Build Packs Buildpack v59.0 as it has the DX APM agent 23.3.04

Additional Information