Enable mediation flow statistics in the
<EI_HOME>/conf/synapse.propertiesfile as shown below.
Code Block language xml
mediation.flow.statistics.enable=true mediation.flow.statistics.tracer.collect.payloads=true mediation.flow.statistics.tracer.collect.properties=true
- Start the Analytics profile of WSO2 EI. For more information, see Starting the Analytics profile.
- Start the ESB profile of WSO2 EI server. For more information, see Running the Productsee Starting the ESB profile.
- Open the JConsole tool and connect to the EI server. For instructions, see Monitoring a WSO2 Product with JConsole in the WSO2 Administration Guide.
- Go to the MBeans tab in the JConsole and navigate to
Mediation Flow Statistic View/MediationFlowStatisticsView/Operationsto view all available operations. In here, you can view JMX statistics relating to proxy services, REST APIs, inbound endpoints, endpoints and sequences.
For example, to view JMX statistics for a proxy service select
getProxyServiceJMXStatisticsfrom the list of operations. Provide the artifact name in p0 field under Composite Data and and click getProxyServiceJMXStatistics button to perform the relevant operation invocation.