*8935* Add option to retrieve statistics adding metric types
Merge pull request #325 from beghelli/8935-fix

*8935* Add option to retrieve statistics adding metric types