Add some profiling info to metric logging