Add instrumentation to MetadataCache