pull metrics (redis) into own class