added measurement storage in redis