I'm just dicovering that I can create a custom command for jboss-cli, with
command add ...
Is it a way to create a command for the datasource pool statistics nodes ?
My problem with this node is that it not identified by a proper attribute but by the attribute of its parent node. For example in /subsystem=datasources/data-source=MyDS/statistics=pool, MyDS is the identifier.