Feature/fix resourcereport metrics

gauge for resource metrics instead of counters and a small bug-fix.