The chemical reactions and pathways involving hydroxylysine (5-hydroxy-2,6-diaminohexanoic acid), a chiral alpha-amino acid. Hydroxylysine is found in collagen and commonly has galactose and then glucose added sequentially by glycosyltransferases.