fn read_measurements(ctx: &mut Context<'_>) -> Measurements