Fixing support for publishing metrics by cache manager and individual caches