Track metrics in the writer.