Updated metrics script to add YAML stats
Added consumer ref formater