Wso2 H2 MetricsDB
Wso2 uses MetricsDB to monitor the useful metrics in wso2 servers. The data stored in the MetricsDB are not critical for the server functionality but the data is very important to analyze the server performance when there is an issue. We can see the metrics and get an idea how the server behaved. Enabling Metrics The metrics feature can be enabled from $CARBON_HOME/repository/conf/metrics.xml by making <Enabled>true</Enabled> . Also we can, use -Dmetrics.enabled=true at the server start up to enable Metrics feature without editing the metrics.xml configuration file. View the Metrics DB in default h2 1. Uncomment the following lines in wso2 carbon.xml located in {Carbon_Home}/repository/conf. <H2DatabaseConfiguration> <property name="web" /> <property name="webPort">8082</property> ...