Hi - one of our developers has asked me this and I dont' know the answer if anyone can help......
To monitor internal class do I identify using standard directive e.g.
IdentifyClassAs: org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker ……
Thanks for any help.
musma03 Hiko_Davis DavidLewis
Any thoughts or pointers on this?
As long as its exposed to us you could write it as such:
IdentifyClassAs org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker <name of tracer group>
TraceComplexMethods: <name of tracer group> .....
Please let us know soon if Matt's latest response solves the issue or follow-up assistance is required
Since a response has been provided and there are no further action items, I have marked it as "Assumed Answered." I am not sure how long it is going to take to hear back from your developers. If it is going to take a while, we could mark it as Answered and you can unmark it later ,should it not work and you need further assistance.Let me know if that is acceptable.
Please let us know if Matt's answer was sufficient and we can mark this thread as Answered. Or if there are follow-up questions
IdentifyClassAs is for associating a specific class to the specified Tracer Group.
IdentifyClassAs: <class> <Tracer Group>
You want to use one of the following. The first one may open you up to a metrics explosion if you have a lot of methods in the class.
This traces all methods except for constructors () and static initializers () in the specified class. Class name should be fully qualified.
TraceAllMethodsOfClass: <class> <Tracer> "<Investigator Tree Path>"
This traces a specific method in the specified class. Class name should be fully qualified.
TraceOneMethodOfClass: <class> <method> <Tracer> "<Investigator Tree Path>"
OK thanks, we will try that. Thanks again for the quick response.
Thanks Dave I have changed to Answered. Whether if works or not, I know you will add a note about your team's progress :-) And we can take it from there if needed.
OK, thanks for the replies, but its not quite what I was looking for.
The specific class - org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker
has what they are referring to as an "internal" class - its after the dollar sign - AsyncMessageListenerInvoker
So the question is can we define the classname in that format - "org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker"
to work with "IdentifyClassAs" ?
After that we will use "TraceComplexMethods" as the Tracer.
Yes, will do. I have sent this response over to the developers so I will update this post once we have tested it.
No that’s fine, sorry I didn’t get back to you. Hectic morning here !!
Dave Richards | Application Hosting Services APM team
PaaS - Middleware | Infrastructure Services
Tel Number: 03301535505
Barclays| Barclays Technology Centre (Radbroke).
Respect | Integrity | Service | Excellence | Stewardship
Helping people achieve their ambitions – in the right way