Clone
Jeff Mesnil <jmesnil@gmail.com>
committed
on 03 Dec 18
[WFLY-11471] Add expressions to enable statistics
* Add expressions to the features that provides statistics to enable
them using System pro… Show more
[WFLY-11471] Add expressions to enable statistics

* Add expressions to the features that provides statistics to enable

them using System properties

 * wildfly.statistics-enabled - Enable all statistics

 * wildfly.undertow.statistics-enabled - Enable Undertow statistics

 * wildfly.transactions.statistics-enabled - Enable Transactions

   statistics

 * wildfly.messaging-activemq.statistics-enabled - Enable Artemis

   statistics

 * wildfly.datasources.statistics-enabled - Enable Datasource

   statistics

The specific system properties (e.g.

wildfly.undertow.statistics-enabled) have precedence over the general

one (wildfly.statistics-enabled).

By default, these expressions resolves to false.

These expressions only applies to resources defined in the shipped

profiles. If a new datasource resource is created, its

`statistics-enabled` attribute will not be set to this expression.

* Update legacy subsystem-templates (to keep them in sync)

JIRA: https://issues.jboss.org/browse/WFLY-11471

Show less

master + 5 more