Monitoring classes being used by several applications.

book

Article ID: 32410

calendar_today

Updated On:

Products

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

Issue/Introduction

How do I monitor a class that is used by several applications?

Is there a way to configure the metric name in such a way that we could also see it on the application base?

 

For example:

"Custom Classes|{application}|{classname}

 

Environment

Application Performance Management Agent

Resolution

You can achieve this by using directive {packageandclassname}.

Here is an example:

SetFlag: CustomClasses

TurnOn: CustomClasses

IdentifyMatchingClassesAs: "com.package.*" InstanceCounts

# Trace Complex Methods

TraceComplexMethodsIfFlagged: CustomClasses <tracer-name> "Custom Classes|{packageandclassname}|{method}:Average Response Time (ms)"

TraceComplexMethodsIfFlagged: CustomClasses PerIntervalCounter "Custom Classes|{packageandclassname}|{method}:Invocations per Interval"

TraceComplexMethodsIfFlagged: CustomClasses ConcurrentInvocationCounter "Custom Classes|{packageandclassname}|{method}:Concurrent Invocations"

Additional Information

These below documents may help with your customization:

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1627275.aspx?intcmp=searchresultclick&resultnum=1

www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1919667.aspx?intcmp=searchresultclick&resultnum=2

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1452721.aspx?intcmp=searchresultclick&resultnum=3