Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enable mediation flow statistics in the <ESB_HOME>/repository/conf/synapse.properties file as shown below.

    Code Block
    languagexml
    mediation.flow.statistics.enable=true
    mediation.flow.statistics.tracer.collect.payloads=true
    mediation.flow.statistics.tracer.collect.properties=true
  2. Start the WSO2 ESB server. For more information, see Running the Product.
  3. Open the J Console in your computer JConsole tool and connect to the ESB server. For instructions see Monitoring a WSO2 Product with JConsole in the WSO2 Administration Guide. 
  4. Navigate to org.apache.synapse => Mediation Flow Statistics View => Operation. Click on the required ESB artifact and do the relevant operation invocation. JMX statistics relating to proxy services, REST APIs, inbound endpoints, endpoints and sequences can be viewed as shown in the examples below.
    • JMX statistics for a proxy service
       
    • JMX statistics for a REST API
       

...