do not write headers if there are no metrics