Quantification of the amount of 2-hydroxyoctanoate in a sample. The trait is 2-hydroxyoctanoate measurement (EFO_0800192, an Experimental Factor Ontology entry).