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

book

Article ID: 6843

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

 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"