set metrics