CTG Server - No metrics
search cancel

CTG Server - No metrics

book

Article ID: 129206

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

We have installed the CTG server agent as explained in documentation. I the investigatr it only reports GC and few other metrics we are not getting any CTG server metrics

In the logs it reports:

3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Introscope AutoProbe will not run because the provided directives files are not valid: Can't proceed because (/CA/WILY/core/config/PPCTGServer-full.pbd:70) the specified tracer class "MethodTraceDecrementor" is invalid.
3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Failed to load extensions bundles PBDs
3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Unable to instantiate class com.wily.introscope.autoprobe.AutoProbeTransformer

Environment

Release:
Component: APMAGT

Cause

The problem is due to the fact that in the combination of directive files  specified the MethodTraceIncrementor is not mapped to a class.

That mapping is done in the required.pbd

The documentation does show in the example that required.pbd should be at in the property value

https://docops.ca.com/ca-apm/10-7/en/implementing-agents/java-agent/java-agent-extensions/ibm-cics-transaction-gateway/install-extension-for-ctg#InstallExtensionforCTG-EnabletheCTGClientCodeonWebSphere

introscope.autoprobe.directivesFile=<list of existing PBDs>,PPCTGClientHC-full.pbd,PPCTGServerHC-full.pbd,required.pbd

 

Resolution

Modify the agent profile property value from

introscope.autoprobe.directivesFile=PPCTGServer-full.pbd,hotdeploy

to

introscope.autoprobe.directivesFile=PPCTGServer-full.pbd,required.pbd,hotdeploy