Update ServerRouter.scala

Added metric calculation