Add metric definitions