DX Application Performance Management

  • 1.  Gathering JMX metrics without an app server

    Posted Jun 13, 2011 04:04 PM
    Hi all,

    My application is a mix of wars deployed in WebLogic and standalone Coherence cache nodes (not in WebLogic.) I want Wily to record Coherence JMX metrics. I can't get Wily to see the JMX metrics for the standalone nodes. Initially I had Coherence configured to replicate all metrics across all nodes. In other words, if I had 10 nodes in my cluster, I could see JMX metrics for all 10 of them under any 1 of them. As you can imagine, this produced a high explosion in the volume of metrics. What I really want is for the Coherence metrics to "stay home." that is, I want to look in Wily and see Coherence JMS metrics for node 1 under node 1, for node 2 under node 2, etc. I know how to stop Coherence from replicated its metrics all over the place, but I don't know how to get Wily to see the metrics in the standalone (non-WebLogic) nodes. In fact, I don't have any JMX node at all in the investigator. Here is my configuration:
    introscope.agent.jmx.enable=true
    introscope.agent.jmx.name.jsr77.disable=true
    introscope.agent.jmx.name.primarykeys=Type,Name,type,name,nodeId
    introscope.agent.jmx.name.filter=...
    #introscope.agent.jmx.ignore.attributes=server 
    introscope.agent.jmx.excludeStringMetrics=true
    This works great for WebLogic and the Coherence metrics that are in it. (The web apps in WebLogic are Coherence clients, so there are Coherence metrics in WL, too.)

    I've also tried introscope.agent.jmx.name.jsr77.disable=false but it didn't help. Like I said, I see no JMX metrics collected by Wily at all on the Coherence standalone nodes. I know there are metrics collected in those JVMs because I can see them with JConsole.

    Here is the relevant part of my startup script so you can see what I mean by "standalone" node:
    java <a bunch of params> -classpath <classpath> com.tangosol.net.DefaultCacheServer
    I need to know what Wily expects in order to collect metrics from that node. The Agent is deployed and configured; I just can't see JMX metrics.

    thanks


  • 2.  RE: Gathering JMX metrics without an app server

    Posted Sep 23, 2012 01:29 PM
    Hi,
    Did you succeed in retrieving JMX metrics for standalone cache nodes ?
    One thing to try is to activate the system property :
    -Dtangosol.coherence.management=local-only
    thx for your feedback, as I have a similar problem with a coherence MBean node.


  • 3.  RE: Gathering JMX metrics without an app server
    Best Answer

    Posted Oct 18, 2012 05:45 PM
    as i have told in other thread copy webappsupport.jar to the ext directory of the agent and start it. you will have what you are looking for