added internal metric cache that is initialized at application startup
with unlimited lifetime to speed up lookups for metrics on measurement
insert