QA-105 - adding metrics endpoints and tests