DX Application Performance Management

  • 1.  InstanceCount Monitoring

    Posted Jun 09, 2017 05:04 AM

    Hi,

     

    I need to configure instance count monitoring for a weblogic application.

     

    I checked pbl and noticed InstanceCount is turned ON.

     

    I created a custom PBD and defined

     

    IdentifyMatchingClassesAs: "xx.yy.xx*" InstanceCounts
    TraceAllMethodsIfFlagged: InstanceCounts SimpleInstanceCounter “InstanceCounts|{packageandclassname}:Approximate Instance Count"

     

    Now I can see two nodes with 'InstamceCounts' and 'Instance Count'.

     

    Do I have to mention the package/class name ? Or do I just have to enable InstanceCount in PBL? Seems like duplication? 



  • 2.  Re: InstanceCount Monitoring

    Broadcom Employee
    Posted Jun 09, 2017 08:20 AM

    Before writing custom PBD can you see the instance counts?

     

    Looks like duplication, instance count  and  instamceCounts.(or instanceCounts?)

     

    Usally it displays like, 

    Instance Counts.

     

    Regards
    Sri



  • 3.  Re: InstanceCount Monitoring

    Broadcom Employee
    Posted Jun 09, 2017 02:09 PM

    Dear Geethu:

    Converting to a discussion since about custom instrumentation. Will do what I can to get you a response. In addition to Sri's important question, I had one question:

     

    >I checked pbl and noticed InstanceCount is turned ON.

    What pbl is this? Does the issue go away if turned off,

     

    Hiko_Davis has a great reference that may be of assistance

    Custom Instrumentation with CA APM 

    Thanks

    Hal German



  • 4.  Re: InstanceCount Monitoring

    Broadcom Employee
    Posted Jun 09, 2017 03:08 PM

    Hi,

     

    The InstanceCounts tracer group is created and turned on by the OOTB configuration. The only thing you have to do is tell APM which classes to track. There is an example in java2.pbd:

    #IdentifyClassAs: com.acme.YourClassNameHere InstanceCounts

    #IdentifyInheritedAs: com.acme.YourClassNameHere InstanceCounts

     

    So all you have to do is add the following line to your custom pbd (and either reference it in the introscope.autoprobe.directivesFile property, in a pbl file or put it in the hotdeploy directory):

    IdentifyMatchingClassesAs: "xx.yy.xx*" InstanceCounts

     

    The rest of the configuration is already there and need no be duplicated!

     

    Ciao,

    Guenter