metrics for the processed and failed message types