error control in metrics