I am looking to enable statistics on datasource configuration in Wildfly 8.2.0 FINAL. I am setting attribute statistics-enabled="true" in the datasource configuration in standalone.xml. However when I start the Wildfly server this attribute is overwritten and removed. When I go to the Wildfly admin console and navigate to Runtime tab and Datasources (subsystems) I see that the datasource I configured with statistics-enabled="true" shows up as false under the Statistics Enabled? column.
Below is the datasource configuration I did in standalone.
So it does not enable the Statistics for the datasource. Has anyone faced this issue in enabling the statistics for the datasource in Wildfly 8.2.0. Is there any know issue in Wildfly 8.2.0 in enabling the statistics for datasources?