modifying analyer to support shared metrics