Add new metrics on sonar templates