Revamp metrics-ehcache.