AnsweredAssumed Answered

How to toggle tracer group?

Question asked by j_seele on Aug 20, 2012
Latest reply on Aug 21, 2012 by Hiko_Davis
We have an agent that is deployed using the out-of-the-box weblogic-typical.pbl with dynamic probe building enabled. The weblogic-typical.pbl has toggles-typical.pbd in it which has the following tracer group turned off:

#######################
# Threads Configuration
# ================

# TurnOn: ThreadTracing

Our agent installation is shared across hundreds of agents but we have a need to turn on ThreadTracing for a single agent. I know we can change the toggles-typical.pbd file and uncomment the above line to enable it but that would enable it for all of our agents.

My question is... what is the best way to turn on this tracer group for the single agent?

For example, can it be turned on for the single agent by changing it's agent profile to include a custom PBD turning the tracer group on? I thing I don't know is if the TurnOn for a tracer group has to preceed the actual tracer group definition or if it can be after as I have it below:

introscope.autoprobe.directivesFile=weblogic-typical.pbl,hotdeploy,toggle-thread-on.pbd

where toggle-thread-on.pbd:

TurnOn: ThreadTracing

Any help/suggestions are appreciated.

Thanks,
Jon

Outcomes