For performance reasons we have to use val instead of def. It allowed because we don't use metricsKey outside of actor (so it's thread safe)