Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev