SONAR-4069 Metrics should be instanciated once per batch
  * my previous revert was not complete