Merge "Add atoms to log memory metrics."