Add metric-related tasks