added avg metrics collector