AnsweredAssumed Answered

Custom pbd not picking up all instances of a class

Question asked by JohnGregg on Oct 6, 2010
Latest reply on Feb 7, 2011 by Chris_Hackett
Hi all,

I recently added a custom pbd to monitor a method of a class that is deployed in multiple web apps in the same jvm. Possibly each web app has only one instance of the class, but there are 6 or 8 web apps in the same WebLogic server that use this class. When I deploy the pbd, the metric shows up but only for one of the apps. (I can distinguish between instances by the params, which I'm including in the metric name.) Is there some special config I need in this case? FWIW, each web app has its own copy of the jar file the class is in.

Here is the pbd:

TraceOneMethodWithParametersOfClass: org.apache.axis.transport.http.HTTPSender getSocket BlamePointTracer "Backends|Axis
HTTPSender socket requests|{2}_//{3}_{4}"

The positional params 2, 3, and 4 correspond to protocol, host, and port and works as expected. Judging from the requests per interval recorded, I don't think there's any chance that all instances of this class from all web apps are reporting under the same metric name.

thanks

john

Outcomes