added task level metrics and log for console consumer