Use lambdas as a way to compose metrics