metabolic byproduct measurement