Add tracing support for metadata notfound