collectMetrics

Get all metric data for export.