The determination of the amount of cystatin-M in a sample. The trait is Experimental Factor Ontology identifier EFO_0020299 (cystatin-M measurement).