AJ-1573 Create metrics inline