DX Application Performance Management

  • 1.  Monitoring pools

    Posted Aug 27, 2010 05:58 PM
    Hi all,

    I'm trying to use Wily to add some monitoring to commons-httpclient. In particular, I want to know the maximum number of threads waiting for a connection and how long they're waiting. While it might not be possible to monitor the actual time spent waiting, I've hacked up a pair of incrementors and decrementors that attempt to track the number of threads in the "doGetConnection" method. The number that gets reported to Wily, however, is always 0, I think because at the end of the interval, if no threads are in that method at that moment, the count is 0. What I really want is a high-water mark per interval. Is such a thing possible?

    thanks


  • 2.  RE: Monitoring pools

     
    Posted Aug 30, 2010 03:09 PM
    Hi All,

    Any input here for John? You may want to also check in with Support as well.

    Thanks!
    Chris


  • 3.  RE: Monitoring pools

    Posted Aug 30, 2010 05:26 PM
    I switched to using a single BlamePointTracer. While it doesn't exactly give the high-water mark behavior that I wanted, it works well enough and allows me to correlate responses per interval with response time.

    thanks


  • 4.  RE: Monitoring pools

    Broadcom Employee
    Posted Aug 30, 2010 05:37 PM
      |   view attached
    There are a number of different tracers that can used besides BlamePointTracer.
    I'm attaching the currently supported tracers.

    If you can expose JMX, there is an MBean that will give you the high water metric you're looking for.

    -Hiko


  • 5.  RE: Monitoring pools

    Posted Aug 30, 2010 05:48 PM
    Thanks Hiko.

    I'm familiar with that document. Do you think there is another tracer that would make more sense? The combination of responses, concurrent requests, and response time is nice.

    What is the name of the mbean that will give me the high-water mark? Is there some documentation I should look at?

    thanks


  • 6.  RE: Monitoring pools

    Broadcom Employee
    Posted Aug 30, 2010 06:03 PM
    John,
    What does your application tiers consist of (web server, app server, etc)?


  • 7.  RE: Monitoring pools
    Best Answer

    Broadcom Employee
    Posted Sep 29, 2010 07:04 PM
    John,
    The high water mark metric is called WebAppComponentRuntimeMBean|OpenSessionsHighCount. You can see the documentation online at Oracle's MBean Reference site (http://download.oracle.com/docs/cd/E11035_01/wls100/wlsmbeanref/core/index.html).

    I hope this is what you're looking for.

    Sorry for the long delay; I really should keep up with my posts!

    -Hiko


  • 8.  RE: Monitoring pools

    Posted Aug 30, 2010 09:45 PM
    I user the following to monitor HTTP Commons calls

    TraceOneMethodOfClass: org.apache.commons.httpclient.HttpClient executeMethod BackendMarker "ORM|HTTPCall|{classname}|{method}"