Could I suggest the following? Your call on which version to use:
```scala
servicesMetrics.get(service) getOrElse {
  val stats = new ServiceMetrics(service.name)
  servicesMetrics += (service -> stats)
  stats
}
```