Getting negative metric values for 'Tomcat|DBCP|Connection Pool : Connection In Use.'

Document ID : KB000006843
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

 User seeing negative metric values for 'Tomcat|DBCP|Connection Pool : Connection In Use' in Workstation or Webview.

Environment:
All APM Tomcat Agent versions
Resolution:

 Add the following to the tomcat.pbd file:

 TraceOneMethodIfFlagged: DBCPTracing getConnection MethodTraceIncrementor "Tomcat|DBCP|Connection Pool:Connections In Use"