add metrics consumer support