Merge "Allow metric listeners to use temporary storage for artifacts" into main