SONAR-4069 Restore Metrics as a BatchExtension
    to avoid compatibility issues with plugins