Method is instrumented or not through deep instrumentation
search cancel

Method is instrumented or not through deep instrumentation

book

Article ID: 30425

calendar_today

Updated On:

Products

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

Issue/Introduction

Smart Instrumentation Method Score Level Overview:

Smart instrumentation level that correlates to the score that the Introscope scoring algorithm assigns to a deep visibility component method. Introscope can display deep visibility component methods having varying scores within a transaction trace, error, or stall.  For example, a transaction discovered using medium level can display methods with method level scores of both medium and low.

 

Environment

CA Application Performance Management 10.8 Java Agent release.

Resolution

The following sustainability metrics are available for Smart instrumentation to know if they are instrumented:

  • Total number of methods instrumented by deep instrumentation - appears under

          Agent Stats|Sustainability|DeepTracing:Instrumented Methods Count

  • Total number of methods analyzed for deep instrumentation - appears under

          Agent Stats|Sustainability|DeepTracing:Analyzed Methods Count

  • Average number of components(including deep and regular components) per Transaction - appears under

          Agent Stats|Sustainability|DeepTracing:Average Component Count Per Transaction

  • Average number of deep components per transaction - appears under

          Agent Stats|Sustainability|DeepTracing:Average Deep Component Count Per Transaction

  • Average size of array in bytes per thread used to store deep component data - appears under

          Agent Stats|Sustainability|DeepTracing:Average Component Array Size

Please have in mind that each method has a score and CA Introscope use this score to show this under the transaction trace. Unfortunately there is no option to modify complexity as the deep tracing instrumentation scores the methods based on the value, which is based on the method size, calls to other packages, etc....  

An example of this is:

tokenKindToPropertyKeyMap.put(Integer.valueOf(7),

"introscope.agent.deep.instrumentation.sgnexcp");

tokenKindToPropertyKeyMap.put(Integer.valueOf(17),

"introscope.agent.deep.instrumentation.cghtexcp");

tokenKindToPropertyKeyMap.put(Integer.valueOf(10),

"introscope.agent.deep.instrumentation.sameclassmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(9),

"introscope.agent.deep.instrumentation.custompkgmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(11),

"introscope.agent.deep.instrumentation.samepkgmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(12),

"introscope.agent.deep.instrumentation.diffpfgmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(13),

"introscope.agent.deep.instrumentation.diffrtpfgmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(14),

"introscope.agent.deep.instrumentation.recurmc");

tokenKindToPropertyKeyMap.put(Integer.valueOf(15),

"introscope.agent.deep.instrumentation.bdyexcp");

tokenKindToPropertyKeyMap.put(Integer.valueOf(6),

"introscope.agent.deep.instrumentation.synmethod");

tokenKindToPropertyKeyMap.put(Integer.valueOf(3),

"introscope.agent.deep.instrumentation.pubmethod");

tokenKindToPropertyKeyMap.put(Integer.valueOf(16),

"introscope.agent.deep.instrumentation.switch");

tokenKindToPropertyKeyMap.put(Integer.valueOf(21),

"introscope.agent.deep.instrumentation.synblck");

tokenKindToPropertyKeyMap.put(Integer.valueOf(22),

"introscope.agent.deep.instrumentation.loop");

tokenKindToPropertyKeyMap.put(Integer.valueOf(23),

"introscope.agent.deep.instrumentation.loop");

Additional Information

However there is an internal property that will show you the score of the methods:

introscope.agent.deep.instrumentation.autoprobelog.enabled

This Enables Smart Instrumentation to write to autoprobe logs. Turning this to true lets the users see scores assigned to the methods.

For complete information see:
https://knowledge.broadcom.com/external/article?articleId=30484